summaryrefslogtreecommitdiffstats
path: root/dcop/testdcop.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /dcop/testdcop.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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 'dcop/testdcop.h')
-rw-r--r--dcop/testdcop.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/dcop/testdcop.h b/dcop/testdcop.h
index 935924d79..135812e39 100644
--- a/dcop/testdcop.h
+++ b/dcop/testdcop.h
@@ -26,12 +26,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef _TESTDCOP_H_
#define _TESTDCOP_H_
-#include <qapplication.h>
-#include <qbitarray.h>
+#include <tqapplication.h>
+#include <tqbitarray.h>
#include <dcopclient.h>
#include <dcopobject.h>
-#include <qobject.h>
+#include <tqobject.h>
#include <stdio.h>
/**
@@ -45,32 +45,32 @@ class TestObject : public QObject
{
Q_OBJECT
public:
- TestObject(const QCString &app);
+ TestObject(const TQCString &app);
public slots:
void slotTimeout();
- void slotCallBack(int, const QCString&, const QByteArray&);
+ void slotCallBack(int, const TQCString&, const TQByteArray&);
private:
- QCString m_app;
+ TQCString m_app;
};
-class MyDCOPObject : public QObject, public DCOPObject
+class MyDCOPObject : public TQObject, public DCOPObject
{
Q_OBJECT
public:
- MyDCOPObject(const QCString &name) : DCOPObject(name) {}
- bool process(const QCString &fun, const QByteArray &data,
- QCString& replyType, QByteArray &replyData);
- void function(const QString &arg1, int arg2) { qDebug("function got arg: %s and %d", arg1.utf8().data(), arg2); }
+ MyDCOPObject(const TQCString &name) : DCOPObject(name) {}
+ bool process(const TQCString &fun, const TQByteArray &data,
+ TQCString& replyType, TQByteArray &replyData);
+ void function(const TQString &arg1, int arg2) { qDebug("function got arg: %s and %d", arg1.utf8().data(), arg2); }
public slots:
void slotTimeout();
void slotTimeout2();
- void registered(const QCString &appName)
+ void registered(const TQCString &appName)
{ printf("REGISTER: %s\n", appName.data()); }
- void unregistered(const QCString &appName)
+ void unregistered(const TQCString &appName)
{ printf("UNREGISTER: %s\n", appName.data()); }
QCStringList functions();
};