• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KMimeTypeResolver Class Reference

#include <kmimetyperesolver.h>

Inheritance diagram for KMimeTypeResolver:

Inheritance graph
[legend]

List of all members.


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:
  • kmimetyperesolver.h
  • kmimetyperesolver.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal