kioslaves
kio_sieveProtocol Class Reference#include <sieve.h>
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:
-
Definition at line 66 of file sieve.h.
Constructor & Destructor Documentation
kio_sieveProtocol::kio_sieveProtocol |
( |
const QCString & |
pool_socket, |
|
|
const QCString & |
app_socket | |
|
) |
| | |
kio_sieveProtocol::~kio_sieveProtocol |
( |
|
) |
[virtual] |
Member Function Documentation
bool kio_sieveProtocol::activate |
( |
const KURL & |
url |
) |
|
bool kio_sieveProtocol::authenticate |
( |
|
) |
[protected] |
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] |
void kio_sieveProtocol::closeConnection |
( |
|
) |
[virtual] |
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 |
( |
|
) |
|
void kio_sieveProtocol::del |
( |
const KURL & |
url, |
|
|
bool |
isfile | |
|
) |
| | [virtual] |
void kio_sieveProtocol::disconnect |
( |
bool |
forcibly = false |
) |
[protected] |
void kio_sieveProtocol::get |
( |
const KURL & |
url |
) |
[virtual] |
void kio_sieveProtocol::listDir |
( |
const KURL & |
url |
) |
[virtual] |
void kio_sieveProtocol::mimetype |
( |
const KURL & |
url |
) |
[virtual] |
void kio_sieveProtocol::openConnection |
( |
|
) |
[virtual] |
int kio_sieveProtocol::operationResult |
( |
|
) |
[protected] |
bool kio_sieveProtocol::operationSuccessful |
( |
|
) |
[protected] |
bool kio_sieveProtocol::parseCapabilities |
( |
bool |
requestCapabilities = false |
) |
[protected] |
void kio_sieveProtocol::put |
( |
const KURL & |
url, |
|
|
int |
permissions, |
|
|
bool |
overwrite, |
|
|
bool |
resume | |
|
) |
| | [virtual] |
bool kio_sieveProtocol::receiveData |
( |
bool |
waitForData = true , |
|
|
QCString * |
reparse = 0 | |
|
) |
| | [protected] |
bool kio_sieveProtocol::saslInteract |
( |
void * |
in, |
|
|
KIO::AuthInfo & |
ai | |
|
) |
| | [protected] |
bool kio_sieveProtocol::sendData |
( |
const QCString & |
data |
) |
[protected] |
void kio_sieveProtocol::setHost |
( |
const QString & |
host, |
|
|
int |
port, |
|
|
const QString & |
user, |
|
|
const QString & |
pass | |
|
) |
| | [virtual] |
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] |
Member Data Documentation
The documentation for this class was generated from the following files:
|