summaryrefslogtreecommitdiff
path: root/src/modlistcontextmenu.h
diff options
context:
space:
mode:
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;
};