![]() |
KVIrc 5.2.4
Developer APIs
|
Functions | |
QString | getVariable (const QString &szName) |
Gets environment variable. | |
bool | setVariable (const QString &szName, const QString &szValue) |
Sets environment variable. | |
void | unsetVariable (const QString &szName) |
Unsets environment variable. | |
|
inline |
Gets environment variable.
name | The name of the variable to get |
Referenced by KviLocale::KviLocale(), system_kvs_fnc_getenv(), and unsetVariable().
KVILIB_API bool KviEnvironment::setVariable | ( | const QString & | szName, |
const QString & | szValue | ||
) |
Sets environment variable.
name | The name of the variable to set |
value | The value of the variable |
References KviMemory::allocate(), KviMemory::free(), and KviMemory::move().
Referenced by system_kvs_cmd_setenv().
KVILIB_API void KviEnvironment::unsetVariable | ( | const QString & | szName | ) |
Unsets environment variable.
name | The name of the variable to set |
References KviMemory::allocate(), KviMemory::free(), getVariable(), and KviMemory::move().
Referenced by system_kvs_cmd_setenv().