summaryrefslogtreecommitdiffstats
path: root/src/imports/localdevice/plugins.qmltypes
diff options
context:
space:
mode:
authorTeemu Holappa <teemu.holappa@theqtcompany.com>2016-02-11 11:50:55 +0200
committerTeemu Holappa <teemu.holappa@theqtcompany.com>2016-02-17 11:57:20 +0000
commitf1d884b6dad5a93d7a3077b6b05d3ec7fcd9a6ea (patch)
tree9d48669bdf1e8877b19c3a98cd8bbd8c90df5290 /src/imports/localdevice/plugins.qmltypes
parentb4088adc7f2666d468a478e379b94c5cb4494c1b (diff)
Refactored Qml plugins into modules.
Separated C++ and Qml interfaces. All the UI's from plugins are moved to the settingsui folder. Change-Id: Id6a6623346b18321357bc42d24121c4d9cdfd098 Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
Diffstat (limited to 'src/imports/localdevice/plugins.qmltypes')
-rw-r--r--src/imports/localdevice/plugins.qmltypes54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/imports/localdevice/plugins.qmltypes b/src/imports/localdevice/plugins.qmltypes
new file mode 100644
index 0000000..88acb66
--- /dev/null
+++ b/src/imports/localdevice/plugins.qmltypes
@@ -0,0 +1,54 @@
+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 -nonrelocatable B2Qt.Utils 1.0 /system/qml/B2Qt/Utils/'
+
+Module {
+ Component {
+ name: "B2QtDevice"
+ prototype: "QObject"
+ exports: ["B2Qt.Utils/B2QtDevice 1.0"]
+ isCreatable: false
+ isSingleton: true
+ exportMetaObjectRevisions: [0]
+ Property { name: "displayBrightness"; type: "uchar" }
+ Property { name: "hostname"; type: "string" }
+ Property { name: "ipAddress"; type: "string"; isReadonly: true }
+ Property { name: "masterVolume"; type: "int" }
+ Signal {
+ name: "displayBrightnessChanged"
+ Parameter { name: "newValue"; type: "uchar" }
+ }
+ Signal {
+ name: "hostnameChanged"
+ Parameter { name: "newName"; type: "string" }
+ }
+ Signal {
+ name: "ipAddressChanged"
+ Parameter { name: "newAddress"; type: "string" }
+ }
+ Signal {
+ name: "masterVolumeChanged"
+ Parameter { name: "newVolume"; type: "int" }
+ }
+ Method { name: "reboot" }
+ Method { name: "powerOff" }
+ Method {
+ name: "setDisplayBrightness"
+ type: "bool"
+ Parameter { name: "value"; type: "uchar" }
+ }
+ Method {
+ name: "setHostname"
+ type: "bool"
+ Parameter { name: "name"; type: "string" }
+ }
+ Method {
+ name: "setMasterVolume"
+ Parameter { name: "volume"; type: "int" }
+ }
+ }
+}