kdeui Library API Documentation

KFontAction Class Reference

Inheritance diagram for KFontAction:

Inheritance graph
[legend]
Collaboration diagram for KFontAction:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 869 of file kactionclasses.h.


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

References KAction::activated(), KAction::addContainer(), KSelectAction::comboWidth(), QObject::connect(), QObject::destroyed(), KAction::getToolButtonID(), KToolBar::insertWidget(), KAction::isEnabled(), KSelectAction::items(), QObject::name(), KSelectAction::plug(), KSelectAction::slotActivated(), KAction::slotDestroyed(), and KSelectAction::updateCurrentItem().


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 Thu Sep 15 10:29:56 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003