diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-05-20 10:57:14 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-05-20 12:16:54 -0300 |
commit | 361ac438c2b9e3c6c10c9ab2207a6464557b8a85 (patch) | |
tree | 295aa33dd306831480278d78f2114dc8d41dc6b2 /tests/signals/decorators_test.py | |
parent | 3d205e83191fa778d9e17e318cff28829abfa62d (diff) |
Fixed signal/slot class name based on PSEP 100.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/signals/decorators_test.py')
-rw-r--r-- | tests/signals/decorators_test.py | 12 |
1 files changed, 6 insertions, 6 deletions
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 |