From 361ac438c2b9e3c6c10c9ab2207a6464557b8a85 Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Thu, 20 May 2010 10:57:14 -0300 Subject: Fixed signal/slot class name based on PSEP 100. Reviewer: Hugo Parente Lima , Luciano Wolf --- tests/signals/decorators_test.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/signals/decorators_test.py') diff --git a/tests/signals/decorators_test.py b/tests/signals/decorators_test.py index db068d009..a6a8572ba 100644 --- a/tests/signals/decorators_test.py +++ b/tests/signals/decorators_test.py @@ -11,24 +11,24 @@ class MyObject(QObject): QObject.__init__(self, parent) self._slotCalledCount = 0 - @Slot() + @slot() def mySlot(self): self._slotCalledCount = self._slotCalledCount + 1 - @Slot(int) - @Slot('QString') + @slot(int) + @slot('QString') def mySlot2(self, arg0): self._slotCalledCount = self._slotCalledCount + 1 - @Slot(name='mySlot3') + @slot(name='mySlot3') def foo(self): self._slotCalledCount = self._slotCalledCount + 1 - @Slot(QString, int) + @slot(QString, int) def mySlot4(self, a, b): self._slotCalledCount = self._slotCalledCount + 1 - @Slot(result=int) + @slot(result=int) def mySlot5(self): self._slotCalledCount = self._slotCalledCount + 1 -- cgit v1.2.3