summaryrefslogtreecommitdiffstats
path: root/tdecore/kdebug.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
commit56160bf4dfe503631ef6373367b281f081bab2b4 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /tdecore/kdebug.h
parent13281e2856a2ef43bbab78c5528470309c23aa77 (diff)
downloadtdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz
tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'tdecore/kdebug.h')
-rw-r--r--tdecore/kdebug.h8
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;
}