tdeioslave/mbox

MBoxProtocol Class Reference

#include <mbox.h>

Inherits TDEIO::SlaveBase.

Public Member Functions

 MBoxProtocol (const TQCString &, const TQCString &)
 
virtual ~MBoxProtocol ()
 
virtual void get (const KURL &url)
 
virtual void listDir (const KURL &url)
 
virtual void stat (const KURL &url)
 
virtual void mimetype (const KURL &url)
 
void emitError (int errno, const TQString &arg)
 

Detailed Description

This class is the main class and implements all function which can be called through the user.

Definition at line 31 of file mbox.h.

Constructor & Destructor Documentation

◆ MBoxProtocol()

MBoxProtocol::MBoxProtocol ( const TQCString &  arg1,
const TQCString &  arg2 
)

Constructor, for the parameters, See TDEIO::SlaveBase.

Definition at line 61 of file mbox.cpp.

◆ ~MBoxProtocol()

MBoxProtocol::~MBoxProtocol ( )
virtual

Empty destructor.

Definition at line 68 of file mbox.cpp.

Member Function Documentation

◆ emitError()

void MBoxProtocol::emitError ( int  errno,
const TQString &  arg 
)

Through this functions, other class which have an instance to this class (classes which are part of tdeio_mbox) can emit an error with this function.

Parameters
errnoThe error number to be thrown
argThe argument of the error message of the error number.

Definition at line 163 of file mbox.cpp.

◆ get()

void MBoxProtocol::get ( const KURL &  url)
virtual

This functions is used when an user or a program wants to get a file from a mbox-file.

Parameters
urlThe url which points to the virtual file to get

Definition at line 72 of file mbox.cpp.

◆ listDir()

void MBoxProtocol::listDir ( const KURL &  url)
virtual

This functions gives a listing back.

Parameters
urlThe url to the mbox-file.

Definition at line 105 of file mbox.cpp.

◆ mimetype()

void MBoxProtocol::mimetype ( const KURL &  url)
virtual

This functions determinate the mimetype of a given mbox-file or mbox-email.

Parameters
urlThe url to get the mimetype from

Definition at line 147 of file mbox.cpp.

◆ stat()

void MBoxProtocol::stat ( const KURL &  url)
virtual

This functions gives general properties about a mbox-file, or mbox-email back.

Definition at line 133 of file mbox.cpp.


The documentation for this class was generated from the following files: