18 lines
272 B
C++
18 lines
272 B
C++
|
#include "mimeattachment.h"
|
|||
|
#include <QFileInfo>
|
|||
|
|
|||
|
MimeAttachment::MimeAttachment(QFile *file)
|
|||
|
: MimeFile(file)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
MimeAttachment::~MimeAttachment()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
void MimeAttachment::prepare()
|
|||
|
{
|
|||
|
this->header += "Content-disposition: attachment\r\n";
|
|||
|
MimeFile::prepare();
|
|||
|
}
|