• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kdeui

KRadioAction Class Reference

#include <kactionclasses.h>

Inheritance diagram for KRadioAction:

KToggleAction KAction QObject

List of all members.


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.


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)

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:
text The text that will be displayed.
cut The corresponding keyboard accelerator (shortcut).
parent This action's parent.
name An 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:
text The text that will be displayed.
cut The corresponding keyboard accelerator (shortcut).
receiver The SLOT's parent.
slot The SLOT to invoke to execute this action.
parent This action's parent.
name An 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:
text The text that will be displayed.
pix The icons that go with this action.
cut The corresponding keyboard accelerator (shortcut).
parent This action's parent.
name An 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:
text The text that will be displayed.
pix The dynamically loaded icon that goes with this action.
cut The corresponding keyboard accelerator (shortcut).
parent This action's parent.
name An 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:
text The text that will be displayed.
pix The icons that go with this action.
cut The corresponding keyboard accelerator (shortcut).
receiver The SLOT's parent.
slot The SLOT to invoke to execute this action.
parent This action's parent.
name An 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:
text The text that will be displayed.
pix The dynamically loaded icon that goes with this action.
cut The corresponding keyboard accelerator (shortcut).
receiver The SLOT's parent.
slot The SLOT to invoke to execute this action.
parent This action's parent.
name An internal name for this action.

Definition at line 305 of file kactionclasses.cpp.

KRadioAction::KRadioAction ( QObject *  parent = 0,
const char *  name = 0 
)

Parameters:
parent This action's parent.
name An internal name for this action.

Definition at line 313 of file kactionclasses.cpp.


The documentation for this class was generated from the following files:
  • kactionclasses.h
  • kactionclasses.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal