Skip to content

Commit

Permalink
Merge branch 'jb48047' into 'master'
Browse files Browse the repository at this point in the history
Update plugins.qmltypes.

See merge request mer-core/libmce-qt!7
  • Loading branch information
monich committed Nov 15, 2019
2 parents 5f5b1ae + b7f642d commit e64bdbf
Showing 1 changed file with 65 additions and 1 deletion.
66 changes: 65 additions & 1 deletion plugin/plugins.qmltypes
Expand Up @@ -7,7 +7,7 @@ import QtQuick.tooling 1.2
// 'qmlplugindump -nonrelocatable Nemo.Mce 1.0'

Module {
dependencies: []
dependencies: ["QtQuick 2.0"]
Component {
name: "QMceBatteryLevel"
prototype: "QObject"
Expand All @@ -16,6 +16,25 @@ Module {
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "percent"; type: "int"; isReadonly: true }
}
Component {
name: "QMceBatteryState"
prototype: "QObject"
exports: ["Nemo.Mce/MceBatteryState 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "State"
values: {
"Unknown": 0,
"Charging": 1,
"Discharging": 2,
"NotCharging": 3,
"Full": 4
}
}
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "value"; type: "State"; isReadonly: true }
Signal { name: "stateChanged" }
}
Component {
name: "QMceBatteryStatus"
prototype: "QObject"
Expand All @@ -41,6 +60,31 @@ Module {
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "connected"; type: "bool"; isReadonly: true }
}
Component {
name: "QMceCallState"
prototype: "QObject"
exports: ["Nemo.Mce/MceCallState 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "State"
values: {
"None": 0,
"Ringing": 1,
"Active": 2,
"Service": 3
}
}
Enum {
name: "Type"
values: {
"Normal": 0,
"Emergency": 1
}
}
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "state"; type: "State"; isReadonly: true }
Property { name: "type"; type: "Type"; isReadonly: true }
}
Component {
name: "QMceChargerState"
prototype: "QObject"
Expand All @@ -49,6 +93,26 @@ Module {
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "charging"; type: "bool"; isReadonly: true }
}
Component {
name: "QMceChargerType"
prototype: "QObject"
exports: ["Nemo.Mce/MceChargerType 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "Type"
values: {
"None": 0,
"USB": 1,
"DCP": 2,
"HVDCP": 3,
"CDP": 4,
"Wireless": 5,
"Other": 6
}
}
Property { name: "valid"; type: "bool"; isReadonly: true }
Property { name: "type"; type: "Type"; isReadonly: true }
}
Component {
name: "QMceDisplay"
prototype: "QObject"
Expand Down

0 comments on commit e64bdbf

Please sign in to comment.