summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativepropertychanges_p.h
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-09-15 05:20:08 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-09-15 05:20:08 (GMT)
commit783d4911d61b986ca3c412662d1702dd18014be2 (patch)
tree2f0cac21e6e2b398ddfabed6de2c94e92eb1f017 /src/declarative/util/qdeclarativepropertychanges_p.h
parent05ab8ad1577fc038aa2b3bd96cedda54e6a64979 (diff)
parentb8ff1ae9d53d7cac64c90d3cf29a5f4ed7379330 (diff)
downloadQt-783d4911d61b986ca3c412662d1702dd18014be2.zip
Qt-783d4911d61b986ca3c412662d1702dd18014be2.tar.gz
Qt-783d4911d61b986ca3c412662d1702dd18014be2.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Compile with QT_NO_GESTURES. Give file and line error information for errors in dummydata. Restore any absolute geometry changed by AnchorChanges when returning Export QDeclarativeScriptAction Completing the interface for children/data/resources Unit tests for Bauhaus enablers This patch allows modifications on PropertyChanges on the fly
Diffstat (limited to 'src/declarative/util/qdeclarativepropertychanges_p.h')
-rw-r--r--src/declarative/util/qdeclarativepropertychanges_p.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativepropertychanges_p.h b/src/declarative/util/qdeclarativepropertychanges_p.h
index 8578086..199928f 100644
--- a/src/declarative/util/qdeclarativepropertychanges_p.h
+++ b/src/declarative/util/qdeclarativepropertychanges_p.h
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
class QDeclarativePropertyChangesPrivate;
-class Q_AUTOTEST_EXPORT QDeclarativePropertyChanges : public QDeclarativeStateOperation
+class Q_DECLARATIVE_EXPORT QDeclarativePropertyChanges : public QDeclarativeStateOperation
{
Q_OBJECT
Q_DECLARE_PRIVATE(QDeclarativePropertyChanges)
@@ -74,6 +74,20 @@ public:
void setIsExplicit(bool);
virtual ActionList actions();
+
+ bool containsProperty(const QByteArray &name) const;
+ bool containsValue(const QByteArray &name) const;
+ bool containsExpression(const QByteArray &name) const;
+ void changeValue(const QByteArray &name, const QVariant &value);
+ void changeExpression(const QByteArray &name, const QString &expression);
+ void removeProperty(const QByteArray &name);
+ QVariant value(const QByteArray &name) const;
+ QString expression(const QByteArray &name) const;
+
+ void detachFromState();
+ void attachToState();
+
+ QVariant property(const QByteArray &name) const;
};
class QDeclarativePropertyChangesParser : public QDeclarativeCustomParser