KDEUI
ktoolbarpopupaction.cpp
Go to the documentation of this file.
50 KToolBarPopupAction::KToolBarPopupAction(const KIcon& icon, const QString& text, QObject *parent)
virtual ~KToolBarPopupAction()
Destroys the toolbar popup action.
Definition: ktoolbarpopupaction.cpp:57
KToolBarPopupAction(const KIcon &icon, const QString &text, QObject *parent)
Create a KToolBarPopupAction, with a text, an icon, a parent and a name.
Definition: ktoolbarpopupaction.cpp:50
bool delayed() const
Returns true if this action creates a delayed popup menu when plugged in a KToolBar.
KMenu * popupMenu() const
The popup menu that is shown when clicking (some time) on the toolbar button.
Definition: ktoolbarpopupaction.cpp:64
void triggered(Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
Emitted when the action is triggered.
bool stickyMenu() const
Returns true if this action creates a sticky popup menu.
void setDelayed(bool delayed)
If set to true, this action will create a delayed popup menu when plugged in a KToolBar.
Definition: ktoolbarpopupaction.cpp:105
virtual QWidget * createWidget(QWidget *parent)
Reimplemented from.
Definition: ktoolbarpopupaction.cpp:70
void setStickyMenu(bool sticky)
If set to true, this action will create a sticky popup menu when plugged in a KToolBar.
Definition: ktoolbarpopupaction.cpp:115
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.