summaryrefslogtreecommitdiffstats
path: root/src/kvpncconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvpncconfig.cpp')
-rw-r--r--src/kvpncconfig.cpp10
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" ) );