diff options
Diffstat (limited to 'sip/qt/qdatetime.sip')
-rw-r--r-- | sip/qt/qdatetime.sip | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/sip/qt/qdatetime.sip b/sip/qt/qdatetime.sip index 2a62440..3df731d 100644 --- a/sip/qt/qdatetime.sip +++ b/sip/qt/qdatetime.sip @@ -86,38 +86,19 @@ public: int daysInMonth() const; int daysInYear() const; -%If (TQt_3_1_0 -) int weekNumber(int * = 0) const; -%End -%If (- TQt_2_00) - virtual const char *monthName(int) const; - virtual const char *dayName(int) const; -%End -%If (TQt_2_00 - TQt_3_0_0) - virtual TQString monthName(int) const; - virtual TQString dayName(int) const; -%End -%If (TQt_3_0_0 -) static TQString shortMonthName(int); static TQString shortDayName(int); static TQString longMonthName(int); static TQString longDayName(int); -%End -%If (- TQt_3_0_0) - TQString toString() const; -%End -%If (TQt_3_0_0 -) TQString toString(TQt::DateFormat = TQt::TextDate) const; TQString toString(const TQString &) const; -%End bool setYMD(int,int,int); TQDate addDays(int) const; -%If (TQt_3_0_0 -) TQDate addMonths(int) const; TQDate addYears(int) const; -%End int daysTo(const TQDate &) const; int __nonzero__() const; @@ -133,20 +114,14 @@ public: bool operator>=(const TQDate &) const; static TQDate currentDate(); -%If (TQt_3_1_0 -) static TQDate currentDate(TQt::TimeSpec); -%End -%If (TQt_3_0_0 -) static TQDate fromString(const TQString &,TQt::DateFormat = TQt::TextDate); -%End static bool isValid(int,int,int); static bool leapYear(int); -%If (TQt_3_0_0 -) // These are defined in TQt3 but not documented. //static uint gregorianToJulian(int,int,int); //static void julianToGregorian(uint,int &,int &,int &); -%End }; @@ -167,13 +142,8 @@ public: int second() const; int msec() const; -%If (- TQt_3_0_0) - TQString toString() const; -%End -%If (TQt_3_0_0 -) TQString toString(TQt::DateFormat = TQt::TextDate) const; TQString toString(const TQString &) const; -%End bool setHMS(int,int,int,int = 0); @@ -195,22 +165,13 @@ public: bool operator>=(const TQTime &) const; static TQTime currentTime(); -%If (TQt_3_1_0 -) static TQTime currentTime(TQt::TimeSpec); -%End -%If (TQt_3_0_0 -) static TQTime fromString(const TQString &,TQt::DateFormat = TQt::TextDate); -%End static bool isValid(int,int,int,int = 0); void start(); int restart(); -%If (- TQt_3_0_0) - int elapsed(); -%End -%If (TQt_3_0_0 -) int elapsed() const; -%End }; @@ -230,29 +191,18 @@ public: TQDate date() const; TQTime time() const; -%If (TQt_3_1_0 -) uint toTime_t() const; -%End void setDate(const TQDate &); void setTime(const TQTime &); void setTime_t(uint); -%If (TQt_3_1_0 -) void setTime_t(uint,TQt::TimeSpec); -%End -%If (- TQt_3_0_0) - TQString toString() const; -%End -%If (TQt_3_0_0 -) TQString toString(TQt::DateFormat = TQt::TextDate) const; TQString toString(const TQString &) const; -%End TQDateTime addDays(int) const; -%If (TQt_3_0_0 -) TQDateTime addMonths(int) const; TQDateTime addYears(int) const; -%End TQDateTime addSecs(int) const; int daysTo(const TQDateTime &) const; int secsTo(const TQDateTime &) const; @@ -270,11 +220,7 @@ public: bool operator>=(const TQDateTime &) const; static TQDateTime currentDateTime(); -%If (TQt_3_1_0 -) static TQDateTime currentDateTime(TQt::TimeSpec); -%End -%If (TQt_3_0_0 -) static TQDateTime fromString(const TQString &, TQt::DateFormat = TQt::TextDate); -%End }; |