summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/tests/testobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/macros/tests/testobject.h')
-rw-r--r--kexi/plugins/macros/tests/testobject.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kexi/plugins/macros/tests/testobject.h b/kexi/plugins/macros/tests/testobject.h
index da5e8ae2f..87bed8370 100644
--- a/kexi/plugins/macros/tests/testobject.h
+++ b/kexi/plugins/macros/tests/testobject.h
@@ -20,18 +20,19 @@
#ifndef KOMACROTEST_TESTOBJECT_H
#define KOMACROTEST_TESTOBJECT_H
-#include <qobject.h>
+#include <tqobject.h>
#include <kunittest/tester.h>
namespace KoMacroTest {
/**
* The TestObject class is used to test handling and communication
- * of external from QObject inheritated classes.
+ * of external from TQObject inheritated classes.
*/
- class TestObject : public QObject
+ class TestObject : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -59,20 +60,20 @@ namespace KoMacroTest {
* This slot got published to the KoMacro-framework
* and will be called to test the functionality.
*/
- int myslot(const QString&, int);
+ int myslot(const TQString&, int);
/**
* This slot got published to the KoMacro-framework
* and will be called to test the functionality.
*/
- QString myslot(const QString&);
+ TQString myslot(const TQString&);
/**
* This slot got published to the KoMacro-framework
* and will be called to test the functionality.
* @return is @param d
*/
- double myslot(const QString&, double d);
+ double myslot(const TQString&, double d);
private:
/// @internal d-pointer class.