summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqdatetime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ntqdatetime.h')
-rw-r--r--src/tools/ntqdatetime.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/tools/ntqdatetime.h b/src/tools/ntqdatetime.h
index 8439bf5f..f4d989d1 100644
--- a/src/tools/ntqdatetime.h
+++ b/src/tools/ntqdatetime.h
@@ -70,7 +70,7 @@ public:
int daysInYear() const;
int weekNumber( int *yearNum = 0 ) const;
-#ifndef QT_NO_TEXTDATE
+#ifndef TQT_NO_TEXTDATE
#ifndef TQT_NO_COMPAT
static TQString monthName( int month ) { return shortMonthName( month ); }
static TQString dayName( int weekday ) { return shortDayName( weekday ); }
@@ -79,9 +79,9 @@ public:
static TQString shortDayName( int weekday );
static TQString longMonthName( int month );
static TQString longDayName( int weekday );
-#endif //QT_NO_TEXTDATE
-#ifndef QT_NO_TEXTSTRING
-#if !defined(QT_NO_SPRINTF)
+#endif //TQT_NO_TEXTDATE
+#ifndef TQT_NO_TEXTSTRING
+#if !defined(TQT_NO_SPRINTF)
TQString toString( TQt::DateFormat f = TQt::TextDate ) const;
#endif
TQString toString( const TQString& format ) const;
@@ -102,7 +102,7 @@ public:
static TQDate currentDate();
static TQDate currentDate( TQt::TimeSpec );
-#ifndef QT_NO_DATESTRING
+#ifndef TQT_NO_DATESTRING
static TQDate fromString( const TQString& s, TQt::DateFormat f = TQt::TextDate );
#endif
static bool isValid( int y, int m, int d );
@@ -113,7 +113,7 @@ public:
private:
uint jd;
friend class TQDateTime;
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDate & );
friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDate & );
#endif
@@ -137,8 +137,8 @@ public:
int minute() const; // 0..59
int second() const; // 0..59
int msec() const; // 0..999
-#ifndef QT_NO_DATESTRING
-#ifndef QT_NO_SPRINTF
+#ifndef TQT_NO_DATESTRING
+#ifndef TQT_NO_SPRINTF
TQString toString( TQt::DateFormat f = TQt::TextDate ) const;
#endif
TQString toString( const TQString& format ) const;
@@ -159,7 +159,7 @@ public:
static TQTime currentTime();
static TQTime currentTime( TQt::TimeSpec );
-#ifndef QT_NO_DATESTRING
+#ifndef TQT_NO_DATESTRING
static TQTime fromString( const TQString& s, TQt::DateFormat f = TQt::TextDate );
#endif
static bool isValid( int h, int m, int s, int ms=0 );
@@ -174,7 +174,7 @@ private:
uint ds;
friend class TQDateTime;
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQTime & );
friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQTime & );
#endif
@@ -202,8 +202,8 @@ public:
void setTime( const TQTime &time ) { t = time; }
void setTime_t( time_t secsSince1Jan1970UTC );
void setTime_t( time_t secsSince1Jan1970UTC, TQt::TimeSpec );
-#ifndef QT_NO_DATESTRING
-#ifndef QT_NO_SPRINTF
+#ifndef TQT_NO_DATESTRING
+#ifndef TQT_NO_SPRINTF
TQString toString( TQt::DateFormat f = TQt::TextDate ) const;
#endif
TQString toString( const TQString& format ) const;
@@ -224,13 +224,13 @@ public:
static TQDateTime currentDateTime();
static TQDateTime currentDateTime( TQt::TimeSpec );
-#ifndef QT_NO_DATESTRING
+#ifndef TQT_NO_DATESTRING
static TQDateTime fromString( const TQString& s, TQt::DateFormat f = TQt::TextDate );
#endif
private:
TQDate d;
TQTime t;
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
friend Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDateTime &);
friend Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDateTime & );
#endif
@@ -241,14 +241,14 @@ private:
Date and time stream functions
*****************************************************************************/
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDate & );
Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDate & );
Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQTime & );
Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQTime & );
Q_EXPORT TQDataStream &operator<<( TQDataStream &, const TQDateTime & );
Q_EXPORT TQDataStream &operator>>( TQDataStream &, TQDateTime & );
-#endif // QT_NO_DATASTREAM
+#endif // TQT_NO_DATASTREAM
#endif // TQDATETIME_H