summaryrefslogtreecommitdiffstats
path: root/ksirc/logfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/logfile.cpp')
-rw-r--r--ksirc/logfile.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/logfile.cpp b/ksirc/logfile.cpp
index e65be271..2246cd30 100644
--- a/ksirc/logfile.cpp
+++ b/ksirc/logfile.cpp
@@ -39,16 +39,16 @@ void LogFile::open()
assert( m_file->isOpen() == true );
- log( TQString::tqfromLatin1( "### Log session started at " )
- + TQDateTime::tqcurrentDateTime().toString()
- + TQString::tqfromLatin1( "###\n" ) );
+ log( TQString::fromLatin1( "### Log session started at " )
+ + TQDateTime::currentDateTime().toString()
+ + TQString::fromLatin1( "###\n" ) );
}
void LogFile::closeLog()
{
- log( TQString::tqfromLatin1( "### Log session terminated at " )
- + TQDateTime::tqcurrentDateTime().toString()
- + TQString::tqfromLatin1( "###\n" ) );
+ log( TQString::fromLatin1( "### Log session terminated at " )
+ + TQDateTime::currentDateTime().toString()
+ + TQString::fromLatin1( "###\n" ) );
if ( m_flushTimerId != -1 )
killTimer( m_flushTimerId );
@@ -77,7 +77,7 @@ TQString LogFile::makeLogFileName( const TQString &channel, const TQString &serv
{
TQString res = channel + '_';
- TQDate dt = TQDate::tqcurrentDate();
+ TQDate dt = TQDate::currentDate();
TQString dateStr;
dateStr.sprintf( "%.4d_%.2d_%.2d_", dt.year(), dt.month(), dt.day() );
res += dateStr;