![]() |
COLNEO Pro 1.0
|
Interface for Application API. Register with "cnApplicationAPI".
Functions | |
ApiJsonResponse | getAccessToken () |
ApiJsonResponse | getInfo () |
ApiJsonResponse | getUser () |
SETTINGS | |
ApiJsonResponse | setSettings (QVariant &v) |
ApiJsonResponse | getSettingsValue (QString key) |
ApiJsonResponse | getSettingsDefaultValue (QString key) |
ApiJsonResponse | setSettingsValue (QString key, QVariant &v) |
ApiJsonResponse | getSettingsSupportedKeys () |
ApiJsonResponse | resetSettings () |
ApiJsonResponse | getSettings () |
|
slot |
Get Access Token of logged in user. The user must confirm access to the access token.
|
slotinherited |
Get application information.
|
slot |
Get application setting.
ApiJsonResponse getSettingsDefaultValue | ( | QString | key | ) |
Get application settings default value.
ApiJsonResponse getSettingsSupportedKeys | ( | ) |
Get list of application setting supported keys.
ApiJsonResponse getSettingsValue | ( | QString | key | ) |
Get application settings value.
|
slotinherited |
Get data of the user currently logged in.
ApiJsonResponse resetSettings | ( | ) |
Reset settings to default values. Values of settings without defaiult value are not changed.
ApiJsonResponse setSettings | ( | QVariant & | v | ) |
set application settings.
ApiJsonResponse setSettingsValue | ( | QString | key, |
QVariant & | v ) |
Set application settings value for given key.