summaryrefslogtreecommitdiff
path: root/src/pluginlist.h
diff options
context:
space:
mode:
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 3a5f5412..6b0f584c 100644
--- a/src/pluginlist.h
+++ b/src/pluginlist.h
@@ -258,16 +258,6 @@ public: // implementation of the QAbstractTableModel interface
public slots:
/**
- * @brief enables selected plugins
- **/
- void enableSelected(const QItemSelectionModel *selectionModel);
-
- /**
- * @brief disables selected plugins
- **/
- void disableSelected(const QItemSelectionModel *selectionModel);
-
- /**
* @brief enables ALL plugins
**/
void enableAll();
@@ -277,6 +267,10 @@ public slots:
**/
void disableAll();
+ // enable/disable plugins at the given indices.
+ //
+ void setEnabled(const QModelIndexList& indices, bool enabled);
+
// send plugins to the given priority
//
void sendToPriority(const QModelIndexList& selectionModel, int priority);