#ifndef PYTHONQTWRAPPER_QINTVALIDATOR_H #define PYTHONQTWRAPPER_QINTVALIDATOR_H #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QIntValidator : public QIntValidator { public: PythonQtShell_QIntValidator(QObject* parent):QIntValidator(parent),_wrapper(NULL) {}; PythonQtShell_QIntValidator(int bottom, int top, QObject* parent):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void fixup(QString& arg__1) const; virtual void setRange(int bottom, int top); virtual void timerEvent(QTimerEvent* arg__1); virtual QValidator::State validate(QString& arg__1, int& arg__2) const; PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QIntValidator : public QIntValidator { public: inline void promoted_setRange(int bottom, int top) { QIntValidator::setRange(bottom, top); } inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QIntValidator::validate(arg__1, arg__2); } }; class PythonQtWrapper_QIntValidator : public QObject { Q_OBJECT public: public slots: QIntValidator* new_QIntValidator(QObject* parent); QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent); void delete_QIntValidator(QIntValidator* obj) { delete obj; } void setRange(QIntValidator* theWrappedObject, int bottom, int top); QValidator::State validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const; int top(QIntValidator* theWrappedObject) const; void setTop(QIntValidator* theWrappedObject, int arg__1); int bottom(QIntValidator* theWrappedObject) const; void setBottom(QIntValidator* theWrappedObject, int arg__1); }; #endif // PYTHONQTWRAPPER_QINTVALIDATOR_H