diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kunittest/module.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kunittest/module.h')
-rw-r--r-- | kunittest/module.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kunittest/module.h b/kunittest/module.h index e33887101..7f4b24789 100644 --- a/kunittest/module.h +++ b/kunittest/module.h @@ -31,7 +31,7 @@ #ifndef KUNITTEST_MODULE_H #define KUNITTEST_MODULE_H -#include <qstring.h> +#include <tqstring.h> #include <klibloader.h> #include <kunittest/runner.h> @@ -48,8 +48,8 @@ namespace KUnitTest * @code KUNITTEST_MODULE(kunittest_samplemodule,"TestSuite") @endcode */ #define KUNITTEST_MODULE(library,suite) \ - static const QString s_kunittest_suite = QString::fromLatin1(suite); \ - class library##Module : public QObject \ + static const TQString s_kunittest_suite = TQString::fromLatin1(suite); \ + class library##Module : public TQObject \ { \ public: \ library##Module() \ @@ -72,7 +72,7 @@ namespace KUnitTest class module##Factory : public KLibFactory \ { \ public: \ - QObject *createObject (QObject *, const char *, const char *, const QStringList &) \ + TQObject *createObject (TQObject *, const char *, const char *, const TQStringList &) \ { \ return new library##Module(); \ }; \ @@ -93,7 +93,7 @@ namespace KUnitTest tester##ModuleAutoregister() \ { \ KUnitTest::Tester *test = new tester(); \ - QString name = s_kunittest_suite + QString::fromLatin1("::") + QString::fromLocal8Bit(#tester); \ + TQString name = s_kunittest_suite + TQString::fromLatin1("::") + TQString::fromLocal8Bit(#tester); \ test->setName(name.local8Bit()); \ kunittest_registerModuleTester(name.local8Bit(), test ); \ } \ @@ -110,7 +110,7 @@ namespace KUnitTest public: \ tester##ModuleAutoregister() \ { \ - QString fullName = s_kunittest_suite + QString("::") + QString::fromLocal8Bit(name); \ + TQString fullName = s_kunittest_suite + TQString("::") + TQString::fromLocal8Bit(name); \ KUnitTest::Tester *test = new tester(fullName.local8Bit()); \ kunittest_registerModuleTester(fullName.local8Bit(), test); \ } \ |