summaryrefslogtreecommitdiffstats
path: root/kdecore/kdebug.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kdebug.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
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
Diffstat (limited to 'kdecore/kdebug.cpp')
-rw-r--r--kdecore/kdebug.cpp14
1 files changed, 7 insertions, 7 deletions
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);