##// 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_QTime.h
50 lines | 2.0 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTIME_H
#define PYTHONQTWRAPPER_QTIME_H
#include <qdatetime.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qdatastream.h>
#include <qdatetime.h>
class PythonQtWrapper_QTime : public QObject
{ Q_OBJECT
public:
public slots:
QTime* new_QTime();
QTime* new_QTime(int h, int m, int s = 0, int ms = 0);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTime* new_QTime(const QTime& other) {
QTime* a = new QTime();
*((QTime*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QTime(QTime* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool setHMS(QTime* theWrappedObject, int h, int m, int s, int ms = 0);
florianlink
upgraded wrappers to current generator version...
r28 void readFrom(QTime* theWrappedObject, QDataStream& arg__1);
int minute(QTime* theWrappedObject) const;
QTime static_QTime_fromString(const QString& s, const QString& format);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void writeTo(QTime* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 QTime addMSecs(QTime* theWrappedObject, int ms) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool operator_equal(QTime* theWrappedObject, const QTime& other) const;
florianlink
upgraded wrappers to current generator version...
r28 bool static_QTime_isValid(int h, int m, int s, int ms = 0);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTime static_QTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate);
florianlink
upgraded wrappers to current generator version...
r28 bool isValid(QTime* theWrappedObject) const;
void start(QTime* theWrappedObject);
int msecsTo(QTime* theWrappedObject, const QTime& arg__1) const;
int hour(QTime* theWrappedObject) const;
int elapsed(QTime* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString toString(QTime* theWrappedObject, const QString& format) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int secsTo(QTime* theWrappedObject, const QTime& arg__1) const;
florianlink
upgraded wrappers to current generator version...
r28 QString toString(QTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int msec(QTime* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int restart(QTime* theWrappedObject);
QTime addSecs(QTime* theWrappedObject, int secs) const;
QTime static_QTime_currentTime();
bool operator_less(QTime* theWrappedObject, const QTime& other) const;
bool isNull(QTime* theWrappedObject) const;
int second(QTime* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTIME_H