KIO
KMimeTypeResolver Class Reference
#include <kmimetyperesolver.h>
Inheritance diagram for KMimeTypeResolver:

Detailed Description
This class implements the "delayed-mimetype-determination" feature, for directory views.It determines the mimetypes of the icons in the background, but giving preferrence to the visible icons.
Definition at line 39 of file kmimetyperesolver.h.
Public Member Functions | |
KMimeTypeResolver (QAbstractItemView *view, KDirModel *model) | |
~KMimeTypeResolver () |
Constructor & Destructor Documentation
KMimeTypeResolver::KMimeTypeResolver | ( | QAbstractItemView * | view, | |
KDirModel * | model | |||
) | [explicit] |
The mimetype resolver is made a child of the view.
It is OK to have one resolver per view, and have those views share a common model; this way the mimetypes will only be determined once per item in the model, which saves time.
WARNING: if you call KDirModel::setDirLister, do it before creating the KMimeTypeResolver If this is a problem, tell me and I'll add a signal...
Definition at line 84 of file kmimetyperesolver.cpp.
KMimeTypeResolver::~KMimeTypeResolver | ( | ) |
Definition at line 99 of file kmimetyperesolver.cpp.
The documentation for this class was generated from the following files: