##// 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
#ifndef PYTHONQTWRAPPER_QDATE_H
#define PYTHONQTWRAPPER_QDATE_H
#include <qdatetime.h>
#include <QObject>
#include <PythonQt.h>
#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);
QDate* new_QDate(const QDate& other) {
QDate* a = new QDate();
*((QDate*)a) = other;
return a; }
void delete_QDate(QDate* obj) { delete obj; }
QDate addMonths(QDate* theWrappedObject, int months) const;
int month(QDate* theWrappedObject) const;
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;
QString static_QDate_shortDayName(int weekday);
int day(QDate* theWrappedObject) const;
QDate static_QDate_fromString(const QString& s, Qt::DateFormat f = Qt::TextDate);
QString static_QDate_shortMonthName(int month);
QString toString(QDate* theWrappedObject, const QString& format) const;
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);
bool static_QDate_isLeapYear(int year);
QDate static_QDate_currentDate();
bool operator_less(QDate* theWrappedObject, const QDate& other) const;
QDate static_QDate_fromString(const QString& s, const QString& format);
QString static_QDate_longMonthName(int month);
QDate addYears(QDate* theWrappedObject, int years) const;
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;
int daysInMonth(QDate* theWrappedObject) const;
QString static_QDate_longDayName(int weekday);
void readFrom(QDate* theWrappedObject, QDataStream& arg__1);
};
#endif // PYTHONQTWRAPPER_QDATE_H