summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-09-25 18:14:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-26 08:41:16 +0200
commitda9a3a88efbc60df892fdf6ede2ba82e3c04ba85 (patch)
tree31e85603904513b07951e6070a2fbeb520c43e0a /src/imports
parentefb67941585a82c190302af18d5b6350386ed7da (diff)
Update QML plugin meta data for Qt Creator
Change-Id: Ie5a9f5f0844adbd1e27753f3f6970b9431d5d741 Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/bluetooth/plugins.qmltypes62
-rw-r--r--src/imports/nfc/plugins.qmltypes73
2 files changed, 125 insertions, 10 deletions
diff --git a/src/imports/bluetooth/plugins.qmltypes b/src/imports/bluetooth/plugins.qmltypes
index 578cd711..ba4b1bc7 100644
--- a/src/imports/bluetooth/plugins.qmltypes
+++ b/src/imports/bluetooth/plugins.qmltypes
@@ -3,7 +3,8 @@ import QtQuick.tooling 1.1
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
-// This file was auto-generated with the command 'qmlplugindump -notrelocatable QtBluetooth 5.0'.
+// This file was auto-generated by:
+// 'qmlplugindump -notrelocatable QtBluetooth 5.0'
Module {
Component {
@@ -11,18 +12,33 @@ Module {
prototype: "QAbstractListModel"
exports: ["QtBluetooth/BluetoothDiscoveryModel 5.0"]
exportMetaObjectRevisions: [0]
- Property { name: "error"; type: "string"; isReadonly: true }
- Property { name: "minimalDiscovery"; type: "bool" }
- Property { name: "discovery"; type: "bool" }
+ Enum {
+ name: "DiscoveryMode"
+ values: {
+ "MinimalServiceDiscovery": 0,
+ "FullServiceDiscovery": 1,
+ "DeviceDiscovery": 2
+ }
+ }
+ Enum {
+ name: "Error"
+ values: {
+ "NoError": 0,
+ "InputOutputError": 1,
+ "PoweredOffError": 2,
+ "UnknownError": 3
+ }
+ }
+ Property { name: "error"; type: "Error"; isReadonly: true }
+ Property { name: "discoveryMode"; type: "DiscoveryMode" }
+ Property { name: "running"; type: "bool" }
Property { name: "uuidFilter"; type: "string" }
+ Property { name: "remoteAddress"; type: "string" }
Signal {
name: "newServiceDiscovered"
Parameter { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true }
}
- Method {
- name: "setDiscovery"
- Parameter { name: "discovery_"; type: "bool" }
- }
+ Signal { name: "newDeviceDiscovered" }
}
Component {
name: "QDeclarativeBluetoothService"
@@ -78,11 +94,37 @@ Module {
prototype: "QObject"
exports: ["QtBluetooth/BluetoothSocket 5.0"]
exportMetaObjectRevisions: [0]
+ Enum {
+ name: "Error"
+ values: {
+ "NoError": -2,
+ "UnknownSocketError": -1,
+ "HostNotFoundError": 2,
+ "ServiceNotFoundError": 9,
+ "NetworkError": 7,
+ "UnsupportedProtocolError": 8,
+ "NoSocketerror": 9
+ }
+ }
+ Enum {
+ name: "SocketState"
+ values: {
+ "Unconnected": 0,
+ "ServiceLookup": 1,
+ "Connecting": 2,
+ "Connected": 3,
+ "Bound": 4,
+ "Closing": 6,
+ "Listening": 5,
+ "NoServiceSet": 6
+ }
+ }
Property { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true }
Property { name: "connected"; type: "bool" }
- Property { name: "error"; type: "string"; isReadonly: true }
- Property { name: "state"; type: "string"; isReadonly: true }
+ Property { name: "error"; type: "Error"; isReadonly: true }
+ Property { name: "socketState"; type: "SocketState"; isReadonly: true }
Property { name: "stringData"; type: "string" }
+ Signal { name: "stateChanged" }
Signal { name: "dataAvailable" }
Method {
name: "setService"
diff --git a/src/imports/nfc/plugins.qmltypes b/src/imports/nfc/plugins.qmltypes
new file mode 100644
index 00000000..2d8eef8e
--- /dev/null
+++ b/src/imports/nfc/plugins.qmltypes
@@ -0,0 +1,73 @@
+import QtQuick.tooling 1.1
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -notrelocatable QtNfc 5.0'
+
+Module {
+ Component {
+ name: "QDeclarativeNdefFilter"
+ prototype: "QObject"
+ exports: ["QtNfc/NdefFilter 5.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "type"; type: "string" }
+ Property { name: "minimum"; type: "int" }
+ Property { name: "maximum"; type: "int" }
+ }
+ Component {
+ name: "QDeclarativeNdefMimeRecord"
+ prototype: "QDeclarativeNdefRecord"
+ exports: ["QtNfc/NdefMimeRecord 5.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "uri"; type: "string"; isReadonly: true }
+ }
+ Component {
+ name: "QDeclarativeNdefRecord"
+ prototype: "QObject"
+ exports: ["QtNfc/NdefRecord 5.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "recordType"; type: "string" }
+ Property { name: "record"; type: "QNdefRecord" }
+ }
+ Component {
+ name: "QDeclarativeNdefTextRecord"
+ prototype: "QDeclarativeNdefRecord"
+ exports: ["QtNfc/NdefTextRecord 5.0"]
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "LocaleMatch"
+ values: {
+ "LocaleMatchedNone": 0,
+ "LocaleMatchedEnglish": 1,
+ "LocaleMatchedLanguage": 2,
+ "LocaleMatchedLanguageAndCountry": 3
+ }
+ }
+ Property { name: "text"; type: "string" }
+ Property { name: "locale"; type: "string" }
+ Property { name: "localeMatch"; type: "LocaleMatch"; isReadonly: true }
+ }
+ Component {
+ name: "QDeclarativeNdefUriRecord"
+ prototype: "QDeclarativeNdefRecord"
+ exports: ["QtNfc/NdefUriRecord 5.0"]
+ exportMetaObjectRevisions: [0]
+ Property { name: "uri"; type: "string" }
+ }
+ Component {
+ name: "QDeclarativeNearField"
+ prototype: "QObject"
+ exports: ["QtNfc/NearField 5.0"]
+ exportMetaObjectRevisions: [0]
+ Property {
+ name: "messageRecords"
+ type: "QDeclarativeNdefRecord"
+ isList: true
+ isReadonly: true
+ }
+ Property { name: "filter"; type: "QDeclarativeNdefFilter"; isList: true; isReadonly: true }
+ Property { name: "orderMatch"; type: "bool" }
+ }
+}