From 9f21a5f3c222f392dc5370abda0417d80216ea37 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 29 Apr 2021 21:47:16 +0000 Subject: updated API documentation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9870 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uihelper.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/qmmpui/uihelper.h') diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index ca5bfba75..f0a502a26 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -98,11 +98,6 @@ 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 @@ -187,9 +182,20 @@ signals: * Use it to show player's window and to raise it to the top. */ void showMainWindowCalled(); - + /*! + * Emitted when some general plugin adds widget. + * User interface should create this widget using the given \b id. + */ void widgetAdded(const QString &id); + /*! + * Emitted when some general plugin removes widget \b id. + * User interface should remove widget with the given \b id. + */ void widgetRemoved(const QString &id); + /*! + * Emitted when some general plugin changes settings of the widget \b id. + * User interface should recreate widget with the given \b id. + */ void widgetUpdated(const QString &id); private slots: -- cgit v1.2.3-13-gbd6f