diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-11-29 13:26:05 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-12-08 08:35:42 +0000 |
commit | 3602033fcac19fed7491b1ff5173da6c58a47c34 (patch) | |
tree | f11e30143a4258774ed227d6fd72bb8118842812 /src/plugins/cpptools/cppprojectfilecategorizer.h | |
parent | 4580e88cbe4d6ce159a8a49f56d7ca1fcb7e109b (diff) |
CppTools: Clean up ProjectFileCategorizer
Change-Id: Ia6954810ad49d43629be2db074d620ab71a09cee
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppprojectfilecategorizer.h')
-rw-r--r-- | src/plugins/cpptools/cppprojectfilecategorizer.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/plugins/cpptools/cppprojectfilecategorizer.h b/src/plugins/cpptools/cppprojectfilecategorizer.h index 23fae9669ee..ce4be2ce18a 100644 --- a/src/plugins/cpptools/cppprojectfilecategorizer.h +++ b/src/plugins/cpptools/cppprojectfilecategorizer.h @@ -25,19 +25,19 @@ #pragma once -#include <QString> -#include <QVector> - #include "cppprojectfile.h" #include "projectpartbuilder.h" +#include <QString> +#include <QVector> + namespace CppTools { class ProjectFileCategorizer { public: - ProjectFileCategorizer(const QString &partName, - const QStringList &files, + ProjectFileCategorizer(const QString &projectPartName, + const QStringList &filePaths, ProjectPartBuilder::FileClassifier fileClassifier = ProjectPartBuilder::FileClassifier()); @@ -46,10 +46,10 @@ public: bool hasObjcSources() const { return !m_objcSources.isEmpty(); } bool hasObjcxxSources() const { return !m_objcxxSources.isEmpty(); } - QVector<ProjectFile> cSources() const { return m_cSources; } - QVector<ProjectFile> cxxSources() const { return m_cxxSources; } - QVector<ProjectFile> objcSources() const { return m_objcSources; } - QVector<ProjectFile> objcxxSources() const { return m_objcxxSources; } + ProjectFiles cSources() const { return m_cSources; } + ProjectFiles cxxSources() const { return m_cxxSources; } + ProjectFiles objcSources() const { return m_objcSources; } + ProjectFiles objcxxSources() const { return m_objcxxSources; } bool hasMultipleParts() const { return m_partCount > 1; } bool hasNoParts() const { return m_partCount == 0; } @@ -58,10 +58,10 @@ public: private: QString m_partName; - QVector<ProjectFile> m_cSources; - QVector<ProjectFile> m_cxxSources; - QVector<ProjectFile> m_objcSources; - QVector<ProjectFile> m_objcxxSources; + ProjectFiles m_cSources; + ProjectFiles m_cxxSources; + ProjectFiles m_objcSources; + ProjectFiles m_objcxxSources; int m_partCount; }; |