summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2020-11-18 10:01:27 +0100
committerGitHub <noreply@github.com>2020-11-18 10:01:27 +0100
commitddba54382aab3cb5548485d14c85e2611272f3cb (patch)
treee3b1aa7f86c3d6852f2f749e40ff61971c0961b3 /src/mainwindow.h
parent06686403382a98d23685232d404dfe5837ffb8a1 (diff)
parent61554d3df7be909acf6609b4b7465b03d7f16081 (diff)
Merge pull request #1292 from Holt59/iplugin-isactive-refactoring
IPlugin::isActive refactoring
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 8b2188c8..e2805b25 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -129,10 +129,6 @@ public:
void saveArchiveList();
- void registerPluginTool(MOBase::IPluginTool *tool, QString name = QString(), QMenu *menu = nullptr);
- void registerPluginTools(std::vector<MOBase::IPluginTool *> toolPlugins);
- void registerModPage(MOBase::IPluginModPage *modPage);
-
void addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu, ModInfo::Ptr info);
void installTranslator(const QString &name);
@@ -160,9 +156,6 @@ public slots:
void directory_refreshed();
- void toolPluginInvoke();
- void modPagePluginInvoke();
-
signals:
/**
@@ -212,7 +205,12 @@ private:
void setToolbarSize(const QSize& s);
void setToolbarButtonStyle(Qt::ToolButtonStyle s);
+ void registerModPage(MOBase::IPluginModPage* modPage);
+ void registerPluginTool(MOBase::IPluginTool* tool, QString name = QString(), QMenu* menu = nullptr);
+
void updateToolbarMenu();
+ void updateToolMenu();
+ void updateModPageMenu();
void updateViewMenu();
QMenu* createPopupMenu() override;
@@ -326,8 +324,6 @@ private:
QTreeWidgetItem *m_ContextItem;
QAction *m_ContextAction;
- QAction* m_browseModPage;
-
CategoryFactory &m_CategoryFactory;
QTimer m_CheckBSATimer;