• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

TDEIO::MimetypeJob

TDEIO::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 TDEIO::MimetypeJob:
TDEIO::TransferJob TDEIO::SimpleJob TDEIO::Job TQObject

List of all members.

Public Member Functions

 MimetypeJob (const KURL &url, int command, const TQByteArray &packedArgs, bool showProgressInfo)
TQString 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 TDEIO::mimetype() instead.

See also:
TDEIO::mimetype()

Definition at line 1208 of file jobclasses.h.


Constructor & Destructor Documentation

MimetypeJob::MimetypeJob ( const KURL &  url,
int  command,
const TQByteArray &  packedArgs,
bool  showProgressInfo 
)

Do not create a MimetypeJob directly.

Use TDEIO::mimetype() instead.

Parameters:
url the url to get
command the command to issue
packedArgs the arguments
showProgressInfo true to show progress information to the user

Definition at line 1497 of file job.cpp.


Member Function Documentation

TQString TDEIO::MimetypeJob::mimetype (  )  const [inline]

Call this in the slot connected to result, and only after making sure no error happened.

Returns:
the mimetype of the URL

Definition at line 1227 of file jobclasses.h.

void MimetypeJob::slotFinished (  )  [protected, virtual, slot]

Called when the slave marks the job as finished.

Reimplemented from TDEIO::TransferJob.

Definition at line 1509 of file job.cpp.


The documentation for this class was generated from the following files:
  • jobclasses.h
  • job.cpp

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.6.3
This website is maintained by Timothy Pearson.