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>
This commit is contained in:
hjk
2019-12-17 14:07:53 +01:00
parent e16876df0c
commit e109b731ad
92 changed files with 270 additions and 270 deletions

View File

@@ -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 &currentFiles() const;
const Utils::FilePaths &currentFiles() 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;