KRadioAction Class Reference

#include <kactionclasses.h>

Inheritance diagram for KRadioAction:
KToggleAction KAction QObject

List of all members.

Public Member Functions

 KRadioAction (const QString &text, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KRadioAction (const QString &text, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KRadioAction (const QString &text, const QIconSet &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KRadioAction (const QString &text, const QString &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KRadioAction (const QString &text, const QIconSet &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KRadioAction (const QString &text, const QString &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KRadioAction (QObject *parent=0, const char *name=0)

Protected Member Functions

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

Detailed Description

Radiobox like action.

An action that operates like a radio button. At any given time only a single action from the group will be active.

Definition at line 230 of file kactionclasses.h.


Constructor & Destructor Documentation

KRadioAction::KRadioAction ( const QString text,
const KShortcut cut = KShortcut(),
QObject parent = 0,
const char *  name = 0 
)

Constructs a radio action with text and potential keyboard accelerator but nothing else.

Use this only if you really know what you are doing.

Parameters:
textThe text that will be displayed.
cutThe corresponding keyboard accelerator (shortcut).
parentThis action's parent.
nameAn internal name for this action.

Definition at line 270 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( const QString text,
const KShortcut cut,
const QObject receiver,
const char *  slot,
QObject parent,
const char *  name = 0 
)
Parameters:
textThe text that will be displayed.
cutThe corresponding keyboard accelerator (shortcut).
receiverThe SLOT's parent.
slotThe SLOT to invoke to execute this action.
parentThis action's parent.
nameAn internal name for this action.

Definition at line 276 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( const QString text,
const QIconSet pix,
const KShortcut cut = KShortcut(),
QObject parent = 0,
const char *  name = 0 
)
Parameters:
textThe text that will be displayed.
pixThe icons that go with this action.
cutThe corresponding keyboard accelerator (shortcut).
parentThis action's parent.
nameAn internal name for this action.

Definition at line 283 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( const QString text,
const QString pix,
const KShortcut cut = KShortcut(),
QObject parent = 0,
const char *  name = 0 
)
Parameters:
textThe text that will be displayed.
pixThe dynamically loaded icon that goes with this action.
cutThe corresponding keyboard accelerator (shortcut).
parentThis action's parent.
nameAn internal name for this action.

Definition at line 290 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( const QString text,
const QIconSet pix,
const KShortcut cut,
const QObject receiver,
const char *  slot,
QObject parent,
const char *  name = 0 
)
Parameters:
textThe text that will be displayed.
pixThe icons that go with this action.
cutThe corresponding keyboard accelerator (shortcut).
receiverThe SLOT's parent.
slotThe SLOT to invoke to execute this action.
parentThis action's parent.
nameAn internal name for this action.

Definition at line 297 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( const QString text,
const QString pix,
const KShortcut cut,
const QObject receiver,
const char *  slot,
QObject parent,
const char *  name = 0 
)
Parameters:
textThe text that will be displayed.
pixThe dynamically loaded icon that goes with this action.
cutThe corresponding keyboard accelerator (shortcut).
receiverThe SLOT's parent.
slotThe SLOT to invoke to execute this action.
parentThis action's parent.
nameAn internal name for this action.

Definition at line 305 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( QObject parent = 0,
const char *  name = 0 
)
Parameters:
parentThis action's parent.
nameAn internal name for this action.

Definition at line 313 of file kactionclasses.cpp.


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