From 653261e047871ae64d4e3bb97b7b24d05df06db3 Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Thu, 26 Aug 2010 15:24:05 -0300 Subject: 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 Hugo Parente Lima --- tests/signals/decorators_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/signals') 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() -- cgit v1.2.3