![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qtconfigmacros.h>#include <QtCore/qtcoreexports.h>#include <QtCore/qtdeprecationmarkers.h>#include <QtCore/qtypes.h>#include <optional>Go to the source code of this file.
Functions | |
| Q_CORE_EXPORT QByteArray | qgetenv (const char *varName) |
| Q_CORE_EXPORT QString | qEnvironmentVariable (const char *varName) |
| Q_CORE_EXPORT QString | qEnvironmentVariable (const char *varName, const QString &defaultValue) |
| Q_CORE_EXPORT bool | qputenv (const char *varName, QByteArrayView valuevalue) |
| Q_CORE_EXPORT bool | qunsetenv (const char *varName) |
| Q_CORE_EXPORT bool | qEnvironmentVariableIsEmpty (const char *varName) noexcept |
| Q_CORE_EXPORT bool | qEnvironmentVariableIsSet (const char *varName) noexcept |
| Q_CORE_EXPORT int | qEnvironmentVariableIntValue (const char *varName, bool *ok=nullptr) noexcept |
| Q_CORE_EXPORT std::optional< qint64 > | qEnvironmentVariableIntegerValue (const char *varName) noexcept |
| Q_CORE_EXPORT QString qEnvironmentVariable | ( | const char * | varName | ) |
Definition at line 153 of file qtenvironmentvariables.cpp.
Definition at line 120 of file qtenvironmentvariables.cpp.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| Q_CORE_EXPORT QByteArray qgetenv | ( | const char * | varName | ) |
| Q_CORE_EXPORT bool qputenv | ( | const char * | varName, |
| QByteArrayView | value ) |
Definition at line 283 of file qtenvironmentvariables.cpp.
| Q_CORE_EXPORT bool qunsetenv | ( | const char * | varName | ) |