diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-04-29 21:47:16 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2021-04-29 21:47:16 +0000 |
| commit | 9f21a5f3c222f392dc5370abda0417d80216ea37 (patch) | |
| tree | d9e48bfe568da01ace32c143335c7bac8c40052b /src/qmmpui/uihelper.h | |
| parent | 16e04556f68c3b12971ad12953761406ab795aae (diff) | |
| download | qmmp-9f21a5f3c222f392dc5370abda0417d80216ea37.tar.gz qmmp-9f21a5f3c222f392dc5370abda0417d80216ea37.tar.bz2 qmmp-9f21a5f3c222f392dc5370abda0417d80216ea37.zip | |
updated API documentation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9870 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/uihelper.h')
| -rw-r--r-- | src/qmmpui/uihelper.h | 18 |
1 files changed, 12 insertions, 6 deletions
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: |
