Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QIconEngine::addPixmap ( const QPixmap pixmap,
QIcon::Mode  mode,
QIcon::State  state 
) [virtual]

Called by QIcon::addPixmap(). Adds a specialized pixmap for the given mode and state. The default pixmap-based engine stores any supplied pixmaps, and it uses them instead of scaled pixmaps if the size of a pixmap matches the size of icon requested. Custom icon engines that implement scalable vector formats are free to ignores any extra pixmaps.

Definition at line 98 of file qiconengine.cpp.


Generated by  Doxygen 1.6.0   Back to index