summaryrefslogtreecommitdiff
path: root/widgets/RestrictedSpinBox.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /widgets/RestrictedSpinBox.hpp
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'widgets/RestrictedSpinBox.hpp')
-rwxr-xr-xwidgets/RestrictedSpinBox.hpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/widgets/RestrictedSpinBox.hpp b/widgets/RestrictedSpinBox.hpp
index e984c377..32956fa8 100755
--- a/widgets/RestrictedSpinBox.hpp
+++ b/widgets/RestrictedSpinBox.hpp
@@ -1,26 +1,26 @@
-#ifndef RESTRICTED_SPIN_BOX_HPP_
-#define RESTRICTED_SPIN_BOX_HPP_
-
-#include "HintedSpinBox.hpp"
-
-class QString;
-
-//
-// RestrictedSpinBox - select only from a sequence of values
-//
-class RestrictedSpinBox final
- : public HintedSpinBox
-{
-public:
- RestrictedSpinBox (QWidget * parent = nullptr)
- : HintedSpinBox {parent}
- {
- }
-
-protected:
- // override the base class validation
- QValidator::State validate (QString& input, int& pos) const override;
- void fixup (QString& input) const override;
-};
-
-#endif
+#ifndef RESTRICTED_SPIN_BOX_HPP_
+#define RESTRICTED_SPIN_BOX_HPP_
+
+#include "HintedSpinBox.hpp"
+
+class QString;
+
+//
+// RestrictedSpinBox - select only from a sequence of values
+//
+class RestrictedSpinBox final
+ : public HintedSpinBox
+{
+public:
+ RestrictedSpinBox (QWidget * parent = nullptr)
+ : HintedSpinBox {parent}
+ {
+ }
+
+protected:
+ // override the base class validation
+ QValidator::State validate (QString& input, int& pos) const override;
+ void fixup (QString& input) const override;
+};
+
+#endif