forked from qt-creator/qt-creator
CppTools: modernize
Change-Id: Iaf02e4d026f1ac8b216833d83cd7a735e21ff60a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -52,8 +52,6 @@ public:
|
||||
class CPPTOOLS_EXPORT RawProjectPart
|
||||
{
|
||||
public:
|
||||
RawProjectPart() {}
|
||||
|
||||
void setDisplayName(const QString &displayName);
|
||||
|
||||
void setProjectFileLocation(const QString &projectFile, int line = -1, int column = -1);
|
||||
@@ -62,7 +60,7 @@ public:
|
||||
|
||||
// FileClassifier must be thread-safe.
|
||||
using FileClassifier = std::function<ProjectFile(const QString &filePath)>;
|
||||
void setFiles(const QStringList &files, FileClassifier fileClassifier = FileClassifier());
|
||||
void setFiles(const QStringList &files, const FileClassifier &fileClassifier = FileClassifier());
|
||||
void setHeaderPaths(const ProjectExplorer::HeaderPaths &headerPaths);
|
||||
void setIncludePaths(const QStringList &includePaths);
|
||||
void setPreCompiledHeaders(const QStringList &preCompiledHeaders);
|
||||
|
||||
Reference in New Issue
Block a user