KDEUI
#include <kfontsizeaction.h>

Signals | |
| void | fontSizeChanged (int) |
Public Member Functions | |
| KFontSizeAction (QObject *parent) | |
| KFontSizeAction (const QString &text, QObject *parent) | |
| KFontSizeAction (const KIcon &icon, const QString &text, QObject *parent) | |
| virtual | ~KFontSizeAction () |
| int | fontSize () const |
| void | setFontSize (int size) |
Protected Slots | |
| virtual void | actionTriggered (QAction *action) |
Properties | |
| int | fontSize |
Detailed Description
An action to allow changing of the font size.
This action will be shown as a combobox on a toolbar with a proper set of font sizes.
Definition at line 36 of file kfontsizeaction.h.
Constructor & Destructor Documentation
| KFontSizeAction::KFontSizeAction | ( | QObject * | parent | ) | [explicit] |
Definition at line 54 of file kfontsizeaction.cpp.
| KFontSizeAction::KFontSizeAction | ( | const QString & | text, |
| QObject * | parent | ||
| ) |
Definition at line 61 of file kfontsizeaction.cpp.
| KFontSizeAction::KFontSizeAction | ( | const KIcon & | icon, |
| const QString & | text, | ||
| QObject * | parent | ||
| ) |
Definition at line 68 of file kfontsizeaction.cpp.
| KFontSizeAction::~KFontSizeAction | ( | ) | [virtual] |
Definition at line 75 of file kfontsizeaction.cpp.
Member Function Documentation
| void KFontSizeAction::actionTriggered | ( | QAction * | action | ) | [protected, virtual, slot] |
This function is called whenever an action from the selections is triggered.
Reimplemented from KSelectAction.
Definition at line 139 of file kfontsizeaction.cpp.
| int KFontSizeAction::fontSize | ( | ) | const |
| void KFontSizeAction::fontSizeChanged | ( | int | ) | [signal] |
| void KFontSizeAction::setFontSize | ( | int | size | ) |
Definition at line 92 of file kfontsizeaction.cpp.
Property Documentation
int KFontSizeAction::fontSize [read, write] |
Definition at line 39 of file kfontsizeaction.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 17:58:55 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.