• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

kioslave/mbox

Public Member Functions | List of all members
MBoxProtocol Class Reference

#include <mbox.h>

Inherits SlaveBase.

Public Member Functions

 MBoxProtocol (const QByteArray &, const QByteArray &)
 
virtual ~MBoxProtocol ()
 
void emitError (int _errno, const QString &arg)
 
virtual void get (const KUrl &url)
 
virtual void listDir (const KUrl &url)
 
virtual void mimetype (const KUrl &url)
 
virtual void stat (const KUrl &url)
 

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 63 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
errnoThe error number to be thrown
argThe argument of the error message of the error number.

Definition at line 155 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
urlThe url which points to the virtual file to get

Definition at line 67 of file mbox.cpp.

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

This functions gives a listing back.

Parameters
urlThe url to the mbox-file.

Definition at line 97 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
urlThe url to get the mimetype from

Definition at line 137 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 125 of file mbox.cpp.


The documentation for this class was generated from the following files:
  • mbox.h
  • mbox.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kioslave/mbox

Skip menu "kioslave/mbox"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal