diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-10 19:57:18 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-10 20:18:59 -0300 |
commit | 1b6337d8b4a65988dfbeb0eed67bc6584b25fdee (patch) | |
tree | e6efde3e5d00d4530f321894e62801ab8eac72e8 /tests/QtCore/qabstracttransition_test.py | |
parent | d8a192b5e14e996992a98766cd39ca2028e6474e (diff) |
Removed QVariant from PySide.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtCore/qabstracttransition_test.py')
-rw-r--r-- | tests/QtCore/qabstracttransition_test.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/QtCore/qabstracttransition_test.py b/tests/QtCore/qabstracttransition_test.py index 510b8ef64..4ba6d83e5 100644 --- a/tests/QtCore/qabstracttransition_test.py +++ b/tests/QtCore/qabstracttransition_test.py @@ -1,8 +1,7 @@ #!/usr/bin/python import unittest from sys import getrefcount -from PySide.QtCore import QObject, SIGNAL, QCoreApplication, QTimer, QVariant -from PySide.QtCore import QState, QFinalState, QStateMachine, QParallelAnimationGroup, QEventTransition +from PySide.QtCore import * def addStates(transition): sx = QState() @@ -19,11 +18,11 @@ class QAbstractTransitionTest(unittest.TestCase): app = QCoreApplication([]) o = QObject() - o.setProperty("text", QVariant("INdT")) + o.setProperty("text", "INdT") machine = QStateMachine() s1 = QState() - s1.assignProperty(o, "text", QVariant("Rocks")) + s1.assignProperty(o, "text", "Rocks") s2 = QFinalState() t = s1.addTransition(o, SIGNAL("change()"), s2) |