Skip to content
Permalink
Browse files
[mce-qt] Add plugins.qmltypes. Contributes to JB#41605
  • Loading branch information
martyone committed Aug 23, 2018
1 parent 7e024d4 commit fd1eb06ea33d47d6519b979187a5826f3201fdb0
Showing with 53 additions and 1 deletion.
  1. +4 −1 plugin/plugin.pro
  2. +48 −0 plugin/plugins.qmltypes
  3. +1 −0 plugin/qmldir
@@ -14,6 +14,9 @@ OTHER_FILES += qmldir

target.path = $$[QT_INSTALL_QML]/Nemo/Mce
qmldir.path = $$[QT_INSTALL_QML]/Nemo/Mce
qmldir.files += qmldir
qmldir.files += qmldir plugins.qmltypes

INSTALLS += target qmldir

qmltypes.commands = qmlplugindump -nonrelocatable Nemo.Mce 1.0 > $$PWD/plugins.qmltypes
QMAKE_EXTRA_TARGETS += qmltypes
@@ -0,0 +1,48 @@
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 Nemo.Mce 1.0'

Module {
dependencies: []
Component {
name: "QMceDisplay"
prototype: "QObject"
exports: ["Nemo.Mce/MceDisplay 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "State"
values: {
"DisplayOff": 0,
"DisplayDim": 1,
"DisplayOn": 2
}
}
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "state"; type: "State"; isReadonly: true }
}
Component {
name: "QMceTkLock"
prototype: "QObject"
exports: ["Nemo.Mce/MceTkLock 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Mode"
values: {
"Locked": 0,
"SilentLocked": 1,
"LockedDim": 2,
"LockedDelay": 3,
"SilentLockedDim": 4,
"Unlocked": 5,
"SilentUnlocked": 6
}
}
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "locked"; type: "bool"; isReadonly: true }
Property { name: "mode"; type: "Mode"; isReadonly: true }
}
}
@@ -1,2 +1,3 @@
module Nemo.Mce
plugin qmcedeclarative
typeinfo plugins.qmltypes

0 comments on commit fd1eb06

Please sign in to comment.