summaryrefslogtreecommitdiff
path: root/src/pluginlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginlist.h')
-rw-r--r--src/pluginlist.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pluginlist.h b/src/pluginlist.h
index 03d6426a..009c9153 100644
--- a/src/pluginlist.h
+++ b/src/pluginlist.h
@@ -265,6 +265,16 @@ public slots:
void disableAll();
/**
+ * @brief moves selected plugins to the top (lowest priority)
+ **/
+ void sendToTop(const QItemSelectionModel *selectionModel);
+
+ /**
+ * @brief moves selected plugins to the bottom (highest priority)
+ **/
+ void sendToBottom(const QItemSelectionModel *selectionModel);
+
+ /**
* @brief The currently managed game has changed
* @param gamePlugin
*/
@@ -340,6 +350,8 @@ private:
void fixPriorities();
+ int findPluginByPriority(int priority);
+
private:
std::vector<ESPInfo> m_ESPs;