aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/uihelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/uihelper.h')
-rw-r--r--src/qmmpui/uihelper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h
index 1b1f76f69..9d31443bf 100644
--- a/src/qmmpui/uihelper.h
+++ b/src/qmmpui/uihelper.h
@@ -98,6 +98,11 @@ public:
* @param before An action, after which the rest are added.
*/
void registerMenu(MenuType type, QMenu *menu, bool autoHide = false, QAction *before = nullptr);
+
+ void addWidget(const QString &id);
+ void removeWidget(const QString &id);
+ void updateWidget(const QString &id);
+
/*!
* Opens 'Add Files' dialog
* @param parent Parent widget
@@ -183,6 +188,10 @@ signals:
*/
void showMainWindowCalled();
+ void widgetAdded(const QString &id);
+ void widgetRemoved(const QString &id);
+ void widgetUpdated(const QString &id);
+
private slots:
void removeAction(QObject *action);
void addSelectedFiles(const QStringList &files, bool play);