MBoxProtocol Class Reference
This class is the main class and implements all function which can be called through the user.
More...
#include <mbox.h>
Inherits KIO::SlaveBase.
List of all members.
Public Member Functions |
void | emitError (int _errno, const QString &arg) |
virtual void | get (const KUrl &url) |
virtual void | listDir (const KUrl &url) |
| MBoxProtocol (const QByteArray &, const QByteArray &) |
virtual void | mimetype (const KUrl &url) |
virtual void | stat (const KUrl &url) |
virtual | ~MBoxProtocol () |
Detailed Description
This class is the main class and implements all function which can be called through the user.
Definition at line 33 of file mbox.h.
Constructor & Destructor Documentation
MBoxProtocol::MBoxProtocol |
( |
const QByteArray & |
arg1, |
|
|
const QByteArray & |
arg2 | |
|
) |
| | |
Constructor, for the parameters, See KIO::SlaveBase.
Definition at line 57 of file mbox.cpp.
MBoxProtocol::~MBoxProtocol |
( |
|
) |
[virtual] |
Empty destructor.
Definition at line 64 of file mbox.cpp.
Member Function Documentation
void MBoxProtocol::emitError |
( |
int |
_errno, |
|
|
const QString & |
arg | |
|
) |
| | |
Through this functions, other class which have an instance to this class (classes which are part of kio_mbox) can emit an error with this function.
- Parameters:
-
| errno | The error number to be thrown |
| arg | The argument of the error message of the error number. |
Definition at line 159 of file mbox.cpp.
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:
-
| url | The url which points to the virtual file to get |
Definition at line 68 of file mbox.cpp.
void MBoxProtocol::listDir |
( |
const KUrl & |
url |
) |
[virtual] |
This functions gives a listing back.
- Parameters:
-
| url | The url to the mbox-file. |
Definition at line 101 of file mbox.cpp.
void MBoxProtocol::mimetype |
( |
const KUrl & |
url |
) |
[virtual] |
This functions determinate the mimetype of a given mbox-file or mbox-email.
- Parameters:
-
| url | The url to get the mimetype from |
Definition at line 143 of file mbox.cpp.
void MBoxProtocol::stat |
( |
const KUrl & |
url |
) |
[virtual] |
This functions gives general properties about a mbox-file, or mbox-email back.
Definition at line 129 of file mbox.cpp.
The documentation for this class was generated from the following files: