summaryrefslogtreecommitdiffstats
path: root/tdecore/kdebug.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdecore/kdebug.cpp
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/kdebug.cpp')
-rw-r--r--tdecore/kdebug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kdebug.cpp b/tdecore/kdebug.cpp
index 78fc06247..d06992390 100644
--- a/tdecore/kdebug.cpp
+++ b/tdecore/kdebug.cpp
@@ -343,7 +343,7 @@ static void kDebugBackend( unsigned short nLevel, unsigned int nArea, const char
// Since we are in tdecore here, we cannot use KMsgBox and use
// TQMessageBox instead
if ( !kDebug_data->aAreaName.isEmpty() )
- aCaption += TQString("(%1)").arg( QString(kDebug_data->aAreaName) );
+ aCaption += TQString("(%1)").arg( TQString(kDebug_data->aAreaName) );
TQMessageBox::warning( 0L, aCaption, data, i18n("&OK") );
break;
}
@@ -432,7 +432,7 @@ kdbgstream& kdbgstream::operator<< (TQChar ch)
output += "\\x" + TQString::number( ch.unicode(), 16 ).rightJustify(2, '0');
else {
output += ch;
- if (ch == QChar('\n')) flush();
+ if (ch == TQChar('\n')) flush();
}
return *this;
}
@@ -471,7 +471,7 @@ kdbgstream& kdbgstream::operator<< (const TQWidget* widget)
return *this;
}
output += string;
- if (output.at(output.length() -1 ) == QChar('\n'))
+ if (output.at(output.length() -1 ) == TQChar('\n'))
{
flush();
}
@@ -822,7 +822,7 @@ TQString kdBacktrace(int levels)
if (levels) {
for (int i = 0; i < levels; ++i) {
- rv += QString().sprintf("#%-2d ", i);
+ rv += TQString().sprintf("#%-2d ", i);
rv += formatBacktrace(trace[i]);
rv += '\n';
}