summaryrefslogtreecommitdiffstats
path: root/ksirc/logfile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /ksirc/logfile.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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;