diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 23:08:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-04 23:08:03 +0900 |
commit | 45065b5c5e1dbc25db326bdbe086a0f42dbda5a9 (patch) | |
tree | c3740dbabf2e4fa9a9d54327430b7e451797e1d3 /src/kvpncconfig.cpp | |
parent | 1bf4952925485e6b25af8c49809a5f19b3d80880 (diff) | |
download | kvpnc-45065b5c5e1dbc25db326bdbe086a0f42dbda5a9.tar.gz kvpnc-45065b5c5e1dbc25db326bdbe086a0f42dbda5a9.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kvpncconfig.cpp')
-rw-r--r-- | src/kvpncconfig.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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" ) ); |