forked from qt-creator/qt-creator
Utils: Rename FileName to FilePath
More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
|
||||
namespace Utils {
|
||||
class QtcProcess;
|
||||
class FileName;
|
||||
using FileNameList = QList<FileName>;
|
||||
class FilePath;
|
||||
using FilePathList = QList<FilePath>;
|
||||
}
|
||||
|
||||
namespace Cppcheck {
|
||||
@@ -48,12 +48,12 @@ public:
|
||||
~CppcheckRunner() override;
|
||||
|
||||
void reconfigure(const QString &binary, const QString &arguments);
|
||||
void addToQueue(const Utils::FileNameList &files,
|
||||
void addToQueue(const Utils::FilePathList &files,
|
||||
const QString &additionalArguments = {});
|
||||
void removeFromQueue(const Utils::FileNameList &files);
|
||||
void stop(const Utils::FileNameList &files = {});
|
||||
void removeFromQueue(const Utils::FilePathList &files);
|
||||
void stop(const Utils::FilePathList &files = {});
|
||||
|
||||
const Utils::FileNameList ¤tFiles() const;
|
||||
const Utils::FilePathList ¤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::FileNameList> m_queue;
|
||||
Utils::FileNameList m_currentFiles;
|
||||
QHash<QString, Utils::FilePathList> m_queue;
|
||||
Utils::FilePathList m_currentFiles;
|
||||
QTimer m_queueTimer;
|
||||
int m_maxArgumentsLength = 32767;
|
||||
bool m_isRunning = false;
|
||||
|
||||
Reference in New Issue
Block a user