master
parent
1d371bef97
commit
617764b181
|
@ -31,7 +31,7 @@ void frmEmailTool::on_btnSend_clicked()
|
|||
return;
|
||||
}
|
||||
|
||||
SendEmailThread::Instance()->setEmialTitle(ui->txtTitle->text());
|
||||
SendEmailThread::Instance()->setEmailTitle(ui->txtTitle->text());
|
||||
SendEmailThread::Instance()->setSendEmailAddr(ui->txtSenderAddr->text());
|
||||
SendEmailThread::Instance()->setSendEmailPwd(ui->txtSenderPwd->text());
|
||||
SendEmailThread::Instance()->setReceiveEmailAddr(ui->txtReceiverAddr->text());
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#include "sendemailthread.h"
|
||||
#include "sendemail/smtpmime.h"
|
||||
|
||||
#pragma execution_character_set("utf-8")
|
||||
#define TIMEMS qPrintable(QTime::currentTime().toString("hh:mm:ss zzz"))
|
||||
|
||||
QScopedPointer<SendEmailThread> SendEmailThread::self;
|
||||
SendEmailThread *SendEmailThread::Instance()
|
||||
{
|
||||
|
@ -118,7 +121,7 @@ void SendEmailThread::stop()
|
|||
stopped = true;
|
||||
}
|
||||
|
||||
void SendEmailThread::setEmialTitle(const QString &emailTitle)
|
||||
void SendEmailThread::setEmailTitle(const QString &emailTitle)
|
||||
{
|
||||
this->emialTitle = emailTitle;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ signals:
|
|||
|
||||
public slots:
|
||||
void stop();
|
||||
void setEmialTitle(const QString &emailTitle);
|
||||
void setEmailTitle(const QString &emailTitle);
|
||||
void setSendEmailAddr(const QString &sendEmailAddr);
|
||||
void setSendEmailPwd(const QString &sendEmailPwd);
|
||||
void setReceiveEmailAddr(const QString &receiveEmailAddr);
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
Loading…
Reference in New Issue