org.kde.koala
public class KToggleAction extends KAction
UNKNOWN: Checkbox like action.
Constructor Summary | |
---|---|
protected | KToggleAction(Class dummy) |
KToggleAction(String text, KShortcut cut, QObject parent, String name)
Constructs a toggle action with text and potential keyboard
accelerator but nothing else. | |
KToggleAction(String text, KShortcut cut, QObject parent) | |
KToggleAction(String text, KShortcut cut) | |
KToggleAction(String text) | |
KToggleAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) | |
KToggleAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) | |
KToggleAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) | |
KToggleAction(String text, QIconSet pix, KShortcut cut, QObject parent) | |
KToggleAction(String text, QIconSet pix, KShortcut cut) | |
KToggleAction(String text, QIconSet pix) | |
KToggleAction(String text, String pix, KShortcut cut, QObject parent, String name) | |
KToggleAction(String text, String pix, KShortcut cut, QObject parent) | |
KToggleAction(String text, String pix, KShortcut cut) | |
KToggleAction(String text, String pix) | |
KToggleAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) | |
KToggleAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) | |
KToggleAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) | |
KToggleAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) | |
KToggleAction(QObject parent, String name) | |
KToggleAction(QObject parent) | |
KToggleAction() |
Method Summary | |
---|---|
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
String | exclusiveGroup() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isChecked()
Returns the actual state of the action. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
int | plug(QWidget widget, int index)
"Plug" or insert this action into a given widget.
|
int | plug(QWidget widget) |
void | setChecked(boolean arg1)
Sets the state of the action. |
void | setCheckedState(KGuiItem checkedItem)
Defines the text (and icon, tooltip, whatsthis) that should be displayed
instead of the normal text, when the action is checked.
|
void | setExclusiveGroup(String name)
Defines which "exclusive group" this action is part of.
|
protected void | slotActivated() |
String | toolTip() |
protected void | updateChecked(int id) |
Parameters: text The text that will be displayed. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
UNKNOWN: Constructs a toggle action with text and potential keyboard accelerator but nothing else.
Parameters: text The text that will be displayed. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's parent. slot The SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
UNKNOWN:
Parameters: text The text that will be displayed. pix The icons that go with this action. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
UNKNOWN:
Parameters: text The text that will be displayed. pix The dynamically loaded icon that goes with this action. cut The corresponding keyboard accelerator (shortcut). parent This action's parent. name An internal name for this action.
UNKNOWN:
Parameters: text The text that will be displayed. pix The icons that go with this action. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's parent. slot The SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
UNKNOWN:
Parameters: text The text that will be displayed. pix The dynamically loaded icon that goes with this action. cut The corresponding keyboard accelerator (shortcut). receiver The SLOT's parent. slot The SLOT to invoke to execute this action. parent This action's parent. name An internal name for this action.
UNKNOWN:
Parameters: parent This action's parent. name An internal name for this action.
UNKNOWN:
UNKNOWN: Returns the actual state of the action.
Parameters: widget The GUI element to display this action. index The index of the item.
UNKNOWN: "Plug" or insert this action into a given widget.
UNKNOWN: Sets the state of the action.
checkedItem
defines an icon explicitely. Same thing for tooltip and whatsthis.UNKNOWN: Defines the text (and icon, tooltip, whatsthis) that should be displayed instead of the normal text, when the action is checked.
UNKNOWN: Defines which "exclusive group" this action is part of.