##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QRegExpValidator.h
52 lines | 1.8 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QREGEXPVALIDATOR_H
#define PYTHONQTWRAPPER_QREGEXPVALIDATOR_H
#include <qvalidator.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qregexp.h>
#include <qvalidator.h>
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; }
QValidator::State validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const;
const QRegExp& regExp(QRegExpValidator* theWrappedObject) const;
void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx);
};
#endif // PYTHONQTWRAPPER_QREGEXPVALIDATOR_H