VirtualBox

Ignore:
Timestamp:
Apr 3, 2008 12:49:30 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Ported several classes from qt3 to qt4 and some minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/QIWidgetValidator.h

    r7220 r7721  
    2222#include <limits.h>
    2323
    24 #include <qobject.h>
    25 #include <qvalidator.h>
    26 #include <q3valuelist.h>
     24/* Qt includes */
     25#include <QObject>
     26#include <QValidator>
     27#include <QList>
    2728
    2829class QIWidgetValidator : public QObject
     
    3233public:
    3334
    34     QIWidgetValidator (QWidget *aWidget, QObject *aParent = 0,
    35                        const char *aName = 0);
     35    QIWidgetValidator (QWidget *aWidget, QObject *aParent = 0);
    3636    QIWidgetValidator (const QString &aCaption,
    37                        QWidget *aWidget, QObject *aParent = 0,
    38                        const char *aName = 0);
     37                       QWidget *aWidget, QObject *aParent = 0);
    3938    ~QIWidgetValidator();
    4039
     
    7473    };
    7574
    76     Q3ValueList <Watched> mWatched;
     75    QList <Watched> mWatched;
    7776    Watched mLastInvalid;
    7877
     
    8685public:
    8786
    88     QIULongValidator (QObject *aParent, const char *aName = 0)
     87    QIULongValidator (QObject *aParent)
    8988        : QValidator (aParent)
    9089        , mBottom (0), mTop (ULONG_MAX) {}
    9190
    9291    QIULongValidator (ulong aMinimum, ulong aMaximum,
    93                       QObject *aParent, const char *aName = 0)
     92                      QObject *aParent)
    9493        : QValidator (aParent)
    9594        , mBottom (aMinimum), mTop (aMaximum) {}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette