Commit c3dcfeaf authored by dt's avatar dt
Browse files

Fixes: Make CMakeProject a friend of CmakeProjectNode

Details:  Makes sense removes a few using declarations.
parent 30064954
...@@ -37,6 +37,8 @@ namespace Internal { ...@@ -37,6 +37,8 @@ namespace Internal {
class CMakeProjectNode : public ProjectExplorer::ProjectNode class CMakeProjectNode : public ProjectExplorer::ProjectNode
{ {
Q_OBJECT
friend class CMakeProject;
public: public:
CMakeProjectNode(const QString &fileName); CMakeProjectNode(const QString &fileName);
virtual bool hasTargets() const; virtual bool hasTargets() const;
...@@ -52,10 +54,6 @@ public: ...@@ -52,10 +54,6 @@ public:
virtual bool renameFile(const ProjectExplorer::FileType fileType, virtual bool renameFile(const ProjectExplorer::FileType fileType,
const QString &filePath, const QString &filePath,
const QString &newFilePath); const QString &newFilePath);
// TODO is protected in base class, and that's correct
using ProjectNode::addFileNodes;
using ProjectNode::addFolderNodes;
}; };
} // namespace Internal } // namespace Internal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment