Publish qEnvironmentVariableIs{Set,Empty}()
Change-Id: I81b960495c206024b4124cebf88b48b0c0d73619 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2523f20c61
commit
5fcb438e7b
@ -2124,7 +2124,7 @@ QString qt_error_string(int errorCode)
|
|||||||
uses the new replacement function in VC, and calls the standard C
|
uses the new replacement function in VC, and calls the standard C
|
||||||
library's implementation on all other platforms.
|
library's implementation on all other platforms.
|
||||||
|
|
||||||
\sa qputenv()
|
\sa qputenv(), qEnvironmentVariableIsSet(), qEnvironmentVariableIsEmpty()
|
||||||
*/
|
*/
|
||||||
QByteArray qgetenv(const char *varName)
|
QByteArray qgetenv(const char *varName)
|
||||||
{
|
{
|
||||||
@ -2147,10 +2147,9 @@ QByteArray qgetenv(const char *varName)
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\relates <QtGlobal>
|
\relates <QtGlobal>
|
||||||
\internal
|
\since 5.1
|
||||||
|
|
||||||
This function checks whether the environment variable \a varName
|
Returns whether the environment variable \a varName is empty.
|
||||||
is empty.
|
|
||||||
|
|
||||||
Equivalent to
|
Equivalent to
|
||||||
\code
|
\code
|
||||||
@ -2177,10 +2176,9 @@ bool qEnvironmentVariableIsEmpty(const char *varName) Q_DECL_NOEXCEPT
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\relates <QtGlobal>
|
\relates <QtGlobal>
|
||||||
\internal
|
\since 5.1
|
||||||
|
|
||||||
This function checks whether the environment variable \a varName
|
Returns whether the environment variable \a varName is set.
|
||||||
is set.
|
|
||||||
|
|
||||||
Equivalent to
|
Equivalent to
|
||||||
\code
|
\code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user