summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-21 15:22:13 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-29 10:59:51 (GMT)
commit10fd0d3e5c88c7b0265db3acdd75cb3d6f35ee63 (patch)
tree7332d48938e1e9336ce4d1a69d3d2cf244bd49fb /src/corelib/io/qprocess.cpp
parent3a10cfc583f30be4dd98e1fcc3463c3d8bc14f31 (diff)
downloadQt-10fd0d3e5c88c7b0265db3acdd75cb3d6f35ee63.zip
Qt-10fd0d3e5c88c7b0265db3acdd75cb3d6f35ee63.tar.gz
Qt-10fd0d3e5c88c7b0265db3acdd75cb3d6f35ee63.tar.bz2
use the Hash typedef
Reviewed-by: thiago Reviewed-by: dt
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
-rw-r--r--src/corelib/io/qprocess.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index a45225f..d18571c 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -190,8 +190,8 @@ template<> void QSharedDataPointer<QProcessEnvironmentPrivate>::detach()
QStringList QProcessEnvironmentPrivate::toList() const
{
QStringList result;
- QHash<Unit, Unit>::ConstIterator it = hash.constBegin(),
- end = hash.constEnd();
+ Hash::ConstIterator it = hash.constBegin(),
+ end = hash.constEnd();
for ( ; it != end; ++it) {
QString data = nameToString(it.key());
QString value = valueToString(it.value());
@@ -224,8 +224,8 @@ QProcessEnvironment QProcessEnvironmentPrivate::fromList(const QStringList &list
QStringList QProcessEnvironmentPrivate::keys() const
{
QStringList result;
- QHash<Unit, Unit>::ConstIterator it = hash.constBegin(),
- end = hash.constEnd();
+ Hash::ConstIterator it = hash.constBegin(),
+ end = hash.constEnd();
for ( ; it != end; ++it)
result << nameToString(it.key());
return result;
@@ -233,8 +233,8 @@ QStringList QProcessEnvironmentPrivate::keys() const
void QProcessEnvironmentPrivate::insert(const Hash &h)
{
- QHash<Unit, Unit>::ConstIterator it = h.constBegin(),
- end = h.constEnd();
+ Hash::ConstIterator it = h.constBegin(),
+ end = h.constEnd();
for ( ; it != end; ++it)
hash.insert(it.key(), it.value());
}