From 67bff2edcacb208dc44dcd521386bef686dc6dbf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Feb 2024 14:08:42 +0900 Subject: 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 --- src/tools/qdatetime.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/tools/qdatetime.cpp') 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() ); -- cgit v1.2.1