Do not derive MimePart from QObject
This commit is contained in:
parent
1dd96f9bd0
commit
e792db9fa8
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
class SMTP_MIME_EXPORT MimeHtml : public MimeText
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
/* [1] Constructors and Destructors */
|
||||
|
@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "mimemultipart.h"
|
||||
#include <QIODevice>
|
||||
#include <QTime>
|
||||
#include <QCryptographicHash>
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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] --- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user