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

QIconEngineV2 Class Reference
[
QtGui module]

The QIconEngineV2 class provides an abstract base class for QIcon renderers. More...

 #include <QIconEngineV2>

Inherits QIconEngine.

This class was introduced in Qt 4.3.

Public Functions


Detailed Description

The QIconEngineV2 class provides an abstract base class for QIcon renderers.

QIconEngineV2 extends the API of QIconEngine to allow streaming of the icon engine contents, and should be used instead of QIconEngine for implementing new icon engines.

An icon engine provides the rendering functions for a QIcon. Each icon has a corresponding icon engine that is responsible for drawing the icon with a requested size, mode and state.

See also QIconEnginePluginV2.


Member Function Documentation

QIconEngineV2 * QIconEngineV2::clone () const   [virtual]

Returns a clone of this icon engine.

QString QIconEngineV2::key () const   [virtual]

Returns a key that identifies this icon engine.

bool QIconEngineV2::read ( QDataStream & in )   [virtual]

Reads icon engine contents from the QDataStream in.

bool QIconEngineV2::write ( QDataStream & out ) const   [virtual]

Writes the contents of this engine to the QDataStream out.


Copyright © 2007 Trolltech Trademarks
Qt 4.3.0beta