summaryrefslogtreecommitdiff
path: root/widgets/LettersSpinBox.hpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
committerChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
commit2d1068e60bce7ae1fff11623454900e8cee956b1 (patch)
treeacebe276e30466ef0ab91bc3da5e379bec0d7dc5 /widgets/LettersSpinBox.hpp
parent43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff)
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'widgets/LettersSpinBox.hpp')
-rwxr-xr-xwidgets/LettersSpinBox.hpp62
1 files changed, 31 insertions, 31 deletions
diff --git a/widgets/LettersSpinBox.hpp b/widgets/LettersSpinBox.hpp
index aaa37d7f..031ab7f1 100755
--- a/widgets/LettersSpinBox.hpp
+++ b/widgets/LettersSpinBox.hpp
@@ -1,31 +1,31 @@
-#ifndef LETTERS_SPIN_BOX_HPP_
-#define LETTERS_SPIN_BOX_HPP_
-
-#include <QSpinBox>
-
-class QString;
-
-//
-// LettersSpinBox - select from consecutive letters
-//
-class LettersSpinBox final
- : public QSpinBox
-{
- Q_OBJECT
- Q_PROPERTY (bool lowercase MEMBER lowercase_)
-
-public:
- LettersSpinBox (QWidget * parent = nullptr)
- : QSpinBox {parent}
- , lowercase_ {false}
- {
- }
-
- QString textFromValue (int) const override;
- int valueFromText (QString const&) const override;
-
-private:
- bool lowercase_;
-};
-
-#endif
+#ifndef LETTERS_SPIN_BOX_HPP_
+#define LETTERS_SPIN_BOX_HPP_
+
+#include <QSpinBox>
+
+class QString;
+
+//
+// LettersSpinBox - select from consecutive letters
+//
+class LettersSpinBox final
+ : public QSpinBox
+{
+ Q_OBJECT
+ Q_PROPERTY (bool lowercase MEMBER lowercase_)
+
+public:
+ LettersSpinBox (QWidget * parent = nullptr)
+ : QSpinBox {parent}
+ , lowercase_ {false}
+ {
+ }
+
+ QString textFromValue (int) const override;
+ int valueFromText (QString const&) const override;
+
+private:
+ bool lowercase_;
+};
+
+#endif