#include "symbols.h"
#include <QVariant>
#include <QColor>
Go to the source code of this file.
◆ changeSetting()
| void Schim::changeSetting |
( |
const QString & |
key, |
|
|
const QVariant & |
value, |
|
|
bool |
sync = true |
|
) |
| |
Change the value of the setting with the specified key.
- Parameters
-
| sync | Write the change to the settings file |
◆ getSetting()
| QVariant Schim::getSetting |
( |
const QString & |
key, |
|
|
const QVariant & |
defaultValue |
|
) |
| |
Read the setting with the specified key.
- Parameters
-
| defaultValue | Fallback value if the setting is not found |
◆ resolvePath()
| QString Schim::resolvePath |
( |
const QString & |
path | ) |
|
Take a loose path and return a file path.
- Parameters
-
| path | A loose path, e.g. a component name, path relative to installation directory, real path, etc. |