summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess_p.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-21 17:50:40 +0200
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-10 12:54:52 +0200
commit3ab236d77ba47d7cbf332d12596564bce21ac6a7 (patch)
treea47ef8d3dd19c0751f1f6924fc50d7376b73b306 /src/corelib/io/qprocess_p.h
parent1e9a4bce9d52362df252a93a030721955be5e2f8 (diff)
split QProcessEnvironmentPrivate::Unit into Key and Value
Reviewed-by: thiago Reviewed-by: dt (cherry picked from commit 11a79c65ea992be0e2ede7dc8f60660c9190291f)
Diffstat (limited to 'src/corelib/io/qprocess_p.h')
-rw-r--r--src/corelib/io/qprocess_p.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/corelib/io/qprocess_p.h b/src/corelib/io/qprocess_p.h
index 7bfcb311f9..b2a69ef905 100644
--- a/src/corelib/io/qprocess_p.h
+++ b/src/corelib/io/qprocess_p.h
@@ -85,11 +85,14 @@ class QProcessEnvironmentPrivate: public QSharedData
{
public:
#ifdef Q_OS_WIN
- typedef QString Unit;
+ typedef QString Key;
+ typedef QString Value;
#else
- typedef QByteArray Unit;
+ typedef QByteArray Key;
+ typedef QByteArray Value;
#endif
- typedef QHash<Unit, Unit> Hash;
+
+ typedef QHash<Key, Value> Hash;
Hash hash;
static QProcessEnvironment fromList(const QStringList &list);