qt.cfg: Add support for function QMenu::addAction

Reference: https://doc.qt.io/qt-5/qmenu.html#addAction
daca@home currently reports this as the Qt function which was most often missing a configuration.
This commit is contained in:
versat 2019-02-07 14:24:46 +01:00
parent 5fe7aad5e3
commit bdbaaff361
1 changed files with 20 additions and 0 deletions

View File

@ -109,6 +109,26 @@
<not-uninit/>
</arg>
</function>
<!-- QAction *QMenu::addAction(const QString &text) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text) -->
<!-- QAction *QMenu::addAction(const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut = 0) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char *member, const QKeySequence &shortcut = 0) -->
<!-- QAction *QMenu::addAction(const QString &text, const QObject *receiver, PointerToMemberFunction method, const QKeySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QString &text, Functor functor, const QKeySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QString &text, const QObject *context, Functor functor, const QKeySequence &shortcut = 0) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *receiver, PointerToMemberFunction method, const QKeySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, Functor functor, const QKeySequence &shortcut = ...) -->
<!-- QAction *QMenu::addAction(const QIcon &icon, const QString &text, const QObject *context, Functor functor, const QKeySequence &shortcut = 0) -->
<function name="QMenu::addAction">
<noreturn>false</noreturn>
<returnValue type="QAction *"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<!-- QString QObject::tr(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) //static -->
<function name="tr,QObject::tr">
<noreturn>false</noreturn>