Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb43826' into 'master'
[systemsettings] Update plugins.qmltypes. Contributes to JB#43826

See merge request mer-core/nemo-qml-plugin-systemsettings!88
  • Loading branch information
pvuorela committed Nov 30, 2018
2 parents bc5da22 + ddaed5c commit e588cc1
Showing 1 changed file with 86 additions and 6 deletions.
92 changes: 86 additions & 6 deletions src/plugin/plugins.qmltypes
Expand Up @@ -216,6 +216,11 @@ Module {
"FeatureReboot": 42
}
}
Property { name: "model"; type: "string"; isReadonly: true }
Property { name: "baseModel"; type: "string"; isReadonly: true }
Property { name: "designation"; type: "string"; isReadonly: true }
Property { name: "manufacturer"; type: "string"; isReadonly: true }
Property { name: "prettyName"; type: "string"; isReadonly: true }
Method {
name: "hasFeature"
type: "bool"
Expand Down Expand Up @@ -393,7 +398,11 @@ Module {
"Mounted": 2,
"Unmounting": 3,
"Formatting": 4,
"Formatted": 5
"Formatted": 5,
"Unlocking": 6,
"Unlocked": 7,
"Locking": 8,
"Locked": 9
}
}
Enum {
Expand Down Expand Up @@ -422,6 +431,15 @@ Module {
"Any": 15
}
}
Enum {
name: "ConnectionBus"
values: {
"SDIO": 0,
"USB": 1,
"IEEE1394": 2,
"UnknownBus": 3
}
}
Enum {
name: "Error"
values: {
Expand Down Expand Up @@ -450,6 +468,14 @@ Module {
Parameter { name: "objectPath"; type: "string" }
Parameter { name: "errorName"; type: "string" }
}
Signal {
name: "lockError"
Parameter { name: "error"; type: "Error" }
}
Signal {
name: "unlockError"
Parameter { name: "error"; type: "Error" }
}
Signal {
name: "mountError"
Parameter { name: "error"; type: "Error" }
Expand All @@ -467,19 +493,32 @@ Module {
name: "refresh"
Parameter { name: "index"; type: "int" }
}
Method {
name: "lock"
Parameter { name: "devicePath"; type: "string" }
}
Method {
name: "unlock"
Parameter { name: "devicePath"; type: "string" }
Parameter { name: "passphrase"; type: "string" }
}
Method {
name: "mount"
Parameter { name: "deviceName"; type: "string" }
Parameter { name: "devicePath"; type: "string" }
}
Method {
name: "unmount"
Parameter { name: "deviceName"; type: "string" }
Parameter { name: "devicePath"; type: "string" }
}
Method {
name: "format"
Parameter { name: "deviceName"; type: "string" }
Parameter { name: "type"; type: "string" }
Parameter { name: "label"; type: "string" }
Parameter { name: "devicePath"; type: "string" }
Parameter { name: "arguments"; type: "QVariantMap" }
}
Method {
name: "objectPath"
type: "string"
Parameter { name: "devicePath"; type: "string" }
}
}
Component {
Expand Down Expand Up @@ -794,6 +833,11 @@ Module {
Property { name: "DATA_IN_USE"; type: "string"; isReadonly: true }
Property { name: "USB_DISCONNECTED"; type: "string"; isReadonly: true }
Property { name: "USB_CONNECTED_DIALOG_SHOW"; type: "string"; isReadonly: true }
Property { name: "USB_PRE_UNMOUNT"; type: "string"; isReadonly: true }
Property { name: "RE_MOUNT_FAILED"; type: "string"; isReadonly: true }
Property { name: "MODE_SETTING_FAILED"; type: "string"; isReadonly: true }
Property { name: "CHARGER_CONNECTED"; type: "string"; isReadonly: true }
Property { name: "CHARGER_DISCONNECTED"; type: "string"; isReadonly: true }
Property { name: "MODE_UNDEFINED"; type: "string"; isReadonly: true }
Property { name: "MODE_ASK"; type: "string"; isReadonly: true }
Property { name: "MODE_MASS_STORAGE"; type: "string"; isReadonly: true }
Expand All @@ -806,6 +850,38 @@ Module {
Property { name: "MODE_PC_SUITE"; type: "string"; isReadonly: true }
Property { name: "MODE_CHARGING"; type: "string"; isReadonly: true }
Property { name: "MODE_CHARGER"; type: "string"; isReadonly: true }
Property { name: "MODE_CHARGING_FALLBACK"; type: "string"; isReadonly: true }
Property { name: "MODE_BUSY"; type: "string"; isReadonly: true }
Method {
name: "isEvent"
type: "bool"
Parameter { name: "modeName"; type: "string" }
}
Method {
name: "isState"
type: "bool"
Parameter { name: "modeName"; type: "string" }
}
Method {
name: "isWaitingState"
type: "bool"
Parameter { name: "modeName"; type: "string" }
}
Method {
name: "isFinalState"
type: "bool"
Parameter { name: "modeName"; type: "string" }
}
Method {
name: "isConnected"
type: "bool"
Parameter { name: "modeName"; type: "string" }
}
Method {
name: "isDisconnected"
type: "bool"
Parameter { name: "modeName"; type: "string" }
}
}
Component {
name: "QUsbModed"
Expand All @@ -818,6 +894,10 @@ Module {
Property { name: "hiddenModes"; type: "QStringList"; isReadonly: true }
Property { name: "currentMode"; type: "string" }
Property { name: "configMode"; type: "string" }
Signal {
name: "eventReceived"
Parameter { name: "event"; type: "string" }
}
Signal {
name: "usbStateError"
Parameter { name: "error"; type: "string" }
Expand Down

0 comments on commit e588cc1

Please sign in to comment.