##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QTime.h
50 lines | 2.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTIME_H
#define PYTHONQTWRAPPER_QTIME_H
#include <qdatetime.h>
#include <QObject>
#include <PythonQt.h>
#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);
QTime* new_QTime(const QTime& other) {
QTime* a = new QTime();
*((QTime*)a) = other;
return a; }
void delete_QTime(QTime* obj) { delete obj; }
bool setHMS(QTime* theWrappedObject, int h, int m, int s, int ms = 0);
void readFrom(QTime* theWrappedObject, QDataStream& arg__1);
int minute(QTime* theWrappedObject) const;
QTime static_QTime_fromString(const QString& s, const QString& format);
void writeTo(QTime* theWrappedObject, QDataStream& arg__1);
QTime addMSecs(QTime* theWrappedObject, int ms) const;
bool operator_equal(QTime* theWrappedObject, const QTime& other) const;
bool static_QTime_isValid(int h, int m, int s, int ms = 0);
QTime static_QTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate);
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;
QString toString(QTime* theWrappedObject, const QString& format) const;
int secsTo(QTime* theWrappedObject, const QTime& arg__1) const;
QString toString(QTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const;
int msec(QTime* theWrappedObject) const;
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;
};
#endif // PYTHONQTWRAPPER_QTIME_H