新增运行截图
This commit is contained in:
23
emailtool/sendemail/mimecontentformatter.h
Normal file
23
emailtool/sendemail/mimecontentformatter.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef MIMECONTENTFORMATTER_H
|
||||
#define MIMECONTENTFORMATTER_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QByteArray>
|
||||
|
||||
class MimeContentFormatter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MimeContentFormatter(int max_length = 76);
|
||||
|
||||
void setMaxLength(int l);
|
||||
int getMaxLength() const;
|
||||
|
||||
QString format(const QString &content, bool quotedPrintable = false) const;
|
||||
|
||||
protected:
|
||||
int max_length;
|
||||
|
||||
};
|
||||
|
||||
#endif // MIMECONTENTFORMATTER_H
|
||||
Reference in New Issue
Block a user