summaryrefslogtreecommitdiffstats
path: root/dcoppython/test/signal.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /dcoppython/test/signal.py
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'dcoppython/test/signal.py')
-rw-r--r--dcoppython/test/signal.py6
1 files changed, 3 insertions, 3 deletions
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)