<class name="QIconEngineV2" doc="/** <p>The <a href="QIconEngineV2.html#QIconEngineV2()"><tt>QIconEngineV2</tt></a> class provides an abstract base class for <a href="QIcon.html"><tt>QIcon</tt></a> renderers.</p> <p>An icon engine renders <a href="QIcon.html"><tt>QIcon</tt></a>s. With icon engines, you can customize icons. Qt provides a default engine that makes icons adhere to the current style by scaling the icons and providing a disabled appearance.</p> <p>An engine is installed on an icon either through a <a href="QIcon.html"><tt>QIcon</tt></a> constructor or through a QIconEnginePluginV2. The plugins are used by Qt if a specific engine is not given when the icon is created. See the <a href="QIconEngineV2.html#QIconEngineV2()"><tt>QIconEngineV2</tt></a> class description to learn how to create icon engine plugins.</p> <p>An icon engine provides the rendering functions for a <a href="QIcon.html"><tt>QIcon</tt></a>. Each icon has a corresponding icon engine that is responsible for drawing the icon with a requested size, mode and state.</p> <p><a href="QIconEngineV2.html#QIconEngineV2()"><tt>QIconEngineV2</tt></a> extends the API of <a href="QIconEngine.html#QIconEngine()"><tt>QIconEngine</tt></a> to allow streaming of the icon engine contents, and should be used instead of <a href="QIconEngine.html#QIconEngine()"><tt>QIconEngine</tt></a> for implementing new icon engines.</p> @see <tt>QIconEnginePluginV2</tt> */"> <method name="public QIconEngineV2()"/> <method name="public com.trolltech.qt.gui.QIconEngineV2 clone()" doc="/** <p>Returns a clone of this icon engine.</p> */"/> <method name="public java.lang.String key()" doc="/** <p>Returns a key that identifies this icon engine.</p> */"/> <method name="public boolean read(com.trolltech.qt.core.QDataStream in)" doc="/** <p>Reads icon engine contents from the <a href="%2E%2E/core/QDataStream.html"><tt>QDataStream</tt></a> <tt>in</tt>. Returns true if the contents were read; otherwise returns false.</p> <p><a href="QIconEngineV2.html#QIconEngineV2()"><tt>QIconEngineV2</tt></a>'s default implementation always return false.</p> */"/> <method name="public boolean write(com.trolltech.qt.core.QDataStream out)" doc="/** <p>Writes the contents of this engine to the <a href="%2E%2E/core/QDataStream.html"><tt>QDataStream</tt></a> <tt>out</tt>. Returns true if the contents were written; otherwise returns false.</p> <p><a href="QIconEngineV2.html#QIconEngineV2()"><tt>QIconEngineV2</tt></a>'s default implementation always return false.</p> */"/> </class>