diff options
Diffstat (limited to 'lib/kofficecore/tests/korecttest.cpp')
-rw-r--r-- | lib/kofficecore/tests/korecttest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficecore/tests/korecttest.cpp b/lib/kofficecore/tests/korecttest.cpp index 9c2cb8b0..f1a1fd89 100644 --- a/lib/kofficecore/tests/korecttest.cpp +++ b/lib/kofficecore/tests/korecttest.cpp @@ -5,7 +5,7 @@ #include <kdebug.h> #include <kglobal.h> -bool check(QString txt, bool res, bool expected) +bool check(TQString txt, bool res, bool expected) { if (res == expected) { kdDebug() << txt << " : checking '" << res << "' against expected value '" << expected << "'... " << "ok" << endl; @@ -17,12 +17,12 @@ bool check(QString txt, bool res, bool expected) return true; } -bool check(QString txt, QString a, QString b) +bool check(TQString txt, TQString a, TQString b) { if (a.isEmpty()) - a = QString::null; + a = TQString(); if (b.isEmpty()) - b = QString::null; + b = TQString(); if (a == b) { kdDebug() << txt << " : checking '" << a << "' against expected value '" << b << "'... " << "ok" << endl; } |