Environment Class


Public Functions

QProcessEnvironment applyTo(const QProcessEnvironment &qpe) const
void applyTo(QProcess *process)
void setTemporaryValue(const QString &key, const QString &value)
QString value(const QString &key, const QString &defaultValue = QString()) const

Static Public Members

Environment &instance()

Member Function Documentation


Destroys the instance of Environment.

QProcessEnvironment Environment::applyTo(const QProcessEnvironment &qpe) const

void Environment::applyTo(QProcess *process)

[static] Environment &Environment::instance()

void Environment::setTemporaryValue(const QString &key, const QString &value)

QString Environment::value(const QString &key, const QString &defaultValue = QString()) const

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. The Qt Company, Qt and their respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.