#ifndef PYTHONQTWRAPPER_QREGEXPVALIDATOR_H #define PYTHONQTWRAPPER_QREGEXPVALIDATOR_H #include #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QRegExpValidator : public QRegExpValidator { public: PythonQtShell_QRegExpValidator(QObject* parent):QRegExpValidator(parent),_wrapper(NULL) {}; PythonQtShell_QRegExpValidator(const QRegExp& rx, QObject* parent):QRegExpValidator(rx, 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 timerEvent(QTimerEvent* arg__1); virtual QValidator::State validate(QString& input, int& pos) const; PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QRegExpValidator : public QRegExpValidator { public: inline QValidator::State promoted_validate(QString& input, int& pos) const { return QRegExpValidator::validate(input, pos); } }; class PythonQtWrapper_QRegExpValidator : public QObject { Q_OBJECT public: public slots: QRegExpValidator* new_QRegExpValidator(QObject* parent); QRegExpValidator* new_QRegExpValidator(const QRegExp& rx, QObject* parent); void delete_QRegExpValidator(QRegExpValidator* obj) { delete obj; } const QRegExp* regExp(QRegExpValidator* theWrappedObject) const; QValidator::State validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const; void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx); }; #endif // PYTHONQTWRAPPER_QREGEXPVALIDATOR_H