From 45065b5c5e1dbc25db326bdbe086a0f42dbda5a9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Nov 2023 23:08:03 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- src/kvpncconfig.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kvpncconfig.cpp') diff --git a/src/kvpncconfig.cpp b/src/kvpncconfig.cpp index a4af3fe..1b90197 100644 --- a/src/kvpncconfig.cpp +++ b/src/kvpncconfig.cpp @@ -204,15 +204,15 @@ void KVpncConfig::appendLogEntry( TQString msg, LogType type ) { // TQTextStream s( &logfile ); logFileStream << i18n( "Log session started at: " ); - logFileStream << TQDateTime::currentDateTime().toString( Qt::TextDate ); + logFileStream << TQDateTime::currentDateTime().toString( TQt::TextDate ); logFileStream << "\n"; logfile.flush(); } } else { - TQString date = TQDate().currentDate().toString(Qt::ISODate)+ " "; - TQString time = TQTime().currentTime().toString(Qt::ISODate)+ " "; + TQString date = TQDate().currentDate().toString(TQt::ISODate)+ " "; + TQString time = TQTime().currentTime().toString(TQt::ISODate)+ " "; TQString prefix=""; switch ( type ) { @@ -1032,7 +1032,7 @@ void KVpncConfig::loadOptions() else { TQTextStream s( &logfile ); - s << i18n( "Log session started at: " ) << TQDateTime::currentDateTime().toString( Qt::TextDate ) << endl; + s << i18n( "Log session started at: " ) << TQDateTime::currentDateTime().toString( TQt::TextDate ) << endl; } } @@ -1652,7 +1652,7 @@ bool KVpncConfig::exportKvpncConfig(TQString filename) TQString date (__DATE__); TQString day= date.section(' ',0,0); - TQString month= TQString().setNum(TQDate::fromString(date.section(' ',0,0),Qt::ISODate).month()); + TQString month= TQString().setNum(TQDate::fromString(date.section(' ',0,0),TQt::ISODate).month()); TQString year= date.section(' ',2,2); TQString currentdate ( date+" "+ TQTime().currentTime().toString( "hh:mm" ) ); -- cgit v1.2.1