Merge branch 'v1.1'

This commit is contained in:
Tőkés Attila 2012-10-25 18:17:30 +03:00
commit dac7a04d6f
2 changed files with 26 additions and 0 deletions

View File

@ -144,6 +144,26 @@ QTcpSocket* SmtpClient::getSocket() {
return socket;
}
int SmtpClient::getConnectionTimeout() const
{
return connectionTimeout;
}
void SmtpClient::setConnectionTimeout(int msec)
{
connectionTimeout = msec;
}
int SmtpClient::getResponseTimeout() const
{
return responseTimeout;
}
void SmtpClient::setResponseTimeout(int msec)
{
responseTimeout = msec;
}
/* [2] --- */

View File

@ -92,6 +92,12 @@ public:
const QString & getResponseText() const;
int getResponseCode() const;
int getConnectionTimeout() const;
void setConnectionTimeout(int msec);
int getResponseTimeout() const;
void setResponseTimeout(int msec);
QTcpSocket* getSocket();