summaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-10-10 13:55:28 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-11 15:57:06 +0200
commita575626bd20223f7a906162dcfb74963291a1330 (patch)
tree36e8717c9f90178f405e285a2542a2a1b44f77e6 /src/imports
parent07520e4b650e0a6b4c5039bc0fdc7687df009d15 (diff)
Update QML type description for Bluetooth QML API due to API changes.
Change-Id: I30ae8567823e9d48a51654f18048bf66babc6e5a Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/bluetooth/plugins.qmltypes46
1 files changed, 14 insertions, 32 deletions
diff --git a/src/imports/bluetooth/plugins.qmltypes b/src/imports/bluetooth/plugins.qmltypes
index ba4b1bc7..89db5407 100644
--- a/src/imports/bluetooth/plugins.qmltypes
+++ b/src/imports/bluetooth/plugins.qmltypes
@@ -35,54 +35,36 @@ Module {
Property { name: "uuidFilter"; type: "string" }
Property { name: "remoteAddress"; type: "string" }
Signal {
- name: "newServiceDiscovered"
+ name: "serviceDiscovered"
Parameter { name: "service"; type: "QDeclarativeBluetoothService"; isPointer: true }
}
- Signal { name: "newDeviceDiscovered" }
+ Signal {
+ name: "deviceDiscovered"
+ Parameter { name: "device"; type: "string" }
+ }
}
Component {
name: "QDeclarativeBluetoothService"
prototype: "QObject"
exports: ["QtBluetooth/BluetoothService 5.0"]
exportMetaObjectRevisions: [0]
+ Enum {
+ name: "Protocol"
+ values: {
+ "RfcommProtocol": 2,
+ "L2CapProtocol": 1,
+ "UnknownProtocol": 0
+ }
+ }
Property { name: "deviceName"; type: "string"; isReadonly: true }
Property { name: "deviceAddress"; type: "string" }
Property { name: "serviceName"; type: "string" }
Property { name: "serviceDescription"; type: "string" }
Property { name: "serviceUuid"; type: "string" }
- Property { name: "serviceProtocol"; type: "string" }
- Property { name: "servicePort"; type: "int" }
+ Property { name: "serviceProtocol"; type: "Protocol" }
Property { name: "registered"; type: "bool" }
Signal { name: "detailsChanged" }
Signal { name: "newClient" }
- Method {
- name: "setServiceName"
- Parameter { name: "name"; type: "string" }
- }
- Method {
- name: "setDeviceAddress"
- Parameter { name: "address"; type: "string" }
- }
- Method {
- name: "setServiceDescription"
- Parameter { name: "description"; type: "string" }
- }
- Method {
- name: "setServiceUuid"
- Parameter { name: "uuid"; type: "string" }
- }
- Method {
- name: "setServiceProtocol"
- Parameter { name: "protocol"; type: "string" }
- }
- Method {
- name: "setServicePort"
- Parameter { name: "port"; type: "int" }
- }
- Method {
- name: "setRegistered"
- Parameter { name: "registered"; type: "bool" }
- }
Method { name: "nextClient"; type: "QDeclarativeBluetoothSocket*" }
Method {
name: "assignNextClient"