summaryrefslogtreecommitdiff
path: root/src/pluginlist.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-12-31 23:03:03 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 15:38:18 +0100
commit399ff3fcf7920adec128d30f3c97a7636a6f10be (patch)
treee69ae1ae362cfc2aef2c91231b712db0b6c890b5 /src/pluginlist.h
parent91081315cf7b654f5defe855dea3dc1f71b0962c (diff)
Minor clean for plugin list.
Diffstat (limited to 'src/pluginlist.h')
-rw-r--r--src/pluginlist.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/pluginlist.h b/src/pluginlist.h
index 6b0f584c..c93ce5cb 100644
--- a/src/pluginlist.h
+++ b/src/pluginlist.h
@@ -257,15 +257,9 @@ public: // implementation of the QAbstractTableModel interface
public slots:
- /**
- * @brief enables ALL plugins
- **/
- void enableAll();
-
- /**
- * @brief disables ALL plugins
- **/
- void disableAll();
+ // enable/disable all plugins
+ //
+ void setEnabledAll(bool enabled);
// enable/disable plugins at the given indices.
//
@@ -273,7 +267,7 @@ public slots:
// send plugins to the given priority
//
- void sendToPriority(const QModelIndexList& selectionModel, int priority);
+ void sendToPriority(const QModelIndexList& indices, int priority);
// shift the priority of mods at the given indices by the given offset
//