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>
InheritsKToggleAction [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Protected Methods


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.

KToolBartoolBar ()

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: caleb on tcdevel on Tue Jan 28 12:54:10 2003, using kdoc $.