SmtpClient-for-Qt/src/mimehtml.h
2011-08-31 00:53:08 +03:00

50 lines
729 B
C++

#ifndef MIMEHTML_H
#define MIMEHTML_H
#include "mimepart.h"
class MimeHtml : public MimePart
{
Q_OBJECT
public:
/* [1] Constructors and Destructors */
MimeHtml();
~MimeHtml();
/* [1] --- */
/* [2] Getters and Setters */
void setHtml(const QString & html);
void setEncoding(Encoding enc);
void setCharset(const QString & charset);
const QString& getHtml() const;
const QString& getCharset() const;
Encoding getEncoding() const;
/* [2] --- */
protected:
/* [3] Protected members */
QString html;
QString charset;
Encoding encoding;
/* [3] --- */
/* [4] Protected methods */
void prepare();
/* [4] --- */
};
#endif // MIMEHTML_H