summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess_p.h
diff options
context:
space:
mode:
authorThomas Sondergaard <ts@medical-insight.com>2011-04-04 11:40:46 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-04 12:21:50 +0200
commit0cf75b4dd1cc25694de8ece4c25ecb97a3969a54 (patch)
tree0724f3cb6b84f5fcbec493860c084e2d5442bb2d /src/corelib/io/qprocess_p.h
parent0c291498c3cf1aa254df41ce99f249e2116da025 (diff)
Add methods for traversing and combining QProcessEnvironment.
New methods that make QProcessEnvironment more friendly. With these two new functions developers no longer have to resort to using QStringList and use the deprecated QProcess::setEnvironment() method. New methods: - QStringList QProcessEnvironment::keys() - void QProcessEnvironment::insert(const QProcessEnvironment &). Merge-request: 1152 Reviewed-by: ossi Reviewed-by: thiago
Diffstat (limited to 'src/corelib/io/qprocess_p.h')
-rw-r--r--src/corelib/io/qprocess_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qprocess_p.h b/src/corelib/io/qprocess_p.h
index be4f2a0c0a..7bfcb311f9 100644
--- a/src/corelib/io/qprocess_p.h
+++ b/src/corelib/io/qprocess_p.h
@@ -94,6 +94,8 @@ public:
static QProcessEnvironment fromList(const QStringList &list);
QStringList toList() const;
+ QStringList keys() const;
+ void insert(const Hash &hash);
};
class QProcessPrivate : public QIODevicePrivate