![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qtenvironmentvariables.h"#include "qtenvironmentvariables_p.h"#include <qplatformdefs.h>#include <QtCore/qbytearray.h>#include <QtCore/qmutex.h>#include <QtCore/qstring.h>#include <QtCore/qvarlengtharray.h>#include <QtCore/private/qlocale_p.h>#include <QtCore/private/qlocking_p.h>Go to the source code of this file.
Functions | |
| QString | qEnvironmentVariable (const char *varName, const QString &defaultValue) |
| QString | qEnvironmentVariable (const char *varName) |
| bool | qputenv (const char *varName, QByteArrayView raw) |
| void | qTzSet () |
| time_t | qMkTime (struct tm *when) |
| bool | qLocalTime (time_t utc, struct tm *local) |
| QString | qTzName (int dstIndex) |
Variables | |
| QT_BEGIN_NAMESPACE static Q_CONSTINIT QBasicMutex | environmentMutex |
| QString qEnvironmentVariable | ( | const char * | varName | ) |
Definition at line 137 of file qtenvironmentvariables.cpp.
Definition at line 104 of file qtenvironmentvariables.cpp.
| bool qLocalTime | ( | time_t | utc, |
| struct tm * | local ) |
Definition at line 366 of file qtenvironmentvariables.cpp.
| time_t qMkTime | ( | struct tm * | when | ) |
Definition at line 352 of file qtenvironmentvariables.cpp.
| bool qputenv | ( | const char * | varName, |
| QByteArrayView | raw ) |
Definition at line 267 of file qtenvironmentvariables.cpp.
| QString qTzName | ( | int | dstIndex | ) |
Definition at line 409 of file qtenvironmentvariables.cpp.
| void qTzSet | ( | ) |
Definition at line 339 of file qtenvironmentvariables.cpp.
|
static |
Definition at line 20 of file qtenvironmentvariables.cpp.