aboutsummaryrefslogtreecommitdiffstats
path: root/tests/signals/decorators_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/signals/decorators_test.py')
-rw-r--r--tests/signals/decorators_test.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/signals/decorators_test.py b/tests/signals/decorators_test.py
index a6a8572ba..db068d009 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