diff options
Diffstat (limited to 'lib/kross/test/testobject.h')
-rw-r--r-- | lib/kross/test/testobject.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/lib/kross/test/testobject.h b/lib/kross/test/testobject.h index 011b7e54..5a04d9dc 100644 --- a/lib/kross/test/testobject.h +++ b/lib/kross/test/testobject.h @@ -22,43 +22,44 @@ #include "../main/scriptcontainer.h" -#include <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> -class TestObject : public QObject +class TestObject : public TQObject { Q_OBJECT + TQ_OBJECT - Q_PROPERTY(QString testProperty READ testProperty WRITE setTestProperty) + TQ_PROPERTY(TQString testProperty READ testProperty WRITE setTestProperty) public: TestObject(); - TestObject(QObject* parent, Kross::Api::ScriptContainer::Ptr scriptcontainer); + TestObject(TQObject* tqparent, Kross::Api::ScriptContainer::Ptr scriptcontainer); ~TestObject(); uint func1(uint); - void func2(QString, int); - QString func3(QString, int); - const QString& func4(const QString&, int) const; + void func2(TQString, int); + TQString func3(TQString, int); + const TQString& func4(const TQString&, int) const; - QString testProperty() const { return m_prop; } - void setTestProperty(QString prop) { m_prop = prop; } + TQString testProperty() const { return m_prop; } + void setTestProperty(TQString prop) { m_prop = prop; } signals: void testSignal(); - void testSignalString(const QString&); - void stdoutSignal(const QString&); - void stderrSignal(const QString&); + void testSignalString(const TQString&); + void stdoutSignal(const TQString&); + void stderrSignal(const TQString&); public slots: void testSlot(); void testSlot2(); - void stdoutSlot(const QString&); - void stderrSlot(const QString&); + void stdoutSlot(const TQString&); + void stderrSlot(const TQString&); - QObject* self() { return this; } + TQObject* self() { return this; } private: - QString m_prop; + TQString m_prop; }; #endif |