Port KToolBarPopupActionTest to QToolButton::ToolButtonPopupMode
setPopupMode() is easier API than setDelayed() and setStickyMenu(). Additionally, setDelayed() and setStickyMenu() had different meanings than the same methods in KActionMenu. Analog patch to !24 (merged), which ports KActionMenu.
The old API is still there as deprecated.
This depends on !24 (merged).
Edited by Laura David Hurka