diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-09-20 11:17:28 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-09-20 14:20:56 -0300 |
commit | b476759ed077e45f6d9ec78cf367554f1f5114f3 (patch) | |
tree | 704fbd5c4d0fe2612416cea6159f05a40e8d1eab /tests/QtCore/qobject_property_test.py | |
parent | 67cb84debbd19bd47ee0281fd014bd77042f1e4c (diff) |
Updated test with new Property name.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtCore/qobject_property_test.py')
-rw-r--r-- | tests/QtCore/qobject_property_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtCore/qobject_property_test.py b/tests/QtCore/qobject_property_test.py index fcf8e8978..74068940a 100644 --- a/tests/QtCore/qobject_property_test.py +++ b/tests/QtCore/qobject_property_test.py @@ -23,7 +23,7 @@ class ExQObject(QObject): def getProperty(self): return self._value - registeredproperty = QProperty(int, getProperty, setProperty) + registeredproperty = Property(int, getProperty, setProperty) class MyObject(QObject): '''Test Property''' @@ -34,7 +34,7 @@ class MyObject(QObject): def trySetPP(self): self.pp = 0 - pp = QProperty(int, readPP) + pp = Property(int, readPP) class PropertyCase(unittest.TestCase): '''Test case for QObject properties''' |