summaryrefslogtreecommitdiff
path: root/src/categoriesdialog.h
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-12-24 15:15:45 -0600
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2023-09-21 17:10:39 -0500
commitf764271b1f1fa457af9dd4f7d044005d46fcd84b (patch)
tree5bccd25be3cb64fe602e428ab2a5ebd2777196d9 /src/categoriesdialog.h
parent127db7799ed4847b151a35a16cefab6c494128ef (diff)
WIP: Refactor cat dialog and implement nex cat updates
Diffstat (limited to 'src/categoriesdialog.h')
-rw-r--r--src/categoriesdialog.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/categoriesdialog.h b/src/categoriesdialog.h
index c1c1c673..b6fe832f 100644
--- a/src/categoriesdialog.h
+++ b/src/categoriesdialog.h
@@ -22,6 +22,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include "tutorabledialog.h"
#include "categories.h"
+#include "plugincontainer.h"
#include <set>
namespace Ui
@@ -37,7 +38,7 @@ class CategoriesDialog : public MOBase::TutorableDialog
Q_OBJECT
public:
- explicit CategoriesDialog(QWidget* parent = 0);
+ explicit CategoriesDialog(PluginContainer* pluginContainer, QWidget* parent = 0);
~CategoriesDialog();
// also saves and restores geometry
@@ -50,11 +51,19 @@ public:
**/
void commitChanges();
+public slots:
+
+ void nxmGameInfoAvailable(QString gameName, QVariant, QVariant resultData, int);
+
+signals:
+ void refreshNexusCategories();
+
private slots:
void on_categoriesTable_customContextMenuRequested(const QPoint& pos);
void addCategory_clicked();
void removeCategory_clicked();
+ void nexusRefresh_clicked();
void cellChanged(int row, int column);
private:
@@ -63,6 +72,7 @@ private:
private:
Ui::CategoriesDialog* ui;
+ PluginContainer* m_PluginContainer;
int m_ContextRow;
int m_HighestID;