aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qtsupport/qscxmlcgenerator.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-01-19 16:44:22 +0100
committerTim Jenssen <tim.jenssen@qt.io>2017-01-20 12:17:10 +0000
commitc6f90e575e2e261f7fa50f951b6fc1824ae5c12f (patch)
tree7f3564ad1491a5f40e64bcee89d70b884409885f /src/plugins/qtsupport/qscxmlcgenerator.h
parente6017c40fca059b27e449f0605f4d79b78de0ff3 (diff)
Utils: Introduce a TemporaryDirectory and TemporaryFile class
Both wrap the corresponding Qt class, but make sure all temporary files or directories are created inside a "master temporary directory". Change-Id: I55461be507c828c965224c02863ea5ed9bbf9498 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qtsupport/qscxmlcgenerator.h')
-rw-r--r--src/plugins/qtsupport/qscxmlcgenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qtsupport/qscxmlcgenerator.h b/src/plugins/qtsupport/qscxmlcgenerator.h
index a28045cc886..64a852c9e6c 100644
--- a/src/plugins/qtsupport/qscxmlcgenerator.h
+++ b/src/plugins/qtsupport/qscxmlcgenerator.h
@@ -27,9 +27,9 @@
#include <projectexplorer/extracompiler.h>
#include <utils/fileutils.h>
+#include <utils/temporarydirectory.h>
#include <QProcess>
-#include <QTemporaryDir>
namespace QtSupport {
@@ -51,7 +51,7 @@ private:
bool prepareToRun(const QByteArray &sourceContents) override;
QList<ProjectExplorer::Task> parseIssues(const QByteArray &processStderr) override;
- QTemporaryDir m_tmpdir;
+ Utils::TemporaryDirectory m_tmpdir;
QString m_header;
QString m_impl;
};