kioslaves

UrlInfo Class Reference

#include <urlinfo.h>

List of all members.


Public Types

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

Public Member Functions

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

Detailed Description

Definition at line 25 of file urlinfo.h.


Member Enumeration Documentation

This enum is used to determe the url type.

Enumerator:
invalid 
message 
directory 

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

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::mimetype (  )  const

Returns:
the mimetype of the url

Definition at line 41 of file urlinfo.cc.

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::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: