新增运行截图

This commit is contained in:
feiyangqingyun
2019-11-30 14:21:20 +08:00
parent 30c013f371
commit 77f5e1f3fc
99 changed files with 52 additions and 23 deletions

View File

@@ -0,0 +1,28 @@
#include "mimetext.h"
MimeText::MimeText(const QString &txt)
{
this->text = txt;
this->cType = "text/plain";
this->cCharset = "utf-8";
this->cEncoding = _8Bit;
}
MimeText::~MimeText() { }
void MimeText::setText(const QString &text)
{
this->text = text;
}
const QString &MimeText::getText() const
{
return text;
}
void MimeText::prepare()
{
this->content.clear();
this->content.append(text);
MimePart::prepare();
}