aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtScript
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-09-20 11:17:28 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-09-20 14:20:56 -0300
commitb476759ed077e45f6d9ec78cf367554f1f5114f3 (patch)
tree704fbd5c4d0fe2612416cea6159f05a40e8d1eab /tests/QtScript
parent67cb84debbd19bd47ee0281fd014bd77042f1e4c (diff)
Updated test with new Property name.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtScript')
-rw-r--r--tests/QtScript/property_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtScript/property_test.py b/tests/QtScript/property_test.py
index 6d2041699..52c01f7cb 100644
--- a/tests/QtScript/property_test.py
+++ b/tests/QtScript/property_test.py
@@ -1,6 +1,6 @@
import unittest
-from PySide.QtCore import QObject, QProperty, QCoreApplication
+from PySide.QtCore import QObject, Property, QCoreApplication
from PySide.QtScript import QScriptEngine
class MyObject(QObject):
@@ -20,7 +20,7 @@ class MyObject(QObject):
def delX(self):
self._p = 0
- x = QProperty(int, getX, setX, resetX, delX)
+ x = Property(int, getX, setX, resetX, delX)
class QPropertyTest(unittest.TestCase):