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

QFileIconProvider Class Reference
[QtGui module]

The QFileIconProvider class provides file icons for the QDirModel class. More...

 #include <QFileIconProvider>

Public Types

Public Functions


Detailed Description

The QFileIconProvider class provides file icons for the QDirModel class.


Member Type Documentation

enum QFileIconProvider::IconType

ConstantValue
QFileIconProvider::Computer0
QFileIconProvider::Desktop1
QFileIconProvider::Trashcan2
QFileIconProvider::Network3
QFileIconProvider::Drive4
QFileIconProvider::Folder5
QFileIconProvider::File6


Member Function Documentation

QFileIconProvider::QFileIconProvider ()

Constructs a file icon provider.

QFileIconProvider::~QFileIconProvider ()   [virtual]

Destroys the file icon provider.

QIcon QFileIconProvider::icon ( IconType type ) const   [virtual]

Returns an icon set for the given type.

QIcon QFileIconProvider::icon ( const QFileInfo & info ) const   [virtual]

This is an overloaded member function, provided for convenience.

Returns an icon for the file described by info.

QString QFileIconProvider::type ( const QFileInfo & info ) const   [virtual]

Returns the type of the file described by info.


Copyright © 2008 Nokia Trademarks
Qt 4.4.3