From c3dcfeafba1f5f0ad498ae36d1a77a9fe924e0ff Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Fri, 13 Mar 2009 15:45:30 +0100
Subject: [PATCH] Fixes:    Make CMakeProject a friend of CmakeProjectNode

Details:  Makes sense removes a few using declarations.
---
 src/plugins/cmakeprojectmanager/cmakeprojectnodes.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h b/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h
index 0d4b1250303..a4fe869ef01 100644
--- a/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h
+++ b/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h
@@ -37,6 +37,8 @@ namespace Internal {
 
 class CMakeProjectNode : public ProjectExplorer::ProjectNode
 {
+    Q_OBJECT
+    friend class CMakeProject;
 public:
     CMakeProjectNode(const QString &fileName);
     virtual bool hasTargets() const;
@@ -52,10 +54,6 @@ public:
     virtual bool renameFile(const ProjectExplorer::FileType fileType,
                              const QString &filePath,
                              const QString &newFilePath);
-
-    // TODO is protected in base class, and that's correct
-    using ProjectNode::addFileNodes;
-    using ProjectNode::addFolderNodes;
 };
 
 } // namespace Internal
-- 
GitLab