From 5fcb438e7b15543b6aac4e9b91db356707b0c9af Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Tue, 7 Aug 2012 00:24:11 +0200 Subject: Publish qEnvironmentVariableIs{Set,Empty}() Change-Id: I81b960495c206024b4124cebf88b48b0c0d73619 Reviewed-by: Thiago Macieira --- src/corelib/global/qglobal.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index ccd1326d94..9995daf1e9 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -2124,7 +2124,7 @@ QString qt_error_string(int errorCode) uses the new replacement function in VC, and calls the standard C library's implementation on all other platforms. - \sa qputenv() + \sa qputenv(), qEnvironmentVariableIsSet(), qEnvironmentVariableIsEmpty() */ QByteArray qgetenv(const char *varName) { @@ -2147,10 +2147,9 @@ QByteArray qgetenv(const char *varName) /*! \relates - \internal + \since 5.1 - This function checks whether the environment variable \a varName - is empty. + Returns whether the environment variable \a varName is empty. Equivalent to \code @@ -2177,10 +2176,9 @@ bool qEnvironmentVariableIsEmpty(const char *varName) Q_DECL_NOEXCEPT /*! \relates - \internal + \since 5.1 - This function checks whether the environment variable \a varName - is set. + Returns whether the environment variable \a varName is set. Equivalent to \code -- cgit v1.2.3