summaryrefslogtreecommitdiffstats
path: root/dcoppython/test
diff options
context:
space:
mode:
Diffstat (limited to 'dcoppython/test')
-rw-r--r--dcoppython/test/README-server6
-rw-r--r--dcoppython/test/dcopserver/gen.py4
-rw-r--r--dcoppython/test/dcopserver/hi32-app-kdedcoptest.pngbin2749 -> 2750 bytes
-rw-r--r--dcoppython/test/dcopserver/kdedcoptest.cpp2
-rw-r--r--dcoppython/test/server.py2
-rw-r--r--dcoppython/test/signal.py6
6 files changed, 10 insertions, 10 deletions
diff --git a/dcoppython/test/README-server b/dcoppython/test/README-server
index 3d2528b8..b11aa07f 100644
--- a/dcoppython/test/README-server
+++ b/dcoppython/test/README-server
@@ -6,9 +6,9 @@ Run python server.py, then in another console:
qt
parrot
[julian] julian$ dcop `dcop | grep petshop` parrot
-QCStringList interfaces()
-QCStringList functions()
-QString squawk(QString)
+TTQCStringList interfaces()
+TTQCStringList functions()
+TTQString squawk(TQString)
void setAge(int)
int age()
[julian] julian$ dcop `dcop | grep petshop` parrot setAge 5
diff --git a/dcoppython/test/dcopserver/gen.py b/dcoppython/test/dcopserver/gen.py
index ae2947af..26f21113 100644
--- a/dcoppython/test/dcopserver/gen.py
+++ b/dcoppython/test/dcopserver/gen.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
-type_list = ['KURL', 'QDate', 'QTime', 'QDateTime', 'QRect', 'QString', 'int', 'QFont', 'QSize', 'QPoint', 'QPointArray' ]
+type_list = ['KURL', 'TQDate', 'TQTime', 'TQDateTime', 'TQRect', 'TQString', 'int', 'TQFont', 'TQSize', 'TQPoint', 'TQPointArray' ]
-inc_exceptions = {'QDate': None, 'QTime': None, 'KURL' : 'kurl'}
+inc_exceptions = {'TQDate': None, 'TQTime': None, 'KURL' : 'kurl'}
iface_inc_list = ['dcopobject']
diff --git a/dcoppython/test/dcopserver/hi32-app-kdedcoptest.png b/dcoppython/test/dcopserver/hi32-app-kdedcoptest.png
index 45ae1a11..a8c927b0 100644
--- a/dcoppython/test/dcopserver/hi32-app-kdedcoptest.png
+++ b/dcoppython/test/dcopserver/hi32-app-kdedcoptest.png
Binary files differ
diff --git a/dcoppython/test/dcopserver/kdedcoptest.cpp b/dcoppython/test/dcopserver/kdedcoptest.cpp
index e7c8b49a..849c9abc 100644
--- a/dcoppython/test/dcopserver/kdedcoptest.cpp
+++ b/dcoppython/test/dcopserver/kdedcoptest.cpp
@@ -15,7 +15,7 @@ KDEDcopTest::KDEDcopTest()
// set the shell's ui resource file
//setXMLFile("kdedcoptestui.rc");
- //new TQLabel( "Hello World", this, "hello label" );
+ //new TTQLabel( "Hello World", this, "hello label" );
m_mainClass = new MainClass();
}
diff --git a/dcoppython/test/server.py b/dcoppython/test/server.py
index 479b0236..957f6d94 100644
--- a/dcoppython/test/server.py
+++ b/dcoppython/test/server.py
@@ -19,7 +19,7 @@ class ParrotObject(pydcop.DCOPServerObject):
self.setMethods( [
('int age()', self.get_age),
('void setAge(int)', self.set_age),
- ('QString squawk(QString)', self.squawk),
+ ('TQString squawk(TQString)', self.squawk),
])
# set up object variables
diff --git a/dcoppython/test/signal.py b/dcoppython/test/signal.py
index f9d087c6..72aa1385 100644
--- a/dcoppython/test/signal.py
+++ b/dcoppython/test/signal.py
@@ -16,7 +16,7 @@ class MyObject(pydcop.DCOPServerObject):
# DCOP needs types, so we need to initialise the object with the methods that
# it's going to provide.
- self.setMethods( [('void test(QString)', self.test)])
+ self.setMethods( [('void test(TQString)', self.test)])
def test(self, data):
print "New Weather for " + data
@@ -28,9 +28,9 @@ pytest = MyObject()
sender = "KWeatherService"
senderObj = "WeatherService"
-signal = "fileUpdate(QString)"
+signal = "fileUpdate(TQString)"
receiverObj = "pythontest"
-slot = "test(QString)"
+slot = "test(TQString)"
volatile = 1
pydcop.connectDCOPSignal(sender,senderObj,signal,receiverObj,slot,volatile)