diff options
author | Michele Calgaro <[email protected]> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-14 21:06:27 +0900 |
commit | 473cd1e8a525d82f49e936d76daabe3d094a8807 (patch) | |
tree | dc0fe3faad1958b846eeebb02208728c0d278854 /src/tools/qdatetime.cpp | |
parent | ecca365daf06c711cf30f93f4c773dabf5642790 (diff) | |
download | tqt3-473cd1e8a525d82f49e936d76daabe3d094a8807.tar.gz tqt3-473cd1e8a525d82f49e936d76daabe3d094a8807.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 <[email protected]>
(cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
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() ); |