summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/tests/testobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/tests/testobject.cpp')
-rw-r--r--kexi/plugins/macros/tests/testobject.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/plugins/macros/tests/testobject.cpp b/kexi/plugins/macros/tests/testobject.cpp
index 39cadb7a..e0db481e 100644
--- a/kexi/plugins/macros/tests/testobject.cpp
+++ b/kexi/plugins/macros/tests/testobject.cpp
@@ -25,8 +25,8 @@
//#include "../lib/macro.h"
//#include "../lib/metaobject.h"
-//#include <qstringlist.h>
-//#include <qdom.h>
+//#include <tqstringlist.h>
+//#include <tqdom.h>
#include <kdebug.h>
//#include <kxmlguiclient.h>
@@ -57,7 +57,7 @@ namespace KoMacroTest {
}
TestObject::TestObject(KUnitTest::Tester* const tester)
- : QObject()
+ : TQObject()
, d( new Private(tester) ) // create the private d-pointer instance.
{
setName("TestObject");
@@ -71,18 +71,18 @@ TestObject::~TestObject()
//testObject without arguments
void TestObject::myslot()
{
- QString s = "CALLED => TestObject::myslot()";
+ TQString s = "CALLED => TestObject::myslot()";
//be loud
kdDebug() << s << endl;
//add some extra Debuginfos to TestResults see tester.h
d->tester->results()->addDebugInfo(s);
}
-//testobject with QString and int argument
+//testobject with TQString and int argument
//int is returnvalue
-int TestObject::myslot(const QString&, int i)
+int TestObject::myslot(const TQString&, int i)
{
- QString s = "CALLED => TestObject::myslot(const QString&, int)";
+ TQString s = "CALLED => TestObject::myslot(const TQString&, int)";
//be loud
kdDebug() << s << endl;
//add some extra debuginfos to TestResults
@@ -90,11 +90,11 @@ int TestObject::myslot(const QString&, int i)
return i;
}
-//testobject with QString argument
-//QString is returnvalue
-QString TestObject::myslot(const QString& s)
+//testobject with TQString argument
+//TQString is returnvalue
+TQString TestObject::myslot(const TQString& s)
{
- QString t = QString("CALLED => TestObject::myslot(const QString& s) s=%1").arg(s);
+ TQString t = TQString("CALLED => TestObject::myslot(const TQString& s) s=%1").tqarg(s);
//be loud
kdDebug() << t << endl;
//add some extra Debuginfos to TestResults
@@ -102,11 +102,11 @@ QString TestObject::myslot(const QString& s)
return s;
}
-//testobject with QString and double argument
+//testobject with TQString and double argument
//double is returnvalue
-double TestObject::myslot(const QString&, double d)
+double TestObject::myslot(const TQString&, double d)
{
- QString s = "CALLED => TestObject::myslot(const QString&, double)";
+ TQString s = "CALLED => TestObject::myslot(const TQString&, double)";
//be loud
kdDebug() << s << endl;
//add some extra Debuginfos to TestResults