modified contstructors.
This commit is contained in:
parent
56558579a7
commit
635dfb65a9
@ -18,9 +18,9 @@
|
||||
|
||||
/* [1] Constructors and Destructors */
|
||||
|
||||
MimeHtml::MimeHtml()
|
||||
MimeHtml::MimeHtml(const QString &html)
|
||||
{
|
||||
this->html = "";
|
||||
this->html = html;
|
||||
this->encoding = PlainText;
|
||||
this->charset = "utf-8";
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ public:
|
||||
|
||||
/* [1] Constructors and Destructors */
|
||||
|
||||
MimeHtml();
|
||||
MimeHtml(const QString &html = "");
|
||||
~MimeHtml();
|
||||
|
||||
/* [1] --- */
|
||||
|
@ -18,8 +18,9 @@
|
||||
|
||||
/* [1] Constructors and Destructors */
|
||||
|
||||
MimeText::MimeText()
|
||||
MimeText::MimeText(const QString &text)
|
||||
{
|
||||
this->text = text;
|
||||
this->charset = "utf-8";
|
||||
this->encoding = PlainText;
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ public:
|
||||
|
||||
/* [1] Constructors and Destructors */
|
||||
|
||||
MimeText();
|
||||
MimeText(const QString &text = "");
|
||||
~MimeText();
|
||||
|
||||
/* [1] --- */
|
||||
|
Loading…
Reference in New Issue
Block a user