##// 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_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
upgraded wrappers to current generator version...
r28 QDate addMonths(QDate* theWrappedObject, int months) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int month(QDate* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void writeTo(QDate* theWrappedObject, QDataStream& arg__1);
bool operator_equal(QDate* theWrappedObject, const QDate& other) const;
QDate addDays(QDate* theWrappedObject, int days) const;
int dayOfYear(QDate* theWrappedObject) const;
int dayOfWeek(QDate* theWrappedObject) const;
int daysInYear(QDate* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString static_QDate_shortDayName(int weekday);
florianlink
upgraded wrappers to current generator version...
r28 int day(QDate* theWrappedObject) const;
QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate);
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);
QString toString(QDate* theWrappedObject, const QString& format) const;
florianlink
upgraded wrappers to current generator version...
r28 QString toString(QDate* theWrappedObject, Qt::DateFormat f = Qt::TextDate) const;
uint static_QDate_gregorianToJulian(int y, int m, int d);
bool isValid(QDate* theWrappedObject) const;
int year(QDate* theWrappedObject) const;
int daysTo(QDate* theWrappedObject, const QDate& arg__1) const;
bool isNull(QDate* theWrappedObject) const;
bool setDate(QDate* theWrappedObject, int year, int month, int date);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool static_QDate_isLeapYear(int year);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QDate static_QDate_currentDate();
bool operator_less(QDate* theWrappedObject, const QDate& other) const;
florianlink
upgraded wrappers to current generator version...
r28 QDate static_QDate_fromString(const QString& s, const QString& format);
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 QDate addYears(QDate* theWrappedObject, int years) const;
florianlink
upgraded wrappers to current generator version...
r28 QDate static_QDate_fromJulianDay(int jd);
bool static_QDate_isValid(int y, int m, int d);
int toJulianDay(QDate* theWrappedObject) const;
int weekNumber(QDate* theWrappedObject, int* yearNum = 0) 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
upgraded wrappers to current generator version...
r28 QString static_QDate_longDayName(int weekday);
void readFrom(QDate* theWrappedObject, QDataStream& arg__1);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QDATE_H