#include <kaction.h>
Inheritance diagram for KToggleToolBarAction:

Public Slots | |
| virtual void | setChecked (bool) |
Public Methods | |
| KToggleToolBarAction (const char *toolBarName, const QString &text, KActionCollection *parent, const char *name) | |
| virtual int | plug (QWidget *, int index=-1) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
If you need to perfom some additional action when the toolbar is shown or hidden, connect to the toggled(bool) signal. It will be emitted after the toolbar's visibility has changed, whenever it changes.
Definition at line 1659 of file kaction.h.
|
||||||||||||||||||||
|
Create a KToggleToolbarAction that manages the toolbar named toolBarName. This can be either the name of a toolbar in an xml ui file, or a toolbar programmatically created with that name. |
|
||||||||||||
|
"Plug" or insert this action into a given widget. This will typically be a menu or a toolbar. From this point on, you will never need to directly manipulate the item in the menu or toolbar. You do all enabling/disabling/manipulation directly with your KToggleAction object.
Reimplemented from KToggleAction. |
|
|
Sets the state of the action. Reimplemented from KToggleAction. |
1.2.18