diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-31 22:18:11 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:18 +0100 |
| commit | bd34b532230d92bd6232ceb1ab2b0092cac79d22 (patch) | |
| tree | 27187c95e57702d66f6df2c61db45c03cb6c762b /src/pluginlist.h | |
| parent | 25a2123e5ffe66715d0a1ec09297ee91a9fcbe1c (diff) | |
Move plugin list context menu to its own class and to PluginListView.
Diffstat (limited to 'src/pluginlist.h')
| -rw-r--r-- | src/pluginlist.h | 14 |
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);
|
