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

void QIconEngine::addFile ( const QString fileName,
const QSize size,
QIcon::Mode  mode,
QIcon::State  state 
) [virtual]

Called by QIcon::addFile(). Adds a specialized pixmap from the file with the given fileName, size, mode and state. The default pixmap-based engine stores any supplied file names, and it loads the pixmaps on demand instead of using 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 files.

Definition at line 111 of file qiconengine.cpp.


Generated by  Doxygen 1.6.0   Back to index