Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QFontEnginePlugin Class Reference
[QtGui module]

The QFontEnginePlugin class is the base class for font engine factory plugins in Qt for Embedded Linux. More...

 #include <QFontEnginePlugin>

This class is under development and is subject to change.

Inherits QObject.

This class was introduced in Qt 4.3.

Public Functions

Additional Inherited Members


Detailed Description

The QFontEnginePlugin class is the base class for font engine factory plugins in Qt for Embedded Linux.

QFontEnginePlugin is provided by font engine plugins to create instances of subclasses of QAbstractFontEngine.

The member functions create() and availableFontEngines() must be implemented.

See also QAbstractFontEngine and QFontEngineInfo.


Member Function Documentation

QFontEnginePlugin::QFontEnginePlugin ( const QString & foundry, QObject * parent = 0 )

Creates a font engine plugin that creates font engines with the specified foundry and parent.

QFontEnginePlugin::~QFontEnginePlugin ()

Destroys this font engine plugin.

QList<QFontEngineInfo> QFontEnginePlugin::availableFontEngines () const   [pure virtual]

Implemented in subclasses to return a list of QFontEngineInfo objects that represents all font engines the plugin can create.

QAbstractFontEngine * QFontEnginePlugin::create ( const QFontEngineInfo & info )   [pure virtual]

Implemented in subclasses to create a new font engine that provides a font that matches info.

QStringList QFontEnginePlugin::keys () const   [virtual]

Returns a list of foundries the font engine plugin provides. The default implementation returns the foundry specified with the constructor.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.5.1