SmtpClient-for-Qt/mimeattachment.cpp
2011-08-30 21:59:16 +03:00

28 lines
378 B
C++

#include "mimeattachment.h"
#include <QFileInfo>
/* [1] Constructors and Destructors */
MimeAttachment::MimeAttachment(QFile *file)
: MimeFile(file)
{
}
MimeAttachment::~MimeAttachment()
{
}
/* [1] --- */
/* [2] Protected methods */
void MimeAttachment::prepare()
{
MimeFile::prepare();
this->header += "Content-disposition: attachment;\n";
}
/* [2] --- */