summaryrefslogtreecommitdiff
path: root/RestrictedSpinBox.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /RestrictedSpinBox.hpp
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'RestrictedSpinBox.hpp')
-rw-r--r--RestrictedSpinBox.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/RestrictedSpinBox.hpp b/RestrictedSpinBox.hpp
deleted file mode 100644
index f856e90c..00000000
--- a/RestrictedSpinBox.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#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;
-};
-
-#endif