.TH "KIO::MimetypeJob" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::MimetypeJob \- A \fBMimetypeJob\fP is a \fBTransferJob\fP that allows you to get the mime type of an URL.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <jobclasses.h>\fP
.PP
Inherits \fBKIO::TransferJob\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBMimetypeJob\fP (const \fBKURL\fP &url, int command, const \fBQByteArray\fP &packedArgs, bool showProgressInfo)"
.br
.ti -1c
.RI "\fBQString\fP \fBmimetype\fP () const "
.br
.ti -1c
.RI "virtual void \fBstart\fP (Slave *slave)"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "virtual void \fBslotFinished\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A \fBMimetypeJob\fP is a \fBTransferJob\fP that allows you to get the mime type of an URL. 

Don't create directly, but use \fBKIO::mimetype()\fP instead. 
.PP
\fBSee also:\fP
.RS 4
\fBKIO::mimetype()\fP 
.RE
.PP

.PP
Definition at line 1167 of file jobclasses.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "MimetypeJob::MimetypeJob (const \fBKURL\fP & url, int command, const \fBQByteArray\fP & packedArgs, bool showProgressInfo)"
.PP
Do not create a \fBMimetypeJob\fP directly. 
.PP
Use \fBKIO::mimetype()\fP instead. 
.PP
\fBParameters:\fP
.RS 4
\fIurl\fP the url to get 
.br
\fIcommand\fP the command to issue 
.br
\fIpackedArgs\fP the arguments 
.br
\fIshowProgressInfo\fP true to show progress information to the user
.RE
.PP

.PP
Definition at line 1403 of file job.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBQString\fP KIO::MimetypeJob::mimetype () const\fC [inline]\fP"
.PP
Call this in the slot connected to result, and only after making sure no error happened. 
.PP
\fBReturns:\fP
.RS 4
the mimetype of the URL 
.RE
.PP

.PP
Definition at line 1186 of file jobclasses.h.
.SS "void MimetypeJob::slotFinished ()\fC [protected, virtual, slot]\fP"
.PP
Called when the slave marks the job as finished. 
.PP
Reimplemented from \fBKIO::TransferJob\fP.
.PP
Definition at line 1415 of file job.cpp.
.PP
References KIO::Scheduler::doJob(), endl(), QString::fromLatin1(), KURL::isEmpty(), KURL::isValid(), kdDebug(), KIO::TransferJob::mimetype(), KIO::TransferJob::permanentRedirection(), KIO::Job::queryMetaData(), and KIO::TransferJob::slotFinished().

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