Skip to content

Commit

Permalink
[mce-qt] Update plugins.qmltypes. Contributes to JB#44886
Browse files Browse the repository at this point in the history
  • Loading branch information
martyone committed Feb 21, 2019
1 parent 5967145 commit a56b871
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions plugin/plugins.qmltypes
Expand Up @@ -8,6 +8,47 @@ import QtQuick.tooling 1.2

Module {
dependencies: []
Component {
name: "QMceBatteryLevel"
prototype: "QObject"
exports: ["Nemo.Mce/MceBatteryLevel 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "percent"; type: "int"; isReadonly: true }
}
Component {
name: "QMceBatteryStatus"
prototype: "QObject"
exports: ["Nemo.Mce/MceBatteryStatus 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Status"
values: {
"Empty": 0,
"Low": 1,
"Ok": 2,
"Full": 3
}
}
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "status"; type: "Status"; isReadonly: true }
}
Component {
name: "QMceCableState"
prototype: "QObject"
exports: ["Nemo.Mce/MceCableState 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "connected"; type: "bool"; isReadonly: true }
}
Component {
name: "QMceChargerState"
prototype: "QObject"
exports: ["Nemo.Mce/MceChargerState 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "charging"; type: "bool"; isReadonly: true }
}
Component {
name: "QMceDisplay"
prototype: "QObject"
Expand All @@ -24,6 +65,14 @@ Module {
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "state"; type: "State"; isReadonly: true }
}
Component {
name: "QMcePowerSaveMode"
prototype: "QObject"
exports: ["Nemo.Mce/McePowerSaveMode 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "active"; type: "bool"; isReadonly: true }
}
Component {
name: "QMceTkLock"
prototype: "QObject"
Expand Down

0 comments on commit a56b871

Please sign in to comment.