diff options
Diffstat (limited to 'tdecore/kdebug.h')
-rw-r--r-- | tdecore/kdebug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kdebug.h b/tdecore/kdebug.h index 477e8e43f..fc9bb1294 100644 --- a/tdecore/kdebug.h +++ b/tdecore/kdebug.h @@ -85,7 +85,7 @@ class TDECORE_EXPORT kdbgstream { kdbgstream(unsigned int _area, unsigned int _level, bool _print = true) : area(_area), level(_level), print(_print) { } kdbgstream(const char * initialString, unsigned int _area, unsigned int _level, bool _print = true) : - output(TQString::fromLatin1(initialString)), area(_area), level(_level), print(_print) { } + output(TQString::tqfromLatin1(initialString)), area(_area), level(_level), print(_print) { } /// Copy constructor kdbgstream(kdbgstream &str); kdbgstream(const kdbgstream &str) : @@ -98,7 +98,7 @@ class TDECORE_EXPORT kdbgstream { */ kdbgstream &operator<<(bool i) { if (!print) return *this; - output += TQString::fromLatin1(i ? "true" : "false"); + output += TQString::tqfromLatin1(i ? "true" : "false"); return *this; } /** @@ -216,7 +216,7 @@ class TDECORE_EXPORT kdbgstream { kdbgstream &operator<<(const TQString& string) { if (!print) return *this; output += string; - if (output.at(output.length() -1 ) == (TQChar)'\n') + if (output.tqat(output.length() -1 ) == (TQChar)'\n') flush(); return *this; } @@ -228,7 +228,7 @@ class TDECORE_EXPORT kdbgstream { kdbgstream &operator<<(const char *string) { if (!print) return *this; output += TQString::fromUtf8(string); - if (output.at(output.length() - 1) == (TQChar)'\n') + if (output.tqat(output.length() - 1) == (TQChar)'\n') flush(); return *this; } |