kioslaves

kio_sieveProtocol Class Reference

#include <sieve.h>

Inheritance diagram for kio_sieveProtocol:

List of all members.


Public Types

enum  connectionModes { NORMAL, CONNECTION_ORIENTED }
enum  Results { OK, NO, BYE, OTHER }

Public Member Functions

bool activate (const KURL &url)
virtual void chmod (const KURL &url, int permissions)
virtual void closeConnection ()
bool deactivate ()
virtual void del (const KURL &url, bool isfile)
virtual void get (const KURL &url)
 kio_sieveProtocol (const QCString &pool_socket, const QCString &app_socket)
virtual void listDir (const KURL &url)
virtual void mimetype (const KURL &url)
virtual void openConnection ()
virtual void put (const KURL &url, int permissions, bool overwrite, bool resume)
virtual void setHost (const QString &host, int port, const QString &user, const QString &pass)
virtual void special (const QByteArray &data)
virtual void stat (const KURL &url)
virtual ~kio_sieveProtocol ()

Protected Member Functions

bool authenticate ()
void changeCheck (const KURL &url)
bool connect (bool useTLSIfAvailable=true)
void disconnect (bool forcibly=false)
int operationResult ()
bool operationSuccessful ()
bool parseCapabilities (bool requestCapabilities=false)
bool receiveData (bool waitForData=true, QCString *reparse=0)
bool saslInteract (void *in, KIO::AuthInfo &ai)
bool sendData (const QCString &data)

Protected Attributes

uint m_connMode
QStringList m_sasl_caps
QString m_sAuth
bool m_shouldBeConnected
QString m_sPass
QString m_sServer
bool m_supportsTLS
QString m_sUser
kio_sieveResponse r

Detailed Description

Definition at line 61 of file sieve.h.


Member Enumeration Documentation

Enumerator:
NORMAL 
CONNECTION_ORIENTED 

Definition at line 65 of file sieve.h.

Enumerator:
OK 
NO 
BYE 
OTHER 

Definition at line 66 of file sieve.h.


Constructor & Destructor Documentation

kio_sieveProtocol::kio_sieveProtocol ( const QCString pool_socket,
const QCString app_socket 
)

Definition at line 191 of file sieve.cpp.

kio_sieveProtocol::~kio_sieveProtocol (  )  [virtual]

Definition at line 200 of file sieve.cpp.


Member Function Documentation

bool kio_sieveProtocol::activate ( const KURL &  url  ) 

Definition at line 447 of file sieve.cpp.

bool kio_sieveProtocol::authenticate (  )  [protected]

Definition at line 978 of file sieve.cpp.

void kio_sieveProtocol::changeCheck ( const KURL &  url  )  [protected]

Checks if connection parameters (currently - auth method) have changed.

If it it, close the current connection

Definition at line 294 of file sieve.cpp.

void kio_sieveProtocol::chmod ( const KURL &  url,
int  permissions 
) [virtual]

Definition at line 782 of file sieve.cpp.

void kio_sieveProtocol::closeConnection (  )  [virtual]

Definition at line 386 of file sieve.cpp.

bool kio_sieveProtocol::connect ( bool  useTLSIfAvailable = true  )  [protected]

Connects to the server.

returns false and calls error() if an error occurred.

Definition at line 326 of file sieve.cpp.

bool kio_sieveProtocol::deactivate (  ) 

Definition at line 475 of file sieve.cpp.

void kio_sieveProtocol::del ( const KURL &  url,
bool  isfile 
) [virtual]

Definition at line 747 of file sieve.cpp.

void kio_sieveProtocol::disconnect ( bool  forcibly = false  )  [protected]

Definition at line 393 of file sieve.cpp.

void kio_sieveProtocol::get ( const KURL &  url  )  [virtual]

Definition at line 675 of file sieve.cpp.

void kio_sieveProtocol::listDir ( const KURL &  url  )  [virtual]

Definition at line 875 of file sieve.cpp.

void kio_sieveProtocol::mimetype ( const KURL &  url  )  [virtual]

Definition at line 1133 of file sieve.cpp.

void kio_sieveProtocol::openConnection (  )  [virtual]

Definition at line 224 of file sieve.cpp.

int kio_sieveProtocol::operationResult (  )  [protected]

Definition at line 1266 of file sieve.cpp.

bool kio_sieveProtocol::operationSuccessful (  )  [protected]

Definition at line 1251 of file sieve.cpp.

bool kio_sieveProtocol::parseCapabilities ( bool  requestCapabilities = false  )  [protected]

Definition at line 230 of file sieve.cpp.

void kio_sieveProtocol::put ( const KURL &  url,
int  permissions,
bool  overwrite,
bool  resume 
) [virtual]

Definition at line 509 of file sieve.cpp.

bool kio_sieveProtocol::receiveData ( bool  waitForData = true,
QCString reparse = 0 
) [protected]

Definition at line 1165 of file sieve.cpp.

bool kio_sieveProtocol::saslInteract ( void *  in,
KIO::AuthInfo &  ai 
) [protected]

bool kio_sieveProtocol::sendData ( const QCString data  )  [protected]

Definition at line 1147 of file sieve.cpp.

void kio_sieveProtocol::setHost ( const QString host,
int  port,
const QString user,
const QString pass 
) [virtual]

Definition at line 207 of file sieve.cpp.

void kio_sieveProtocol::special ( const QByteArray data  )  [virtual]

Special commands supported by this slave: 1 - activate script 2 - deactivate (all - only one active at any one time) scripts 3 - request capabilities, returned as metadata.

Definition at line 418 of file sieve.cpp.

void kio_sieveProtocol::stat ( const KURL &  url  )  [virtual]

Definition at line 803 of file sieve.cpp.


Member Data Documentation

Definition at line 110 of file sieve.h.

Definition at line 113 of file sieve.h.

Definition at line 123 of file sieve.h.

Definition at line 124 of file sieve.h.

Definition at line 122 of file sieve.h.

Definition at line 120 of file sieve.h.

Definition at line 114 of file sieve.h.

Definition at line 121 of file sieve.h.

Definition at line 117 of file sieve.h.


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