diff options
Diffstat (limited to 'dcoppython/test/signal.py')
-rw-r--r-- | dcoppython/test/signal.py | 6 |
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) |