From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kdebug.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdecore/kdebug.cpp') diff --git a/kdecore/kdebug.cpp b/kdecore/kdebug.cpp index b581b5fdd..60e765f29 100644 --- a/kdecore/kdebug.cpp +++ b/kdecore/kdebug.cpp @@ -86,7 +86,7 @@ static TQCString getDescrFromNum(unsigned int _num) KDebugCache->setAutoDelete(true); } - KDebugEntry *ent = KDebugCache->find( _num ); + KDebugEntry *ent = KDebugCache->tqfind( _num ); if ( ent ) return ent->descr; @@ -130,7 +130,7 @@ static TQCString getDescrFromNum(unsigned int _num) ch=line[++i]; } while ( ch >= '0' && ch <= '9'); - const Q_ULONG number =line.mid(numStart,i).toULong(); + const TQ_ULONG number =line.mid(numStart,i).toULong(); while (line[i] && line[i] <= ' ') i++; @@ -139,7 +139,7 @@ static TQCString getDescrFromNum(unsigned int _num) } file.close(); - ent = KDebugCache->find( _num ); + ent = KDebugCache->tqfind( _num ); if ( ent ) return ent->descr; @@ -373,7 +373,7 @@ kdbgstream& kdbgstream::operator << (TQChar ch) { if (!print) return *this; if (!ch.isPrint()) - output += "\\x" + TQString::number( ch.unicode(), 16 ).rightJustify(2, '0'); + output += "\\x" + TQString::number( ch.tqunicode(), 16 ).rightJustify(2, '0'); else { output += ch; if (ch == (QChar)'\n') flush(); @@ -403,7 +403,7 @@ kdbgstream& kdbgstream::operator << (const TQWidget* widget) } else { string += (TQString)" to widget " + widget->name() + ", "; } - string += "geometry=" + string += "tqgeometry=" + TQString().setNum(widget->width()) + "x"+TQString().setNum(widget->height()) + "+"+TQString().setNum(widget->x()) @@ -567,8 +567,8 @@ TQString kdBacktrace(int levels) for (int i = 0; i < n; ++i) s += TQString::number(i) + - TQString::fromLatin1(": ") + - TQString::fromLatin1(strings[i]) + TQString::fromLatin1("\n"); + TQString::tqfromLatin1(": ") + + TQString::tqfromLatin1(strings[i]) + TQString::tqfromLatin1("\n"); s += "]\n"; if (strings) free (strings); -- cgit v1.2.1