KActionSeparator Class Reference

Inheritance diagram for KActionSeparator:

KAction QObject List of all members.

Detailed Description

Definition at line 1342 of file kactionclasses.h.


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)

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 2197 of file kactionclasses.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys