diff options
author | Michele Calgaro <[email protected]> | 2023-09-25 12:03:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-25 17:50:49 +0900 |
commit | 04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch) | |
tree | 3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /tdecore/kdebug.cpp | |
parent | b0f1961286230520573e2433b0ed4562718ce7a3 (diff) | |
download | tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.tar.gz tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
Diffstat (limited to 'tdecore/kdebug.cpp')
-rw-r--r-- | tdecore/kdebug.cpp | 8 |
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'; } |