Updated test with new Property name.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
renatofilho 2010-09-20 11:17:28 -03:00
commit b476759ed0
2 changed files with 4 additions and 4 deletions

View file

@ -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'''