diff options
author | hjk <hjk@qt.io> | 2019-05-27 16:09:44 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-05-28 05:51:40 +0000 |
commit | 2b1c8aa8777bfacb2d65cf137b45be86b58ef3cf (patch) | |
tree | 313688371de0cee8f2a4174d82a7828d051f3cf3 /src/plugins/qtsupport/baseqtversion.h | |
parent | 24560d883093e88d1c8f3c237c84b0d2fd720d0c (diff) |
ProjectExplorer: Introduce a alias for QList<Tasks>
Change-Id: I91391ad22b420926b0f512cac23cfe009048b218
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qtsupport/baseqtversion.h')
-rw-r--r-- | src/plugins/qtsupport/baseqtversion.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/qtsupport/baseqtversion.h b/src/plugins/qtsupport/baseqtversion.h index 5de6cef5d68..9d6ceb318b0 100644 --- a/src/plugins/qtsupport/baseqtversion.h +++ b/src/plugins/qtsupport/baseqtversion.h @@ -31,6 +31,7 @@ #include <utils/macroexpander.h> #include <projectexplorer/abi.h> +#include <projectexplorer/task.h> #include <QSet> #include <QStringList> @@ -48,7 +49,6 @@ class Kit; class ToolChain; class HeaderPath; class Target; -class Task; } // namespace ProjectExplorer QT_BEGIN_NAMESPACE @@ -201,7 +201,7 @@ public: /// Check a .pro-file/Qt version combination on possible issues /// @return a list of tasks, ordered on severity (errors first, then /// warnings and finally info items. - QList<ProjectExplorer::Task> reportIssues(const QString &proFile, const QString &buildDir) const; + ProjectExplorer::Tasks reportIssues(const QString &proFile, const QString &buildDir) const; static bool isQmlDebuggingSupported(ProjectExplorer::Kit *k, QString *reason = nullptr); bool isQmlDebuggingSupported(QString *reason = nullptr) const; @@ -221,7 +221,7 @@ public: virtual QSet<Core::Id> targetDeviceTypes() const = 0; - virtual QList<ProjectExplorer::Task> validateKit(const ProjectExplorer::Kit *k); + virtual ProjectExplorer::Tasks validateKit(const ProjectExplorer::Kit *k); Utils::FileName headerPath() const; Utils::FileName docsPath() const; @@ -261,7 +261,7 @@ protected: BaseQtVersion(); BaseQtVersion(const BaseQtVersion &other) = delete; - virtual QList<ProjectExplorer::Task> reportIssuesImpl(const QString &proFile, const QString &buildDir) const; + virtual ProjectExplorer::Tasks reportIssuesImpl(const QString &proFile, const QString &buildDir) const; // helper function for desktop and simulator to figure out the supported abis based on the libraries Utils::FileNameList qtCorePaths() const; |