From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: 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 --- ksirc/logfile.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ksirc/logfile.cpp') 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; -- cgit v1.2.1