diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ksirc/logfile.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/logfile.cpp')
-rw-r--r-- | ksirc/logfile.cpp | 14 |
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; |