summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppprojectfile.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@theqtcompany.com>2016-01-13 14:12:15 +0100
committerMarco Bubke <marco.bubke@theqtcompany.com>2016-01-13 14:46:56 +0000
commit2b4cadf1fe138bfa23ca42ffe63c9da5d4d8827c (patch)
tree71cd2a79e861052b619aaf13b3f4f9a6c28f51a9 /src/plugins/cpptools/cppprojectfile.h
parent42d570a3fe89da30ebbc280c79f5565471786db6 (diff)
downloadqt-creator-2b4cadf1fe138bfa23ca42ffe63c9da5d4d8827c.tar.gz
CppTools: Move ProjectPart in its own header file
Also extracting inline HeaderPath class and change projects list in vector because the size is larger than a pointer. Change-Id: I885fdff3fe9bccc877634d1615249755f5b674fd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppprojectfile.h')
-rw-r--r--src/plugins/cpptools/cppprojectfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppprojectfile.h b/src/plugins/cpptools/cppprojectfile.h
index bfc7d87b70..2ba48b710f 100644
--- a/src/plugins/cpptools/cppprojectfile.h
+++ b/src/plugins/cpptools/cppprojectfile.h
@@ -75,7 +75,7 @@ namespace Internal {
class ProjectFileAdder
{
public:
- ProjectFileAdder(QList<ProjectFile> &files);
+ ProjectFileAdder(QVector<ProjectFile> &files);
~ProjectFileAdder();
bool maybeAdd(const QString &path);
@@ -84,7 +84,7 @@ private:
void addMapping(const char *mimeName, ProjectFile::Kind kind);
- QList<ProjectFile> &m_files;
+ QVector<ProjectFile> &m_files;
QHash<QString, ProjectFile::Kind> m_mimeNameMapping;
};