diff options
author | 2020-12-15 15:43:06 +0100 | |
---|---|---|
committer | 2020-12-17 13:03:56 -0800 | |
commit | cc5ebd741486c3231b50974959de2f5d842b8fa5 (patch) | |
tree | 8ef11506ff3f65956bc32025c8cf6438305ea822 /core/subsurface-qt/cylinderobjecthelper.h | |
parent | ae182c386b0b1b58ab25fc1fbc18c3618062e57f (diff) | |
download | subsurface-cc5ebd741486c3231b50974959de2f5d842b8fa5.tar.gz |
printing: remove CylinderObjectHelper
With the removal of grantlee, this became pointless glue
code. Call the formatting functions directly.
Since the printing code was the only user of CylinderObjectHelper,
remove the whole thing.
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, 0 insertions, 29 deletions
diff --git a/core/subsurface-qt/cylinderobjecthelper.h b/core/subsurface-qt/cylinderobjecthelper.h deleted file mode 100644 index e1e2490e4..000000000 --- a/core/subsurface-qt/cylinderobjecthelper.h +++ /dev/null @@ -1,29 +0,0 @@ -// 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 |