ProjectManagers: Cleanup

Remove unused class members, declarations, includes, unneeded
::projectManager overloads etc.

Change-Id: I0f4ae87414faca226554722e2a9147cb5512495d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
hjk
2017-02-28 16:31:07 +01:00
parent 6fc03ac621
commit 8fd17a84b5
18 changed files with 21 additions and 128 deletions

View File

@@ -51,7 +51,6 @@
#include <utils/qtcassert.h>
#include <QDir>
#include <QProcessEnvironment>
using namespace Core;
using namespace ProjectExplorer;
@@ -90,14 +89,11 @@ GenericProject::GenericProject(const QString &fileName)
DocumentManager::addDocument(m_filesIDocument);
DocumentManager::addDocument(m_includesIDocument);
DocumentManager::addDocument(m_configIDocument);
projectManager()->registerProject(this);
}
GenericProject::~GenericProject()
{
delete m_cppCodeModelUpdater;
projectManager()->unregisterProject(this);
}
QString GenericProject::filesFileName() const
@@ -411,11 +407,6 @@ QString GenericProject::displayName() const
return m_projectName;
}
Manager *GenericProject::projectManager() const
{
return static_cast<Manager *>(Project::projectManager());
}
QStringList GenericProject::files(FilesMode fileMode) const
{
Q_UNUSED(fileMode);