kioslaves/mbox

UrlInfo Class Reference

List of all members.

Detailed Description

Definition at line 25 of file urlinfo.h.


Public Types

enum  UrlType { invalid = 0, message = 1, directory = 2 }

Public Member Functions

 UrlInfo (const KURL &url, const UrlType type=(UrlType)(message|directory))
 ~UrlInfo ()
UrlType type () const
QString mimetype () const
QString filename () const
QString id () const
QString url () const

Member Enumeration Documentation

This enum is used to determe the url type.

Definition at line 31 of file urlinfo.h.


Constructor & Destructor Documentation

UrlInfo::UrlInfo ( const KURL &  url,
const UrlType  type = (UrlType)(message|directory) 
)

Constructor.

Parameters:
url The url: this url is used to split the location data off.
type The possible types of the url

Definition at line 27 of file urlinfo.cc.

UrlInfo::~UrlInfo (  ) 

Destructor.

Definition at line 35 of file urlinfo.cc.


Member Function Documentation

UrlType UrlInfo::type (  )  const [inline]

Returns the type of the url.

Returns:
the type of the url

Definition at line 50 of file urlinfo.h.

QString UrlInfo::mimetype (  )  const

Returns:
the mimetype of the url

Definition at line 41 of file urlinfo.cc.

QString UrlInfo::filename (  )  const

Returns:
The location of the mbox-file

Definition at line 55 of file urlinfo.cc.

QString UrlInfo::id (  )  const

Returns:
The id given in the url.

Definition at line 60 of file urlinfo.cc.

QString UrlInfo::url (  )  const

Returns:
the while url as QString

Definition at line 65 of file urlinfo.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys