summaryrefslogtreecommitdiffstats
path: root/libtdeedu/extdate/extdatetime.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtdeedu/extdate/extdatetime.h')
-rw-r--r--libtdeedu/extdate/extdatetime.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdeedu/extdate/extdatetime.h b/libtdeedu/extdate/extdatetime.h
index 61ddf126..7e0a64b0 100644
--- a/libtdeedu/extdate/extdatetime.h
+++ b/libtdeedu/extdate/extdatetime.h
@@ -65,7 +65,7 @@ public:
#endif //TQT_NO_TEXTDATE
#ifndef TQT_NO_TEXTSTRING
#if !defined(TQT_NO_SPRINTF)
- TQString toString( Qt::DateFormat f = Qt::TextDate ) const;
+ TQString toString( TQt::DateFormat f = TQt::TextDate ) const;
#endif
TQString toString( const TQString& format ) const;
#endif
@@ -84,10 +84,10 @@ public:
bool operator>( const ExtDate &d ) const { return m_jd > d.jd(); }
bool operator>=( const ExtDate &d ) const { return m_jd >= d.jd(); }
- static ExtDate currentDate( Qt::TimeSpec ts = Qt::LocalTime );
+ static ExtDate currentDate( TQt::TimeSpec ts = TQt::LocalTime );
#ifndef TQT_NO_DATESTRING
static ExtDate fromString( const TQString &s );
- static ExtDate fromString( const TQString &s, Qt::DateFormat f );
+ static ExtDate fromString( const TQString &s, TQt::DateFormat f );
#endif
static bool isValid( int y, int m, int d );
static bool leapYear( int year );
@@ -137,10 +137,10 @@ public:
void setDate( const ExtDate &date ) { d = date; }
void setTime( const TQTime &time ) { t = time; }
void setTime_t( uint secsSince1Jan1970UTC );
- void setTime_t( uint secsSince1Jan1970UTC, Qt::TimeSpec );
+ void setTime_t( uint secsSince1Jan1970UTC, TQt::TimeSpec );
#ifndef TQT_NO_DATESTRING
#ifndef TQT_NO_SPRINTF
- TQString toString( Qt::DateFormat f = Qt::TextDate ) const;
+ TQString toString( TQt::DateFormat f = TQt::TextDate ) const;
#endif
TQString toString( const TQString& format ) const;
#endif
@@ -159,10 +159,10 @@ public:
bool operator>=( const ExtDateTime &dt ) const;
static ExtDateTime currentDateTime();
- static ExtDateTime currentDateTime( Qt::TimeSpec );
+ static ExtDateTime currentDateTime( TQt::TimeSpec );
#ifndef TQT_NO_DATESTRING
static ExtDateTime fromString( const TQString &s );
- static ExtDateTime fromString( const TQString &s, Qt::DateFormat f );
+ static ExtDateTime fromString( const TQString &s, TQt::DateFormat f );
#endif
private:
ExtDate d;