• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

KFontSizeAction Class Reference

An action to allow changing of the font size. More...

#include <kfontsizeaction.h>

Inheritance diagram for KFontSizeAction:
KSelectAction KAction QWidgetAction

List of all members.

Signals

void fontSizeChanged (int)

Public Member Functions

int fontSize () const
 KFontSizeAction (const KIcon &icon, const QString &text, QObject *parent)
 KFontSizeAction (const QString &text, QObject *parent)
 KFontSizeAction (QObject *parent)
void setFontSize (int size)
virtual ~KFontSizeAction ()

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:
  • kfontsizeaction.h
  • kfontsizeaction.cpp

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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