modified contstructors.

This commit is contained in:
Your Name 2011-09-08 19:06:32 +03:00
parent 56558579a7
commit 635dfb65a9
4 changed files with 6 additions and 5 deletions

View File

@ -18,9 +18,9 @@
/* [1] Constructors and Destructors */ /* [1] Constructors and Destructors */
MimeHtml::MimeHtml() MimeHtml::MimeHtml(const QString &html)
{ {
this->html = ""; this->html = html;
this->encoding = PlainText; this->encoding = PlainText;
this->charset = "utf-8"; this->charset = "utf-8";
} }

View File

@ -26,7 +26,7 @@ public:
/* [1] Constructors and Destructors */ /* [1] Constructors and Destructors */
MimeHtml(); MimeHtml(const QString &html = "");
~MimeHtml(); ~MimeHtml();
/* [1] --- */ /* [1] --- */

View File

@ -18,8 +18,9 @@
/* [1] Constructors and Destructors */ /* [1] Constructors and Destructors */
MimeText::MimeText() MimeText::MimeText(const QString &text)
{ {
this->text = text;
this->charset = "utf-8"; this->charset = "utf-8";
this->encoding = PlainText; this->encoding = PlainText;
} }

View File

@ -25,7 +25,7 @@ public:
/* [1] Constructors and Destructors */ /* [1] Constructors and Destructors */
MimeText(); MimeText(const QString &text = "");
~MimeText(); ~MimeText();
/* [1] --- */ /* [1] --- */