.TH "KIO::MetaInfoJob" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::MetaInfoJob \- \fBSince:\fP
.RS 4
3.1 
.RE
.PP
 

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <metainfojob.h>\fP
.PP
Inherits \fBKIO::Job\fP.
.PP
.SS "Signals"

.in +1c
.ti -1c
.RI "void \fBgotMetaInfo\fP (const  \fBKFileItem\fP *item)"
.br
.RI "\fIEmitted when the meta info for \fCitem\fP has been successfully retrieved. \fP"
.ti -1c
.RI "void \fBfailed\fP (const  \fBKFileItem\fP *item)"
.br
.RI "\fIEmitted when metainfo for \fCitem\fP could not be extracted, either because a plugin for its MIME type does not exist, or because something went wrong. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBMetaInfoJob\fP (const  \fBKFileItemList\fP &items, bool deleteItems=false)"
.br
.RI "\fIConstructor. \fP"
.ti -1c
.RI "void \fBremoveItem\fP (const  \fBKFileItem\fP *item)"
.br
.RI "\fIRemoves an item from metainfo extraction. \fP"
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQStringList\fP \fBavailablePlugins\fP ()"
.br
.ti -1c
.RI "\fBQStringList\fP \fBsupportedMimeTypes\fP ()"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "virtual void \fBslotResult\fP (\fBKIO::Job\fP *job)"
.br
.RI "\fICalled whenever a subjob finishes. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBgetMetaInfo\fP ()"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBSince:\fP
.RS 4
3.1 
.RE
.PP
Definition at line 33 of file metainfojob.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "MetaInfoJob::MetaInfoJob (const \fBKFileItemList\fP & items, bool deleteItems = false)"
.PP
Constructor. \fBParameters:\fP
.RS 4
\fIitems\fP A list of KFileItems to get the metainfo for 
.br
\fIdeleteItems\fP If true, the finished KFileItems are deleted 
.RE
.PP
Definition at line 44 of file metainfojob.cpp.
.PP
References KIO::Job::emitResult(), and QTimer::singleShot().
.SH "Member Function Documentation"
.PP 
.SS "void MetaInfoJob::removeItem (const \fBKFileItem\fP * item)"
.PP
Removes an item from metainfo extraction. \fBParameters:\fP
.RS 4
\fIitem\fP the item that should be removed from the queue 
.RE
.PP
Definition at line 80 of file metainfojob.cpp.
.PP
References QPtrList< Job >::first(), and QPtrList< Job >::removeFirst().
.SS "\fBQStringList\fP MetaInfoJob::availablePlugins ()\fC [static]\fP"
.PP
\fBReturns:\fP
.RS 4
a list of all available metainfo plugins. The list contains the basenames of the plugins' .desktop files (no path, no .desktop). 
.RE
.PP
Definition at line 157 of file metainfojob.cpp.
.PP
References QValueList::begin(), QValueList::end(), KTrader::OfferList, KTrader::query(), KIO::Job::result(), and KTrader::self().
.SS "\fBQStringList\fP MetaInfoJob::supportedMimeTypes ()\fC [static]\fP"
.PP
\fBReturns:\fP
.RS 4
a list of all supported MIME types. The list can contain entries like text/ * (without the space). 
.RE
.PP
Definition at line 166 of file metainfojob.cpp.
.PP
References QValueList::begin(), QValueList::end(), KTrader::OfferList, KTrader::query(), KIO::Job::result(), and KTrader::self().
.SS "void KIO::MetaInfoJob::gotMetaInfo (const \fBKFileItem\fP * item)\fC [signal]\fP"
.PP
Emitted when the meta info for \fCitem\fP has been successfully retrieved. 
.SS "void KIO::MetaInfoJob::failed (const \fBKFileItem\fP * item)\fC [signal]\fP"
.PP
Emitted when metainfo for \fCitem\fP could not be extracted, either because a plugin for its MIME type does not exist, or because something went wrong. 
.SS "void MetaInfoJob::slotResult (\fBKIO::Job\fP * job)\fC [protected, virtual, slot]\fP"
.PP
Called whenever a subjob finishes. Default implementation checks for errors and propagates to parent job, then calls \fBremoveSubjob\fP. Override if you don't want subjobs errors to be propagated. Reimplemented from \fBKIO::Job\fP.
.PP
Definition at line 116 of file metainfojob.cpp.
.PP
References QPtrList< Job >::isEmpty(), and QPtrList< Job >::remove().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
