GenericProjectManager: General editor related code consolidation

Convert to new editor setup scheme, minor cleanups.

Change-Id: I1ac9169b9d397500317595a1a964347b0f7de19d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-08-20 00:58:38 +02:00
parent c35e928650
commit 869445b76d
4 changed files with 26 additions and 92 deletions

View File

@@ -43,8 +43,6 @@ class Node;
namespace GenericProjectManager {
namespace Internal {
class ProjectFilesFactory;
class GenericProjectPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
@@ -52,13 +50,11 @@ class GenericProjectPlugin : public ExtensionSystem::IPlugin
public:
GenericProjectPlugin();
~GenericProjectPlugin();
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
void extensionsInitialized() {}
private slots:
void updateContextMenu(ProjectExplorer::Project *, ProjectExplorer::Node *);
void editFiles();
#ifdef WITH_TESTS
@@ -67,8 +63,6 @@ private slots:
#endif // WITH_TESTS
private:
ProjectFilesFactory *m_projectFilesEditorFactory;
QAction *m_editFilesAction;
ProjectExplorer::Project *m_contextMenuProject;
};