summaryrefslogtreecommitdiff
path: root/src/modlistcontextmenu.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-31 00:06:12 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:17 +0100
commitfb52a129b3a878511cf754daed433d9a789689c8 (patch)
treee2505bca8317aa78a40ef3706b209cb0855bcf04 /src/modlistcontextmenu.h
parente8c2d9cd29967be928b8649fd580a3be9cae3684 (diff)
More stuff moved to mod list context.
Diffstat (limited to 'src/modlistcontextmenu.h')
-rw-r--r--src/modlistcontextmenu.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/modlistcontextmenu.h b/src/modlistcontextmenu.h
index 9d015afc..3bc15c57 100644
--- a/src/modlistcontextmenu.h
+++ b/src/modlistcontextmenu.h
@@ -29,18 +29,23 @@ public:
//
ModListContextMenu(OrganizerCore& core, const QModelIndex& index, ModListView* modListView);
-private:
+public: // TODO: Move this to private when all is done
+
+ // create the "Send to... " context menu
+ //
+ QMenu* createSendToContextMenu();
// add actions/menus to this menu for each type of mod
//
- void addOverwriteActions(OrganizerCore& core, ModListView* modListView);
- void addSeparatorActions(OrganizerCore& core, ModListView* modListView);
- void addForeignActions(OrganizerCore& core, ModListView* modListView);
- void addBackupActions(OrganizerCore& core, ModListView* modListView);
- void addRegularActions(OrganizerCore& core, ModListView* modListView);
+ void addOverwriteActions();
+ void addSeparatorActions();
+ void addForeignActions();
+ void addBackupActions();
+ void addRegularActions();
OrganizerCore& m_core;
QModelIndexList m_index;
+ ModListView* m_view;
};