Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KIO::MetaInfoJob Class Reference

#include <metainfojob.h>

Inheritance diagram for KIO::MetaInfoJob:

KIO::Job List of all members.

Signals

void gotMetaInfo (const KFileItem *item)
void failed (const KFileItem *item)

Public Methods

 MetaInfoJob (const KFileItemList &items, bool deleteItems=false)
void removeItem (const KFileItem *item)

Static Public Methods

QStringList availablePlugins ()
QStringList supportedMimeTypes ()

Protected Slots

virtual void slotResult (KIO::Job *job)

Detailed Description

Since:
3.1

Definition at line 33 of file metainfojob.h.


Constructor & Destructor Documentation

KIO::MetaInfoJob::MetaInfoJob const KFileItemList &    items,
bool    deleteItems = false
 

Constructor

Parameters:
items  A list of KFileItems to get the metainfo for
deleteItems  If true, the finished KFileItems are deleted


Member Function Documentation

QStringList KIO::MetaInfoJob::availablePlugins   [static]
 

Returns:
a list of all available metainfo plugins. The list contains the basenames of the plugins' .desktop files (no path, no .desktop).

void KIO::MetaInfoJob::failed const KFileItem   item [signal]
 

Emitted when metainfo for item could not be extracted, either because a plugin for its MIME type does not exist, or because something went wrong.

void KIO::MetaInfoJob::gotMetaInfo const KFileItem   item [signal]
 

Emitted when the meta info for item has been successfully retrieved.

void KIO::MetaInfoJob::removeItem const KFileItem   item
 

Removes an item from metainfo extraction.

Parameters:
item  the item that should be removed from the queue

virtual void KIO::MetaInfoJob::slotResult KIO::Job   job [protected, virtual, slot]
 

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.

QStringList KIO::MetaInfoJob::supportedMimeTypes   [static]
 

Returns:
a list of all supported MIME types. The list can contain entries like text/ * (without the space).


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:32 2003 for kdelibs by doxygen1.2.18