From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: TQt4 port ktorrent This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/util/log.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libktorrent/util/log.h') diff --git a/libktorrent/util/log.h b/libktorrent/util/log.h index 2fe0ba6..742b753 100644 --- a/libktorrent/util/log.h +++ b/libktorrent/util/log.h @@ -23,7 +23,7 @@ #include "constants.h" -#include +#include // LOG MESSAGES CONSTANTS #define LOG_NONE 0x00 @@ -115,18 +115,18 @@ namespace bt * @param file The name of the file * @throw Exception if the file can't be opened */ - void setOutputFile(const QString & file); + void setOutputFile(const TQString & file); /** * Write a number to the log file. - * Anything which can be passed to QString::number will do. + * Anything which can be passed to TQString::number will do. * @param val The value * @return This Log */ template Log & operator << (T val) { - return operator << (QString::number(val)); + return operator << (TQString::number(val)); } /** @@ -141,18 +141,18 @@ namespace bt /** - * Output a QString to the log. - * @param s The QString + * Output a TQString to the log. + * @param s The TQString * @return This Log */ Log & operator << (const char* s); /** - * Output a QString to the log. - * @param s The QString + * Output a TQString to the log. + * @param s The TQString * @return This Log */ - Log & operator << (const QString & s); + Log & operator << (const TQString & s); /** * Output a 64 bit integer to the log. -- cgit v1.2.1