forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user