##// 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_QIntValidator.cpp
48 lines | 1.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QIntValidator.h"
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qlocale.h>
#include <qobject.h>
#include <qvalidator.h>
QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(QObject* parent)
{
return new QIntValidator(parent); }
QIntValidator* PythonQtWrapper_QIntValidator::new_QIntValidator(int bottom, int top, QObject* parent)
{
return new QIntValidator(bottom, top, parent); }
int PythonQtWrapper_QIntValidator::bottom(QIntValidator* theWrappedObject) const
{
return theWrappedObject->bottom();
}
void PythonQtWrapper_QIntValidator::setBottom(QIntValidator* theWrappedObject, int arg__1)
{
theWrappedObject->setBottom(arg__1);
}
void PythonQtWrapper_QIntValidator::setRange(QIntValidator* theWrappedObject, int bottom, int top)
{
theWrappedObject->setRange(bottom, top);
}
void PythonQtWrapper_QIntValidator::setTop(QIntValidator* theWrappedObject, int arg__1)
{
theWrappedObject->setTop(arg__1);
}
int PythonQtWrapper_QIntValidator::top(QIntValidator* theWrappedObject) const
{
return theWrappedObject->top();
}
QValidator::State PythonQtWrapper_QIntValidator::validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const
{
return theWrappedObject->validate(arg__1, arg__2);
}