fix typos in api doc
This commit is contained in:
parent
331966c8dd
commit
b6a3a8e0bf
@ -39,10 +39,10 @@ SystemHandler::SystemHandler(Platform *platform, QObject *parent):
|
||||
// Methods
|
||||
QString description; QVariantMap params; QVariantMap returns;
|
||||
description = "Get the list of capabilites on this system. The property \"powerManagement\" indicates whether "
|
||||
"rebooting or shutting down the system running nymea:core is supported on this host. The property "
|
||||
"\"updateManagement indicates whether system update features are available in this API. The "
|
||||
"property \"timeManagement\" indicates whether the system time can be configured on this system. "
|
||||
"Note that GetTime will be available in any case.";
|
||||
"rebooting or shutting down is supported on this system. The property \"updateManagement indicates "
|
||||
"whether system update features are available in this system. The property \"timeManagement\" "
|
||||
"indicates whether the system time can be configured on this system. Note that GetTime will be "
|
||||
"available in any case.";
|
||||
returns.insert("powerManagement", enumValueName(Bool));
|
||||
returns.insert("updateManagement", enumValueName(Bool));
|
||||
returns.insert("timeManagement", enumValueName(Bool));
|
||||
@ -150,7 +150,7 @@ SystemHandler::SystemHandler(Platform *platform, QObject *parent):
|
||||
|
||||
params.clear(); returns.clear();
|
||||
description = "Returns the list of IANA specified time zone IDs which can be used to select a time zone. It is not "
|
||||
"required to use this method of the client toolkit already provides means to obtain a list of IANA time "
|
||||
"required to use this method if the client toolkit already provides means to obtain a list of IANA time "
|
||||
"zone ids.";
|
||||
returns.insert("timeZones", enumValueName(StringList));
|
||||
registerMethod("GetTimeZones", description, params, returns);
|
||||
|
||||
@ -1257,7 +1257,7 @@
|
||||
}
|
||||
},
|
||||
"System.GetCapabilities": {
|
||||
"description": "Get the list of capabilites on this system. The property \"powerManagement\" indicates whether rebooting or shutting down the system running nymea:core is supported on this host. The property \"updateManagement indicates whether system update features are available in this API. The property \"timeManagement\" indicates whether the system time can be configured on this system. Note that GetTime will be available in any case.",
|
||||
"description": "Get the list of capabilites on this system. The property \"powerManagement\" indicates whether rebooting or shutting down is supported on this system. The property \"updateManagement indicates whether system update features are available in this system. The property \"timeManagement\" indicates whether the system time can be configured on this system. Note that GetTime will be available in any case.",
|
||||
"params": {
|
||||
},
|
||||
"returns": {
|
||||
@ -1294,7 +1294,7 @@
|
||||
}
|
||||
},
|
||||
"System.GetTimeZones": {
|
||||
"description": "Returns the list of IANA specified time zone IDs which can be used to select a time zone. It is not required to use this method of the client toolkit already provides means to obtain a list of IANA time zone ids.",
|
||||
"description": "Returns the list of IANA specified time zone IDs which can be used to select a time zone. It is not required to use this method if the client toolkit already provides means to obtain a list of IANA time zone ids.",
|
||||
"params": {
|
||||
},
|
||||
"returns": {
|
||||
|
||||
Reference in New Issue
Block a user