summaryrefslogtreecommitdiffstats
path: root/ksirc/logfile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /ksirc/logfile.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
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 2246cd30..e65be271 100644
--- a/ksirc/logfile.cpp
+++ b/ksirc/logfile.cpp
@@ -39,16 +39,16 @@ void LogFile::open()
assert( m_file->isOpen() == true );
- log( TQString::fromLatin1( "### Log session started at " )
- + TQDateTime::currentDateTime().toString()
- + TQString::fromLatin1( "###\n" ) );
+ log( TQString::tqfromLatin1( "### Log session started at " )
+ + TQDateTime::tqcurrentDateTime().toString()
+ + TQString::tqfromLatin1( "###\n" ) );
}
void LogFile::closeLog()
{
- log( TQString::fromLatin1( "### Log session terminated at " )
- + TQDateTime::currentDateTime().toString()
- + TQString::fromLatin1( "###\n" ) );
+ log( TQString::tqfromLatin1( "### Log session terminated at " )
+ + TQDateTime::tqcurrentDateTime().toString()
+ + TQString::tqfromLatin1( "###\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::currentDate();
+ TQDate dt = TQDate::tqcurrentDate();
TQString dateStr;
dateStr.sprintf( "%.4d_%.2d_%.2d_", dt.year(), dt.month(), dt.day() );
res += dateStr;