#include </home/clem/local/src/opie/noncore/unsupported/mailit/smtpclient.h>
Collaboration diagram for SmtpClient:

Public Slots | |
| void | errorHandling (int) |
| void | errorHandlingWithMsg (int, const QString &LastResponse) |
Signals | |
| void | errorOccurred (int, const QString &LR) |
| void | updateStatus (const QString &) |
| void | mailSent () |
Public Member Functions | |
| SmtpClient () | |
| ~SmtpClient () | |
| void | newConnection (const QString &target, int port) |
| void | addMail (const QString &from, const QString &subject, const QStringList &to, const QString &body) |
Protected Slots | |
| void | connectionEstablished () |
| void | incomingData () |
Private Types | |
| enum | transferStatus { Init, From, Recv, MRcv, Data, Body, Quit, Done } |
Private Attributes | |
| QSocket * | socket |
| QTextStream * | stream |
| int | status |
| QList< RawEmail > | mailList |
| RawEmail * | mailPtr |
| bool | sending |
| QStringList::Iterator | it |
|
|
Definition at line 65 of file smtpclient.h. |
|
|
Definition at line 23 of file smtpclient.cpp. References connectionEstablished(), error(), errorHandling(), FALSE, incomingData(), mailList, sending, socket, and TRUE. |
|
|
Definition at line 36 of file smtpclient.cpp. References socket. |
|
||||||||||||||||||||
|
Definition at line 56 of file smtpclient.cpp. References RawEmail::body, RawEmail::from, mailList, RawEmail::subject, and RawEmail::to. Referenced by EmailHandler::sendMail(). |
|
|
Definition at line 68 of file smtpclient.cpp. References tr, and updateStatus(). Referenced by SmtpClient(). |
|
|
Definition at line 74 of file smtpclient.cpp. References errorHandlingWithMsg(), and QString::null. Referenced by EmailHandler::cancel(), and SmtpClient(). |
|
||||||||||||
|
Definition at line 79 of file smtpclient.cpp. References errorOccurred(), FALSE, mailList, sending, and socket. Referenced by errorHandling(), and incomingData(). |
|
||||||||||||
|
Referenced by errorHandlingWithMsg(). |
|
|
Definition at line 87 of file smtpclient.cpp. References QValueList< T >::begin(), RawEmail::body, Body, Done, QValueList< T >::end(), errorHandlingWithMsg(), ErrUnknownResponse, FALSE, RawEmail::from, From, Init, it, mailList, mailPtr, mailSent(), MRcv, NULL, qDebug(), Quit, Recv, sending, QString::setNum(), socket, status, RawEmail::subject, RawEmail::to, tr, and updateStatus(). Referenced by SmtpClient(). |
|
|
Referenced by incomingData(). |
|
||||||||||||
|
Definition at line 42 of file smtpclient.cpp. References Init, qWarning(), sending, socket, status, tr, TRUE, and updateStatus(). Referenced by EmailHandler::sendMail(). |
|
|
Referenced by connectionEstablished(), incomingData(), and newConnection(). |
|
|
Definition at line 73 of file smtpclient.h. Referenced by incomingData(). |
|
|
Definition at line 70 of file smtpclient.h. Referenced by addMail(), errorHandlingWithMsg(), incomingData(), and SmtpClient(). |
|
|
Definition at line 71 of file smtpclient.h. Referenced by incomingData(). |
|
|
Definition at line 72 of file smtpclient.h. Referenced by errorHandlingWithMsg(), incomingData(), newConnection(), and SmtpClient(). |
|
|
Definition at line 63 of file smtpclient.h. Referenced by errorHandlingWithMsg(), incomingData(), newConnection(), SmtpClient(), and ~SmtpClient(). |
|
|
Definition at line 69 of file smtpclient.h. Referenced by incomingData(), and newConnection(). |
|
|
Definition at line 64 of file smtpclient.h. |
1.4.2