kdeui Library API Documentation

KActionSeparator Class Reference

Inheritance diagram for KActionSeparator:

Inheritance graph
[legend]
Collaboration diagram for KActionSeparator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KActionSeparator (QObject *parent=0, const char *name=0)
virtual ~KActionSeparator ()
virtual int plug (QWidget *widget, int index=-1)

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Detailed Description

Definition at line 1306 of file kactionclasses.h.


Member Function Documentation

int KActionSeparator::plug QWidget widget,
int  index = -1
[virtual]
 

"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 KAction object.

Parameters:
widget The GUI element to display this action
index The position into which the action is plugged. If this is negative, the action is inserted at the end.

Reimplemented from KAction.

Definition at line 2105 of file kactionclasses.cpp.

References KAction::addContainer(), QObject::connect(), QObject::destroyed(), KToolBar::insertSeparator(), QMenuBar::insertSeparator(), QPopupMenu::insertSeparator(), KAction::slotDestroyed(), and KAction::toolBar().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeui Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 06:50:13 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003