##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QDate.h
59 lines | 2.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QDATE_H
#define PYTHONQTWRAPPER_QDATE_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_QDate : public QObject
{ Q_OBJECT
public:
public slots:
QDate* new_QDate();
QDate* new_QDate(int y, int m, int d);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QDate* new_QDate(const QDate& other) {
QDate* a = new QDate();
*((QDate*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QDate(QDate* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QDate static_QDate_currentDate();
florianlink
upgraded wrappers to current generator version...
r28 QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate);
florianlink
recreated wrappers to match current python qt version...
r73 QString static_QDate_shortDayName(int weekday);
void writeTo(QDate* theWrappedObject, QDataStream& arg__1);
QString static_QDate_longMonthName(int month);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString static_QDate_shortMonthName(int month);
florianlink
recreated wrappers to match current python qt version...
r73 int day(QDate* theWrappedObject) const;
void readFrom(QDate* theWrappedObject, QDataStream& arg__1);
int dayOfWeek(QDate* theWrappedObject) const;
QDate static_QDate_fromJulianDay(int jd);
florianlink
upgraded wrappers to current generator version...
r28 int year(QDate* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool operator_less(QDate* theWrappedObject, const QDate& other) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QDate addYears(QDate* theWrappedObject, int years) const;
florianlink
recreated wrappers to match current python qt version...
r73 QDate addDays(QDate* theWrappedObject, int days) const;
QDate static_QDate_fromString(const QString& s, const QString& format);
int weekNumber(QDate* theWrappedObject, int* yearNum = 0) const;
int daysTo(QDate* theWrappedObject, const QDate& arg__1) const;
florianlink
upgraded wrappers to current generator version...
r28 bool static_QDate_isValid(int y, int m, int d);
florianlink
recreated wrappers to match current python qt version...
r73 bool operator_equal(QDate* theWrappedObject, const QDate& other) const;
QDate addMonths(QDate* theWrappedObject, int months) const;
uint static_QDate_gregorianToJulian(int y, int m, int d);
int month(QDate* theWrappedObject) const;
QString toString(QDate* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const;
int dayOfYear(QDate* theWrappedObject) const;
bool isNull(QDate* theWrappedObject) const;
bool isValid(QDate* theWrappedObject) const;
QString toString(QDate* theWrappedObject, const QString& format) const;
bool static_QDate_isLeapYear(int year);
florianlink
upgraded wrappers to current generator version...
r28 int toJulianDay(QDate* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int daysInMonth(QDate* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 int daysInYear(QDate* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QString static_QDate_longDayName(int weekday);
florianlink
recreated wrappers to match current python qt version...
r73 bool setDate(QDate* theWrappedObject, int year, int month, int date);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QDATE_H