KIO::MetaInfoJob Class Reference
MetaInfoJob is a KIO Job to retrieve meta information from files. KIO Job to retrieve meta information from files.- Since:
- 3.1.
#include <metainfojob.h>
Inheritance diagram for KIO::MetaInfoJob:

Signals | |
void | gotMetaInfo (const KFileItem *item) |
void | failed (const KFileItem *item) |
Public Methods | |
MetaInfoJob (const KFileItemList &items, bool deleteItems=false) | |
virtual | ~MetaInfoJob () |
void | removeItem (const KFileItem *item) |
Static Public Methods | |
QStringList | availablePlugins () |
QStringList | supportedMimeTypes () |
Protected Slots | |
virtual void | slotResult (KIO::Job *job) |
Protected Methods | |
void | getMetaInfo () |
Detailed Description
MetaInfoJob is a KIO Job to retrieve meta information from files. KIO Job to retrieve meta information from files.- Since:
- 3.1.
Definition at line 37 of file metainfojob.h.
Constructor & Destructor Documentation
|
Creates a new MetaInfoJob.
Definition at line 44 of file metainfojob.cpp. References KIO::Job::emitResult(), and QTimer::singleShot(). |
Member Function Documentation
|
Removes an item from metainfo extraction.
Definition at line 80 of file metainfojob.cpp. References QPtrList< Job >::first(), and QPtrList< Job >::removeFirst(). |
|
Returns a list of all available metainfo plugins. The list contains the basenames of the plugins' .desktop files (no path, no .desktop).
Definition at line 154 of file metainfojob.cpp. References KTrader::OfferList, KTrader::query(), KIO::Job::result(), and KTrader::self(). |
|
Returns a list of all supported MIME types. The list can contain entries like text/ * (without the space).
Definition at line 163 of file metainfojob.cpp. References KTrader::OfferList, KTrader::query(), KIO::Job::result(), and KTrader::self(). |
|
Emitted when the meta info for
|
|
Emitted when metainfo 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 116 of file metainfojob.cpp. References QPtrList< Job >::isEmpty(), and QPtrList< Job >::remove(). |
The documentation for this class was generated from the following files: