summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeproperty_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-10-07 07:42:08 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-10-07 07:43:22 (GMT)
commit803bdd187ec1673541b7ef8dc69652c10d0e6f88 (patch)
tree9fd62d77b792ebb6b63229a6bde562534d1bcf0f /src/declarative/qml/qdeclarativeproperty_p.h
parentdaade9bb4f1362ec0ced42e8ce2c0d7f42be88c9 (diff)
downloadQt-803bdd187ec1673541b7ef8dc69652c10d0e6f88.zip
Qt-803bdd187ec1673541b7ef8dc69652c10d0e6f88.tar.gz
Qt-803bdd187ec1673541b7ef8dc69652c10d0e6f88.tar.bz2
Connect property alias change signals on use
Task-number: QTBUG-14089
Diffstat (limited to 'src/declarative/qml/qdeclarativeproperty_p.h')
-rw-r--r--src/declarative/qml/qdeclarativeproperty_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeproperty_p.h b/src/declarative/qml/qdeclarativeproperty_p.h
index 8522561..a8438c8 100644
--- a/src/declarative/qml/qdeclarativeproperty_p.h
+++ b/src/declarative/qml/qdeclarativeproperty_p.h
@@ -133,6 +133,9 @@ public:
static int valueTypeCoreIndex(const QDeclarativeProperty &that);
static int bindingIndex(const QDeclarativeProperty &that);
static QMetaMethod findSignalByName(const QMetaObject *mo, const QByteArray &);
+ static bool connect(const QObject *sender, int signal_index,
+ const QObject *receiver, int method_index,
+ int type = 0, int *types = 0);
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QDeclarativePropertyPrivate::WriteFlags)