Qt 5.9 | Qt Widgets | C++ Classes | QMenu

Qt 5.9.9 Reference Documentation

# Obsolete Members for QMenu

The following members of class QMenu are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Related Non-Members

`(obsolete)` void | qt_mac_set_dock_menu(QMenu *menu)

## Related Non-Members

### void qt_mac_set_dock_menu(QMenu *menu)

Sets this menu to be the dock menu available by option-clicking on the application dock icon. Available on macOS only.

Deprecated; use QMenu::setAsDockMenu() instead.