From 7f1fd1cccfca94740f3c22dd411c847eae8c77d3 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 4 Dec 2018 20:55:36 +0000 Subject: updated api documentation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8488 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/uihelper.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/qmmpui/uihelper.h') diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index 46844e788..2ba17cc27 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -61,7 +61,7 @@ public: { TOOLS_MENU = 0, /*!< tools menu */ PLAYLIST_MENU, /*!< playlist context menu */ - ADD_MENU + ADD_MENU /*!< "add"/"file" menu */ }; /*! * Returns \b true if one of the general plugin can change visibility, otherwise returns \b false @@ -89,8 +89,13 @@ public: * @param parent Parent widget */ QMenu *createMenu(MenuType type, const QString &title = QString(), QWidget *parent = 0); + /*! + * Registers existing menu for access from general plugins. + * @param type Menu type. + * @param menu Menu pointer. + * @param before An action, after which the rest are added. + */ void registerMenu(MenuType type, QMenu *menu, QAction *before = 0); - /*! * Opens 'Add Files' dialog * @param parent Parent widget -- cgit v1.2.3-13-gbd6f