Home · 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 Qtopia Core. 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 Qtopia Core.

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

The following functions need to be implemented: create() and availableFontEngines().

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 © 2008 Trolltech Trademarks
Qt 4.3.5