Merge branch 'v1.1'
This commit is contained in:
commit
dac7a04d6f
@ -144,6 +144,26 @@ QTcpSocket* SmtpClient::getSocket() {
|
|||||||
return socket;
|
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] --- */
|
/* [2] --- */
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,6 +92,12 @@ public:
|
|||||||
const QString & getResponseText() const;
|
const QString & getResponseText() const;
|
||||||
int getResponseCode() const;
|
int getResponseCode() const;
|
||||||
|
|
||||||
|
int getConnectionTimeout() const;
|
||||||
|
void setConnectionTimeout(int msec);
|
||||||
|
|
||||||
|
int getResponseTimeout() const;
|
||||||
|
void setResponseTimeout(int msec);
|
||||||
|
|
||||||
QTcpSocket* getSocket();
|
QTcpSocket* getSocket();
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user