Changeset 7721 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include/QIWidgetValidator.h
- Timestamp:
- Apr 3, 2008 12:49:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/QIWidgetValidator.h
r7220 r7721 22 22 #include <limits.h> 23 23 24 #include <qobject.h> 25 #include <qvalidator.h> 26 #include <q3valuelist.h> 24 /* Qt includes */ 25 #include <QObject> 26 #include <QValidator> 27 #include <QList> 27 28 28 29 class QIWidgetValidator : public QObject … … 32 33 public: 33 34 34 QIWidgetValidator (QWidget *aWidget, QObject *aParent = 0, 35 const char *aName = 0); 35 QIWidgetValidator (QWidget *aWidget, QObject *aParent = 0); 36 36 QIWidgetValidator (const QString &aCaption, 37 QWidget *aWidget, QObject *aParent = 0, 38 const char *aName = 0); 37 QWidget *aWidget, QObject *aParent = 0); 39 38 ~QIWidgetValidator(); 40 39 … … 74 73 }; 75 74 76 Q 3ValueList <Watched> mWatched;75 QList <Watched> mWatched; 77 76 Watched mLastInvalid; 78 77 … … 86 85 public: 87 86 88 QIULongValidator (QObject *aParent , const char *aName = 0)87 QIULongValidator (QObject *aParent) 89 88 : QValidator (aParent) 90 89 , mBottom (0), mTop (ULONG_MAX) {} 91 90 92 91 QIULongValidator (ulong aMinimum, ulong aMaximum, 93 QObject *aParent , const char *aName = 0)92 QObject *aParent) 94 93 : QValidator (aParent) 95 94 , mBottom (aMinimum), mTop (aMaximum) {}
Note:
See TracChangeset
for help on using the changeset viewer.