forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -432,13 +432,13 @@ public:
|
||||
QString senderLog;
|
||||
};
|
||||
|
||||
const CppTools::ProjectPart::HeaderPaths toHeaderPaths(const QStringList &paths)
|
||||
const CppTools::ProjectPartHeaderPaths toHeaderPaths(const QStringList &paths)
|
||||
{
|
||||
using namespace CppTools;
|
||||
|
||||
ProjectPart::HeaderPaths result;
|
||||
ProjectPartHeaderPaths result;
|
||||
foreach (const QString &path, paths)
|
||||
result << ProjectPart::HeaderPath(path, ProjectPart::HeaderPath::IncludePath);
|
||||
result << ProjectPartHeaderPath(path, ProjectPartHeaderPath::IncludePath);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user