Completely rework currentNode/currentProject handling

Centralize the handling inside a new class ProjectTree.
React to moving focus and remove most special handling.

This properly fixes the linked task.

Task-number: QTCREATORBUG-13357
Change-Id: I6b06aa32b1e4305ec8a6d432857b302585d8734b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Daniel Teske
2014-11-19 17:58:33 +01:00
parent 042ef1aec0
commit 4943510b60
43 changed files with 744 additions and 470 deletions

View File

@@ -41,7 +41,6 @@ QT_END_NAMESPACE
namespace ProjectExplorer {
class Node;
class Project;
class ProjectExplorerPlugin;
class KitInformation;
class Target;
}
@@ -79,7 +78,6 @@ private slots:
#endif
private:
ProjectExplorer::ProjectExplorerPlugin *m_projectExplorer;
QmakeManager *m_qmakeProjectManager;
QmakeProject *m_previousStartupProject;
ProjectExplorer::Target *m_previousTarget;