KFontAction Class Reference

Inheritance diagram for KFontAction:

KSelectAction KAction QObject List of all members.

Detailed Description

Definition at line 905 of file kactionclasses.h.


Public Slots

void setFont (const QString &family)

Public Member Functions

 KFontAction (const QString &text, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KFontAction (const QString &text, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KFontAction (const QString &text, const QIconSet &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KFontAction (const QString &text, const QString &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KFontAction (const QString &text, const QIconSet &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KFontAction (const QString &text, const QString &pix, const KShortcut &cut, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 KFontAction (uint fontListCriteria, const QString &text, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KFontAction (uint fontListCriteria, const QString &text, const QString &pix, const KShortcut &cut=KShortcut(), QObject *parent=0, const char *name=0)
 KFontAction (QObject *parent=0, const char *name=0)
 ~KFontAction ()
QString font () const
int plug (QWidget *, int index=-1)

Protected Member Functions

virtual void virtual_hook (int id, void *data)

Properties

QString font []

Member Function Documentation

int KFontAction::plug ( QWidget ,
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 KSelectAction object.

Parameters:
widget The GUI element to display this action.
index The index of the item.

Reimplemented from KSelectAction.

Definition at line 1504 of file kactionclasses.cpp.


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