#include <kmimetyperesolver.h>
Inheritance diagram for KMimeTypeResolver< IconItem, Parent >:

Public Methods | |
| void | start (uint delayNonVisibleIcons=10) |
| virtual void | slotViewportAdjusted () |
| virtual void | slotProcessMimeIcons () |
Public Attributes | |
| QPtrList< IconItem > | m_lstPendingMimeIconItems |
It determines the mimetypes of the icons in the background, but giving preferrence to the visible icons.
It is implemented as a template, so that it can work with both QPtrListViewItem and QIconViewItem, without requiring hacks such as void * or QPtrDict lookups.
Here's what the parent must implement :
Definition at line 118 of file kmimetyperesolver.h.
|
|||||||||
|
"Connected" to the timer Definition at line 175 of file kmimetyperesolver.h. References KMimeTypeResolver< IconItem, Parent >::m_lstPendingMimeIconItems. |
|
|||||||||
|
"Connected" to the viewportAdjusted signal of the scrollview Definition at line 212 of file kmimetyperesolver.h. References KMimeTypeResolver< IconItem, Parent >::m_lstPendingMimeIconItems. |
|
||||||||||
|
Start the mimetype-determination. Call this when the listing is completed.
Definition at line 137 of file kmimetyperesolver.h. |
|
|||||
|
The list of items to process. The view is free to clear it, insert new items into it, remove items, etc. Definition at line 147 of file kmimetyperesolver.h. Referenced by KMimeTypeResolver< IconItem, Parent >::slotProcessMimeIcons(), and KMimeTypeResolver< IconItem, Parent >::slotViewportAdjusted(). |
1.2.18