diff options
author | Kari Oikarinen <kari.oikarinen@qt.io> | 2017-03-29 12:33:15 +0300 |
---|---|---|
committer | Kari Oikarinen <kari.oikarinen@qt.io> | 2017-03-30 06:46:35 +0000 |
commit | e03870106f149c480c64e77880d52b061d82f4bd (patch) | |
tree | 2907b154bcf77b10b4504e55a781aa8527a11050 /src/imports/displaysettings | |
parent | 656c17160083eae8f730a2f07644cf8b647729ed (diff) |
Add plugins.qmltypes files to the QML plugins
Task-number: QTBUG-56864
Change-Id: Id618fca5c4c40e2d1d37a0a3dc45efe33b195dc5
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'src/imports/displaysettings')
-rw-r--r-- | src/imports/displaysettings/plugins.qmltypes | 47 | ||||
-rw-r--r-- | src/imports/displaysettings/qmldir | 1 |
2 files changed, 48 insertions, 0 deletions
diff --git a/src/imports/displaysettings/plugins.qmltypes b/src/imports/displaysettings/plugins.qmltypes new file mode 100644 index 0000000..bebb50e --- /dev/null +++ b/src/imports/displaysettings/plugins.qmltypes @@ -0,0 +1,47 @@ +import QtQuick.tooling 1.2 + +// 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 QtDeviceUtilities.DisplaySettings 1.0' + +Module { + dependencies: [] + Component { + name: "DisplaySettings" + prototype: "QObject" + exports: ["QtDeviceUtilities.DisplaySettings/DisplaySettings 1.0"] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0] + Property { name: "displayBrightness"; type: "int" } + Property { name: "physicalScreenSizeInch"; type: "int" } + Property { name: "physicalScreenSizeOverride"; type: "bool" } + Signal { + name: "displayBrightnessChanged" + Parameter { name: "newValue"; type: "int" } + } + Signal { + name: "physicalScreenSizeInchChanged" + Parameter { name: "newInches"; type: "int" } + } + Signal { + name: "physicalScreenSizeOverrideChanged" + Parameter { name: "newValue"; type: "bool" } + } + Method { + name: "setDisplayBrightness" + type: "bool" + Parameter { name: "value"; type: "int" } + } + Method { + name: "setPhysicalScreenSizeInch" + Parameter { name: "inches"; type: "int" } + } + Method { + name: "setPhysicalScreenSizeOverride" + Parameter { name: "enable"; type: "bool" } + } + } +} diff --git a/src/imports/displaysettings/qmldir b/src/imports/displaysettings/qmldir index 35c1462..4576519 100644 --- a/src/imports/displaysettings/qmldir +++ b/src/imports/displaysettings/qmldir @@ -1,2 +1,3 @@ module QtDeviceUtilities.DisplaySettings plugin qmldisplaysettingsplugin +typeinfo plugins.qmltypes |