aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/uihelper.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-11 20:29:42 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-02-11 20:29:42 +0000
commitbad6ade611422524012e33446e652329c0a9cd50 (patch)
treed6acf3d48b72eac31c86765cda19eac6868471ad /src/qmmpui/uihelper.h
parent5a3ed59f24db8696bc9402aaff3792ccb71492ff (diff)
downloadqmmp-bad6ade611422524012e33446e652329c0a9cd50.tar.gz
qmmp-bad6ade611422524012e33446e652329c0a9cd50.tar.bz2
qmmp-bad6ade611422524012e33446e652329c0a9cd50.zip
updated api documentation, removed empty flags
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9223 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/uihelper.h')
-rw-r--r--src/qmmpui/uihelper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h
index 2367b62f4..1b1f76f69 100644
--- a/src/qmmpui/uihelper.h
+++ b/src/qmmpui/uihelper.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2019 by Ilya Kotov *
+ * Copyright (C) 2008-2020 by Ilya Kotov *
* forkotov02@ya.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -86,6 +86,7 @@ public:
* Creates menu with type \b type
* @param type Menu type.
* @param title Menu title.
+ * @param autoHide Hide empty menu.
* @param parent Parent widget
*/
QMenu *createMenu(MenuType type, const QString &title = QString(), bool autoHide = true, QWidget *parent = nullptr);
@@ -93,6 +94,7 @@ public:
* Registers existing menu for access from general plugins.
* @param type Menu type.
* @param menu Menu pointer.
+ * @param autoHide Hide empty menu.
* @param before An action, after which the rest are added.
*/
void registerMenu(MenuType type, QMenu *menu, bool autoHide = false, QAction *before = nullptr);