KIO::PreviewJob Class Reference
#include <previewjob.h>
Inheritance diagram for KIO::PreviewJob:

Signals | |
void | gotPreview (const KFileItem *item, const QPixmap &preview) |
Emitted when a thumbnail picture for item has been successfully retrieved. | |
void | failed (const KFileItem *item) |
Emitted when a thumbnail for item could not be created, either because a ThumbCreator for its MIME type does not exist, or because something went wrong. | |
Public Methods | |
void | removeItem (const KFileItem *item) |
Removes an item from preview processing. | |
Static Public Methods | |
QStringList | availablePlugins () |
QStringList | supportedMimeTypes () |
Protected Slots | |
virtual void | slotResult (KIO::Job *job) |
Called whenever a subjob finishes. | |
Protected Methods | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
This class catches a preview (thumbnail) for files
Definition at line 36 of file previewjob.h.
Member Function Documentation
|
Removes an item from preview processing. Use this if you passed an item to filePreview and want to delete it now.
Definition at line 217 of file previewjob.cpp. References QPtrList< Job >::first(), and QPtrList< Job >::removeFirst(). |
|
Definition at line 488 of file previewjob.cpp. References QValueList::begin(), QValueList::end(), KTrader::query(), KIO::Job::result(), and KTrader::self(). |
|
Definition at line 497 of file previewjob.cpp. References QValueList::begin(), QValueList::end(), KTrader::query(), KIO::Job::result(), and KTrader::self(). Referenced by KFileIconView::showPreviews(). |
|
Emitted when a thumbnail picture for
|
|
Emitted when a thumbnail for
|
|
Called whenever a subjob finishes. Default implementation checks for errors and propagates to parent job, then calls removeSubjob. Override if you don't want subjobs errors to be propagated. Reimplemented from KIO::Job. Definition at line 281 of file previewjob.cpp. References QValueList< UDSAtom >::begin(), QValueList< UDSAtom >::end(), KIO::Job::error(), QPtrList< Job >::isEmpty(), QFile::remove(), and QPtrList< Job >::remove(). |
The documentation for this class was generated from the following files: