CMake: Move CMakeProjectManager::findCbpFile to tealeafreader.cpp

That's the the only user of that code.

Change-Id: Iabc6a1fa9a4ad05c467e8ed64386d3185de25f02
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2017-02-25 17:27:00 +01:00
parent 28b6c4f671
commit 8b5b1f1de7
3 changed files with 22 additions and 26 deletions

View File

@@ -29,7 +29,6 @@
QT_BEGIN_NAMESPACE
class QAction;
class QDir;
QT_END_NAMESPACE
namespace CMakeProjectManager {
@@ -46,8 +45,6 @@ public:
ProjectExplorer::Project *openProject(const QString &fileName, QString *errorString) override;
QString mimeType() const override;
static QString findCbpFile(const QDir &);
private:
void updateCmakeActions();
void clearCMakeCache(ProjectExplorer::Project *project);