summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/selectablefilesmodel.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-11-03 14:01:25 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-11-16 08:33:02 +0000
commitca29cbfc8a4cd2fad3556f0c98febc4692894265 (patch)
treec1ed043fa137e06d4004c123ee88b59dc6471c78 /src/plugins/projectexplorer/selectablefilesmodel.h
parent153d593b6328ba45f4e7ee46ff1ad1ce9e19b61e (diff)
downloadqt-creator-ca29cbfc8a4cd2fad3556f0c98febc4692894265.tar.gz
Consistently use Utils::FileNameList
Consistently use Utils::FileNameList in favor of QList<Utils::FileName> Change-Id: Iafbb466c882bfd91c25c9e78f107d401bfdb6d55 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/selectablefilesmodel.h')
-rw-r--r--src/plugins/projectexplorer/selectablefilesmodel.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/plugins/projectexplorer/selectablefilesmodel.h b/src/plugins/projectexplorer/selectablefilesmodel.h
index 1aad877adb..a201c4a623 100644
--- a/src/plugins/projectexplorer/selectablefilesmodel.h
+++ b/src/plugins/projectexplorer/selectablefilesmodel.h
@@ -97,7 +97,7 @@ public:
SelectableFilesModel(QObject *parent);
~SelectableFilesModel();
- void setInitialMarkedFiles(const QList<Utils::FileName> &files);
+ void setInitialMarkedFiles(const Utils::FileNameList &files);
int columnCount(const QModelIndex &parent) const;
int rowCount(const QModelIndex &parent) const;
@@ -108,9 +108,9 @@ public:
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
Qt::ItemFlags flags(const QModelIndex &index) const;
- QList<Utils::FileName> selectedFiles() const;
- QList<Utils::FileName> selectedPaths() const;
- QList<Utils::FileName> preservedFiles() const;
+ Utils::FileNameList selectedFiles() const;
+ Utils::FileNameList selectedPaths() const;
+ Utils::FileNameList preservedFiles() const;
void startParsing(const Utils::FileName &baseDir);
void cancel();
@@ -130,8 +130,8 @@ private:
Qt::CheckState applyFilter(const QModelIndex &index);
bool filter(Tree *t);
void run(QFutureInterface<void> &fi);
- void collectFiles(Tree *root, QList<Utils::FileName> *result) const;
- void collectPaths(Tree *root, QList<Utils::FileName> *result) const;
+ void collectFiles(Tree *root, Utils::FileNameList *result) const;
+ void collectPaths(Tree *root, Utils::FileNameList *result) const;
void buildTree(const Utils::FileName &baseDir, Tree *tree, QFutureInterface<void> &fi, int symlinkDepth);
void propagateUp(const QModelIndex &index);
void propagateDown(const QModelIndex &index);
@@ -157,9 +157,10 @@ class PROJECTEXPLORER_EXPORT SelectableFilesDialogEditFiles : public QDialog
Q_OBJECT
public:
- SelectableFilesDialogEditFiles(const Utils::FileName &path, const QList<Utils::FileName> &files, QWidget *parent);
+ SelectableFilesDialogEditFiles(const Utils::FileName &path, const Utils::FileNameList &files,
+ QWidget *parent);
~SelectableFilesDialogEditFiles();
- QList<Utils::FileName> selectedFiles() const;
+ Utils::FileNameList selectedFiles() const;
void setAddFileFilter(const QString &filter);
@@ -194,7 +195,8 @@ class SelectableFilesDialogAddDirectory : public SelectableFilesDialogEditFiles
Q_OBJECT
public:
- SelectableFilesDialogAddDirectory(const Utils::FileName &path, const QList<Utils::FileName> &files, QWidget *parent);
+ SelectableFilesDialogAddDirectory(const Utils::FileName &path, const Utils::FileNameList &files,
+ QWidget *parent);
private slots:
void validityOfDirectoryChanged(bool validState);