From f1d884b6dad5a93d7a3077b6b05d3ec7fcd9a6ea Mon Sep 17 00:00:00 2001 From: Teemu Holappa Date: Thu, 11 Feb 2016 11:50:55 +0200 Subject: 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 --- src/imports/localdevice/plugins.qmltypes | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/imports/localdevice/plugins.qmltypes (limited to 'src/imports/localdevice/plugins.qmltypes') 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" } + } + } +} -- cgit v1.2.3