KIO::MimetypeJob Class Reference
A MimetypeJob is a TransferJob that allows you to get the mime type of an URL. More...
#include <jobclasses.h>
Inheritance diagram for KIO::MimetypeJob:


Public Member Functions | |
MimetypeJob (const KURL &url, int command, const QByteArray &packedArgs, bool showProgressInfo) | |
QString | mimetype () const |
virtual void | start (Slave *slave) |
Protected Slots | |
virtual void | slotFinished () |
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
A MimetypeJob is a TransferJob that allows you to get the mime type of an URL.Don't create directly, but use KIO::mimetype() instead.
- See also:
- KIO::mimetype()
Definition at line 1167 of file jobclasses.h.
Constructor & Destructor Documentation
|
Do not create a MimetypeJob directly. Use KIO::mimetype() instead.
|
Member Function Documentation
|
Call this in the slot connected to result, and only after making sure no error happened.
Definition at line 1186 of file jobclasses.h. |
|
Called when the slave marks the job as finished.
Reimplemented from KIO::TransferJob. Definition at line 1415 of file job.cpp. References KIO::Scheduler::doJob(), QString::fromLatin1(), KURL::isEmpty(), KURL::isValid(), kdDebug(), KIO::Job::m_error, KIO::TransferJob::m_mimetype, KIO::SimpleJob::m_packedArgs, KIO::TransferJob::m_redirectionURL, KIO::TransferJob::m_suspended, KIO::SimpleJob::m_url, KIO::TransferJob::mimetype(), KIO::TransferJob::permanentRedirection(), KIO::Job::queryMetaData(), KIO::SimpleJob::slaveDone(), KIO::TransferJob::slotFinished(), and KIO::TransferJob::staticData. |
The documentation for this class was generated from the following files: