##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QRegExpValidator.h
28 lines | 895 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QREGEXPVALIDATOR_H
#define PYTHONQTWRAPPER_QREGEXPVALIDATOR_H
#include <qvalidator.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qregexp.h>
#include <qvalidator.h>
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;
void setRegExp(QRegExpValidator* theWrappedObject, const QRegExp& rx);
QValidator::State validate(QRegExpValidator* theWrappedObject, QString& input, int& pos) const;
};
#endif // PYTHONQTWRAPPER_QREGEXPVALIDATOR_H