diff options
Diffstat (limited to 'src/tools/qdatetime.cpp')
-rw-r--r-- | src/tools/qdatetime.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qdatetime.cpp b/src/tools/qdatetime.cpp index e30f3e75c..51f0e51de 100644 --- a/src/tools/qdatetime.cpp +++ b/src/tools/qdatetime.cpp @@ -517,7 +517,7 @@ TQString TQDate::shortMonthName( int month ) month = 1; } #endif -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN char buffer[255]; tm tt; memset( &tt, 0, sizeof( tm ) ); @@ -563,7 +563,7 @@ TQString TQDate::longMonthName( int month ) month = 1; } #endif -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN char buffer[255]; tm tt; memset( &tt, 0, sizeof( tm ) ); @@ -617,7 +617,7 @@ TQString TQDate::shortDayName( int weekday ) weekday = 1; } #endif -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN char buffer[255]; tm tt; memset( &tt, 0, sizeof( tm ) ); @@ -665,7 +665,7 @@ TQString TQDate::longDayName( int weekday ) weekday = 1; } #endif -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN char buffer[255]; tm tt; memset( &tt, 0, sizeof( tm ) ); @@ -731,7 +731,7 @@ TQString TQDate::toString( TQt::DateFormat f ) const switch ( f ) { case TQt::LocalDate: { -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN tm tt; memset( &tt, 0, sizeof( tm ) ); char buf[255]; @@ -1397,7 +1397,7 @@ TQString TQTime::toString( TQt::DateFormat f ) const switch ( f ) { case TQt::LocalDate: { -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN tm tt; memset( &tt, 0, sizeof( tm ) ); char buf[255]; @@ -2112,7 +2112,7 @@ TQString TQDateTime::toString( TQt::DateFormat f ) const } #ifndef TQT_NO_TEXTDATE else if ( f == TQt::TextDate ) { -#ifndef Q_WS_WIN +#ifndef TQ_WS_WIN TQString buf = d.shortDayName( d.dayOfWeek() ); buf += ' '; buf += d.shortMonthName( d.month() ); |