org.kde.koala
public class KToolBarPopupAction extends KAction
UNKNOWN: This action is a normal action everywhere, except in a toolbar where it also has a popupmenu (optionnally delayed).
Constructor Summary | |
---|---|
protected | KToolBarPopupAction(Class dummy) |
KToolBarPopupAction(String text, String icon, KShortcut cut, QObject parent, String name)
Create a KToolBarPopupAction, with a text, an icon, an optional accelerator,
parent and name. | |
KToolBarPopupAction(String text, String icon, KShortcut cut, QObject parent) | |
KToolBarPopupAction(String text, String icon, KShortcut cut) | |
KToolBarPopupAction(String text, String icon) | |
KToolBarPopupAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent, String name)
Create a KToolBarPopupAction, with a text, an icon, an accelerator,
a slot connected to the action, parent and name.
| |
KToolBarPopupAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent) | |
KToolBarPopupAction(KGuiItem item, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name)
Create a KToolBarPopupAction, with a KGuiItem, an accelerator,
a slot connected to the action, parent and name. |
Method Summary | |
---|---|
String | className() |
boolean | delayed()
Returns true if this action creates a delayed popup menu
when plugged in a KToolbar. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
int | plug(QWidget widget, int index) |
int | plug(QWidget widget) |
KPopupMenu | popupMenu()
The popup menu that is shown when clicking (some time) on the toolbar
button. |
void | setDelayed(boolean delayed)
If set to true, this action will create a delayed popup menu
when plugged in a KToolbar. |
void | setStickyMenu(boolean sticky)
If set to true, this action will create a sticky popup menu
when plugged in a KToolbar.
|
boolean | stickyMenu()
Returns true if this action creates a sticky popup menu.
|
Parameters: text The text that will be displayed. icon The icon to display. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
UNKNOWN: Create a KToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name.
cut
param to 0.Parameters: text The text that will be displayed. icon The icon to display. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's owner. slot The SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
UNKNOWN: Create a KToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name.
cut
param to 0.Parameters: item The text and icon that will be displayed. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's owner. slot The SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
UNKNOWN: Create a KToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name.
UNKNOWN: Returns true if this action creates a delayed popup menu when plugged in a KToolbar.
UNKNOWN: The popup menu that is shown when clicking (some time) on the toolbar button.
UNKNOWN: If set to true, this action will create a delayed popup menu when plugged in a KToolbar.
UNKNOWN: If set to true, this action will create a sticky popup menu when plugged in a KToolbar.
UNKNOWN: Returns true if this action creates a sticky popup menu.