Home · All Classes · All Functions · Overviews |
The QFileIconProvider class provides file icons for the QDirModel class. More...
#include <QFileIconProvider>
enum | IconType { Computer, Desktop, Trashcan, Network, ..., File } |
QFileIconProvider () | |
virtual | ~QFileIconProvider () |
virtual QIcon | icon ( IconType type ) const |
virtual QIcon | icon ( const QFileInfo & info ) const |
virtual QString | type ( const QFileInfo & info ) const |
The QFileIconProvider class provides file icons for the QDirModel class.
Constant | Value |
---|---|
QFileIconProvider::Computer | 0 |
QFileIconProvider::Desktop | 1 |
QFileIconProvider::Trashcan | 2 |
QFileIconProvider::Network | 3 |
QFileIconProvider::Drive | 4 |
QFileIconProvider::Folder | 5 |
QFileIconProvider::File | 6 |
Constructs a file icon provider.
Destroys the file icon provider.
Returns an icon set for the given type.
Returns an icon for the file described by info.
Returns the type of the file described by info.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |