diff options
Diffstat (limited to 'share/qtcreator/qml-type-descriptions/qtmobility-publishsubscribe.qmltypes')
-rw-r--r-- | share/qtcreator/qml-type-descriptions/qtmobility-publishsubscribe.qmltypes | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/share/qtcreator/qml-type-descriptions/qtmobility-publishsubscribe.qmltypes b/share/qtcreator/qml-type-descriptions/qtmobility-publishsubscribe.qmltypes index 9612c8614d..e585a61580 100644 --- a/share/qtcreator/qml-type-descriptions/qtmobility-publishsubscribe.qmltypes +++ b/share/qtcreator/qml-type-descriptions/qtmobility-publishsubscribe.qmltypes @@ -5,13 +5,33 @@ import QtQuick.tooling 1.0 Module { Component { - name: "QValueSpaceSubscriber" + name: "QDeclarativeValueSpacePublisher" + prototype: "QObject" + exports: [ + "QtMobility.publishsubscribe/ValueSpacePublisher 1.2" + ] + Property { name: "path"; type: "string" } + Property { name: "hasSubscribers"; type: "bool"; isReadonly: true } + Property { name: "keys"; type: "QStringList" } + Property { name: "value"; type: "QVariant" } + Property { name: "server"; type: "bool" } + Signal { name: "subscribersChanged" } + } + Component { + name: "QDeclarativeValueSpaceSubscriber" prototype: "QObject" exports: [ "QtMobility.publishsubscribe/ValueSpaceSubscriber 1.1" ] Property { name: "path"; type: "string" } Property { name: "value"; type: "QVariant"; isReadonly: true } + Property { name: "connected"; type: "bool"; isReadonly: true } + Property { name: "subPaths"; type: "QStringList"; isReadonly: true } Signal { name: "contentsChanged" } + Signal { name: "pathChanged" } + Method { + name: "setPath" + Parameter { name: "path"; type: "string" } + } } } |