class KToggleToolBarAction

# class KToggleToolBarAction | An action that takes care of everything associated with showing or hiding a toolbar by a menu action. More...
Definition | `#include <kaction.h>`
Inherits | KToggleAction [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KToggleToolBarAction ( const char* toolBarName, const QString& text, KActionCollection* parent, const char* name )
- KToggleToolBarAction ( KToolBar *toolBar, const QString &text, KActionCollection *parent, const char *name )
- virtual ~KToggleToolBarAction ()
- virtual int plug ( QWidget*, int index = -1 )
- KToolBar * toolBar ()

#### Public Slots

- virtual void setChecked ( bool )

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

An action that takes care of everything associated with showing or hiding a toolbar by a menu action. It will show or hide the toolbar with the given name when activated, and check or uncheck itself if the toolbar is manually shown or hidden.

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.

KToggleToolBarAction ( const char* toolBarName, const QString& text, KActionCollection* parent, const char* name ) | ### KToggleToolBarAction

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.

KToggleToolBarAction ( KToolBar *toolBar, const QString &text, KActionCollection *parent, const char *name ) | ### KToggleToolBarAction

~KToggleToolBarAction () | ### ~KToggleToolBarAction

[virtual]

int plug ( QWidget*, int index = -1 ) | ### plug

[virtual]

Reimplemented from KToggleAction.

KToolBar * toolBar () | ### toolBar

Reimplemented from KAction.

void setChecked ( bool ) | ### setChecked

[virtual slot]

Reimplemented from KToggleAction.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KToggleAction.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:37 2003, using kdoc 2.0a54.