diff options
author | hjk <hjk@qt.io> | 2019-12-17 14:07:53 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-12-18 08:43:18 +0000 |
commit | e109b731ad001ba566289b7184799e91b19fbccb (patch) | |
tree | 133667f71377d5af130b776f97d3f090ef1c8138 /src/plugins/cppcheck/cppcheckrunner.h | |
parent | e16876df0cd65c40480fcf7f2ae9f16ab66c991c (diff) | |
download | qt-creator-e109b731ad001ba566289b7184799e91b19fbccb.tar.gz |
Utils: Rename FilePathList to simply FilePaths
The exact storage type does not really matter here.
Change-Id: Iefec40f0f5909c8e7ba3415db4a11962694e1b38
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckrunner.h')
-rw-r--r-- | src/plugins/cppcheck/cppcheckrunner.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/cppcheck/cppcheckrunner.h b/src/plugins/cppcheck/cppcheckrunner.h index 522c33af2c..ecfb83ba70 100644 --- a/src/plugins/cppcheck/cppcheckrunner.h +++ b/src/plugins/cppcheck/cppcheckrunner.h @@ -31,7 +31,7 @@ namespace Utils { class QtcProcess; class FilePath; -using FilePathList = QList<FilePath>; +using FilePaths = QList<FilePath>; } namespace Cppcheck { @@ -48,12 +48,12 @@ public: ~CppcheckRunner() override; void reconfigure(const QString &binary, const QString &arguments); - void addToQueue(const Utils::FilePathList &files, + void addToQueue(const Utils::FilePaths &files, const QString &additionalArguments = {}); - void removeFromQueue(const Utils::FilePathList &files); - void stop(const Utils::FilePathList &files = {}); + void removeFromQueue(const Utils::FilePaths &files); + void stop(const Utils::FilePaths &files = {}); - const Utils::FilePathList ¤tFiles() const; + const Utils::FilePaths ¤tFiles() const; QString currentCommand() const; private: @@ -67,8 +67,8 @@ private: Utils::QtcProcess *m_process = nullptr; QString m_binary; QString m_arguments; - QHash<QString, Utils::FilePathList> m_queue; - Utils::FilePathList m_currentFiles; + QHash<QString, Utils::FilePaths> m_queue; + Utils::FilePaths m_currentFiles; QTimer m_queueTimer; int m_maxArgumentsLength = 32767; bool m_isRunning = false; |