##// 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_QDateTime.h
56 lines | 2.8 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QDATETIME_H
#define PYTHONQTWRAPPER_QDATETIME_H
#include <qdatetime.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdatastream.h>
#include <qdatetime.h>
class PythonQtWrapper_QDateTime : public QObject
{ Q_OBJECT
public:
public slots:
QDateTime* new_QDateTime();
QDateTime* new_QDateTime(const QDate& arg__1);
QDateTime* new_QDateTime(const QDate& arg__1, const QTime& arg__2, Qt::TimeSpec spec = Qt::LocalTime);
QDateTime* new_QDateTime(const QDateTime& other);
void delete_QDateTime(QDateTime* obj) { delete obj; }
void readFrom(QDateTime* theWrappedObject, QDataStream& arg__1);
QDateTime static_QDateTime_fromString(const QString& s, const QString& format);
void setTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec);
QDateTime addYears(QDateTime* theWrappedObject, int years) const;
void writeTo(QDateTime* theWrappedObject, QDataStream& arg__1);
bool operator_equal(QDateTime* theWrappedObject, const QDateTime& other) const;
int utcOffset(QDateTime* theWrappedObject) const;
void setUtcOffset(QDateTime* theWrappedObject, int seconds);
uint toTime_t(QDateTime* theWrappedObject) const;
QDateTime toLocalTime(QDateTime* theWrappedObject) const;
int daysTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const;
QDateTime toTimeSpec(QDateTime* theWrappedObject, Qt::TimeSpec spec) const;
QDateTime static_QDateTime_fromTime_t(uint secsSince1Jan1970UTC);
QDateTime addMSecs(QDateTime* theWrappedObject, qint64 msecs) const;
QDateTime addMonths(QDateTime* theWrappedObject, int months) const;
bool operator_less(QDateTime* theWrappedObject, const QDateTime& other) const;
QDateTime addSecs(QDateTime* theWrappedObject, int secs) const;
void setTime(QDateTime* theWrappedObject, const QTime& time);
void setTime_t(QDateTime* theWrappedObject, uint secsSince1Jan1970UTC);
bool isNull(QDateTime* theWrappedObject) const;
QTime time(QDateTime* theWrappedObject) const;
QDateTime toUTC(QDateTime* theWrappedObject) const;
QDate date(QDateTime* theWrappedObject) const;
Qt::TimeSpec timeSpec(QDateTime* theWrappedObject) const;
QDateTime static_QDateTime_currentDateTime();
void setDate(QDateTime* theWrappedObject, const QDate& date);
QDateTime static_QDateTime_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate);
bool isValid(QDateTime* theWrappedObject) const;
int secsTo(QDateTime* theWrappedObject, const QDateTime& arg__1) const;
QString toString(QDateTime* theWrappedObject, const QString& format) const;
QDateTime addDays(QDateTime* theWrappedObject, int days) const;
QString toString(QDateTime* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const;
};
#endif // PYTHONQTWRAPPER_QDATETIME_H