Fixes: coreplugin: remove more PluginManager parameters

Details:  access PluginManager::instance() instead
This commit is contained in:
hjk
2009-01-26 14:25:03 +01:00
parent f68d6cf0a0
commit f9679651e1
9 changed files with 32 additions and 53 deletions

View File

@@ -37,8 +37,6 @@
#include "core_global.h"
#include <QtCore/QObject>
namespace ExtensionSystem { class PluginManager; }
namespace Core {
namespace Internal {
@@ -53,7 +51,7 @@ public:
MessageManager();
~MessageManager();
void init(ExtensionSystem::PluginManager *pm);
void init();
static MessageManager *instance() { return m_instance; }
@@ -64,7 +62,6 @@ public slots:
void printToOutputPane(const QString &text, bool bringToForeground = true);
private:
ExtensionSystem::PluginManager *m_pm;
Internal::MessageOutputWindow *m_messageOutputWindow;
static MessageManager *m_instance;