diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:52 +0900 |
commit | 67bff2edcacb208dc44dcd521386bef686dc6dbf (patch) | |
tree | 538584042585402a59d4b1464b117033778ccc28 /src/tools/qdatetime.cpp | |
parent | fb401a891f1b426e9419c0cb16403df407138611 (diff) | |
download | tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() ); |