aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-26 15:24:05 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-26 16:21:41 -0300
commit653261e047871ae64d4e3bb97b7b24d05df06db3 (patch)
tree128d3191f346ac00faf59f59f3c422e21059886a /tests
parenta2f3e249bc0543b522c7d0e516dd07326e3ea7de (diff)
Now slots signatures in C++ use Qt notation.
Ex: Slot(str, int) # Python slot(QString, int) # C++ This allow the user create slots based on types, compatible with Qt Slots. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/signals/decorators_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/signals/decorators_test.py b/tests/signals/decorators_test.py
index db32ec9b0..c4497ab8c 100644
--- a/tests/signals/decorators_test.py
+++ b/tests/signals/decorators_test.py
@@ -41,7 +41,7 @@ class StaticMetaObjectTest(unittest.TestCase):
self.assert_(m.indexOfSlot('mySlot2(int)') > 0)
self.assert_(m.indexOfSlot('mySlot2(QString)') > 0)
self.assert_(m.indexOfSlot('mySlot3()') > 0)
- self.assert_(m.indexOfSlot('mySlot4(unicode,int)') > 0)
+ self.assert_(m.indexOfSlot('mySlot4(QString,int)') > 0)
def testEmission(self):
o = MyObject()