summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-07 00:24:11 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-30 13:41:59 +0100
commit5fcb438e7b15543b6aac4e9b91db356707b0c9af (patch)
tree1cf34b6097a624f1e69cb1358c270a02e9390499
parent2523f20c61cf4173fad90094d9d2ab8c6a2a461b (diff)
downloadqtbase-5fcb438e7b15543b6aac4e9b91db356707b0c9af.tar.gz
Publish qEnvironmentVariableIs{Set,Empty}()
Change-Id: I81b960495c206024b4124cebf88b48b0c0d73619 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/global/qglobal.cpp12
1 files changed, 5 insertions, 7 deletions
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 <QtGlobal>
- \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 <QtGlobal>
- \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