summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/modlist.h b/src/modlist.h
index 778f1fee..913d2ea8 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -218,10 +218,17 @@ public: // implementation of virtual functions of QAbstractItemModel
public slots:
void onDragEnter(const QMimeData* data);
- void enableSelected(const QItemSelectionModel *selectionModel);
- void disableSelected(const QItemSelectionModel *selectionModel);
- void moveMods(const QModelIndexList& indices, int offset);
+ // enable/disable mods at the given indices.
+ //
+ void setActive(const QModelIndexList& indices, bool active);
+
+ // shift the priority of mods at the given indices by the given offset
+ //
+ void shiftMods(const QModelIndexList& indices, int offset);
+
+ // toggle the active state of mods at the given indices
+ //
bool toggleState(const QModelIndexList& indices);
signals: