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

KDEUI

KFontAction Class Reference

An action to select a font family. More...

#include <kfontaction.h>

Inheritance diagram for KFontAction:
KSelectAction KAction QWidgetAction

List of all members.

Public Member Functions

virtual QWidget * createWidget (QWidget *parent)
QString font () const
 KFontAction (const KIcon &icon, const QString &text, QObject *parent)
 KFontAction (const QString &text, QObject *parent)
 KFontAction (QObject *parent)
 KFontAction (uint fontListCriteria, QObject *parent)
void setFont (const QString &family)
virtual ~KFontAction ()

Properties

QString font

Detailed Description

An action to select a font family.

On a toolbar this will show a combobox with all the fonts on the system.

Definition at line 36 of file kfontaction.h.


Constructor & Destructor Documentation

KFontAction::KFontAction ( uint  fontListCriteria,
QObject *  parent 
)

Definition at line 67 of file kfontaction.cpp.

KFontAction::KFontAction ( QObject *  parent  )  [explicit]

Definition at line 76 of file kfontaction.cpp.

KFontAction::KFontAction ( const QString &  text,
QObject *  parent 
)

Definition at line 85 of file kfontaction.cpp.

KFontAction::KFontAction ( const KIcon &  icon,
const QString &  text,
QObject *  parent 
)

Definition at line 94 of file kfontaction.cpp.

KFontAction::~KFontAction (  )  [virtual]

Definition at line 103 of file kfontaction.cpp.


Member Function Documentation

QWidget * KFontAction::createWidget ( QWidget *  parent  )  [virtual]

Reimplemented from.

See also:
QWidgetAction.

Reimplemented from KSelectAction.

Definition at line 113 of file kfontaction.cpp.

QString KFontAction::font (  )  const
void KFontAction::setFont ( const QString &  family  ) 

Definition at line 137 of file kfontaction.cpp.


Property Documentation

QString KFontAction::font [read, write]

Definition at line 39 of file kfontaction.h.


The documentation for this class was generated from the following files:
  • kfontaction.h
  • kfontaction.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