diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-03 19:33:06 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-04 02:16:46 +0100 |
commit | 9ed886e4bea6c88a427a8fce50e2cb226d24afcc (patch) | |
tree | 902baf216598e4002204a8fa033e109909d0ab2f /core/subsurface-qt/cylinderobjecthelper.h | |
parent | 3ad1a5c7c77f7aa9e703e1f977c739a0ea1e5a54 (diff) | |
download | subsurface-9ed886e4bea6c88a427a8fce50e2cb226d24afcc.tar.gz |
Cleanup: lower-case filenames in core/subsurface-qt/
We tend to use lower-case filenames. Let's do it for these files
as well. Simple search & replace.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt/cylinderobjecthelper.h')
-rw-r--r-- | core/subsurface-qt/cylinderobjecthelper.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/core/subsurface-qt/cylinderobjecthelper.h b/core/subsurface-qt/cylinderobjecthelper.h new file mode 100644 index 000000000..e1e2490e4 --- /dev/null +++ b/core/subsurface-qt/cylinderobjecthelper.h @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef CYLINDER_QOBJECT_H +#define CYLINDER_QOBJECT_H + +#include "../equipment.h" +#include <QObject> +#include <QString> + +class CylinderObjectHelper { + Q_GADGET + Q_PROPERTY(QString description MEMBER description CONSTANT) + Q_PROPERTY(QString size MEMBER size CONSTANT) + Q_PROPERTY(QString workingPressure MEMBER workingPressure CONSTANT) + Q_PROPERTY(QString startPressure MEMBER startPressure CONSTANT) + Q_PROPERTY(QString endPressure MEMBER endPressure CONSTANT) + Q_PROPERTY(QString gasMix MEMBER gasMix CONSTANT) +public: + CylinderObjectHelper(const cylinder_t *cylinder = NULL); + QString description; + QString size; + QString workingPressure; + QString startPressure; + QString endPressure; + QString gasMix; +}; + +Q_DECLARE_METATYPE(CylinderObjectHelper) + +#endif |