aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore')
-rw-r--r--tests/QtCore/qobject_property_test.py4
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'''