Do not derive MimePart from QObject

This commit is contained in:
Vladimir Kolesnikov 2013-02-10 17:06:52 +02:00
parent 1dd96f9bd0
commit e792db9fa8
6 changed files with 9 additions and 12 deletions

View File

@ -20,14 +20,12 @@
#define MIMEATTACHMENT_H
#include <QFile>
#include "smtpmime_global.h"
#include "mimepart.h"
#include "mimefile.h"
class SMTP_MIME_EXPORT MimeAttachment : public MimeFile
{
Q_OBJECT
public:
/* [1] Constructors and Destructors */

View File

@ -19,13 +19,13 @@
#ifndef MIMEFILE_H
#define MIMEFILE_H
#include <QFile>
#include "mimepart.h"
#include "smtpmime_global.h"
class QFile;
class SMTP_MIME_EXPORT MimeFile : public MimePart
{
Q_OBJECT
public:
/* [1] Constructors and Destructors */

View File

@ -24,7 +24,6 @@
class SMTP_MIME_EXPORT MimeHtml : public MimeText
{
Q_OBJECT
public:
/* [1] Constructors and Destructors */

View File

@ -17,6 +17,7 @@
*/
#include "mimemultipart.h"
#include <QIODevice>
#include <QTime>
#include <QCryptographicHash>

View File

@ -20,13 +20,11 @@
#define MIMEMULTIPART_H
#include <QList>
#include <QTextStream>
#include "smtpmime_global.h"
#include "mimepart.h"
class SMTP_MIME_EXPORT MimeMultiPart : public MimePart
{
Q_OBJECT
public:
/* [0] Enums */

View File

@ -19,13 +19,14 @@
#ifndef MIMEPART_H
#define MIMEPART_H
#include <QObject>
#include <QTextStream>
#include "smtpmime_global.h"
#include <QByteArray>
#include <QString>
class SMTP_MIME_EXPORT MimePart : public QObject
class QIODevice;
class SMTP_MIME_EXPORT MimePart
{
Q_OBJECT
public:
/* [0] Enumerations */
@ -43,7 +44,7 @@ public:
/* [1] Constructors and Destructors */
MimePart();
~MimePart();
virtual ~MimePart();
/* [1] --- */