Do not derive MimePart from QObject
This commit is contained in:
parent
1dd96f9bd0
commit
e792db9fa8
@ -20,14 +20,12 @@
|
|||||||
#define MIMEATTACHMENT_H
|
#define MIMEATTACHMENT_H
|
||||||
|
|
||||||
|
|
||||||
#include <QFile>
|
|
||||||
#include "smtpmime_global.h"
|
#include "smtpmime_global.h"
|
||||||
#include "mimepart.h"
|
#include "mimepart.h"
|
||||||
#include "mimefile.h"
|
#include "mimefile.h"
|
||||||
|
|
||||||
class SMTP_MIME_EXPORT MimeAttachment : public MimeFile
|
class SMTP_MIME_EXPORT MimeAttachment : public MimeFile
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/* [1] Constructors and Destructors */
|
/* [1] Constructors and Destructors */
|
||||||
|
@ -19,13 +19,13 @@
|
|||||||
#ifndef MIMEFILE_H
|
#ifndef MIMEFILE_H
|
||||||
#define MIMEFILE_H
|
#define MIMEFILE_H
|
||||||
|
|
||||||
#include <QFile>
|
|
||||||
#include "mimepart.h"
|
#include "mimepart.h"
|
||||||
#include "smtpmime_global.h"
|
#include "smtpmime_global.h"
|
||||||
|
|
||||||
|
class QFile;
|
||||||
|
|
||||||
class SMTP_MIME_EXPORT MimeFile : public MimePart
|
class SMTP_MIME_EXPORT MimeFile : public MimePart
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/* [1] Constructors and Destructors */
|
/* [1] Constructors and Destructors */
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
class SMTP_MIME_EXPORT MimeHtml : public MimeText
|
class SMTP_MIME_EXPORT MimeHtml : public MimeText
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/* [1] Constructors and Destructors */
|
/* [1] Constructors and Destructors */
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "mimemultipart.h"
|
#include "mimemultipart.h"
|
||||||
|
#include <QIODevice>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QCryptographicHash>
|
#include <QCryptographicHash>
|
||||||
|
|
||||||
|
@ -20,13 +20,11 @@
|
|||||||
#define MIMEMULTIPART_H
|
#define MIMEMULTIPART_H
|
||||||
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QTextStream>
|
|
||||||
#include "smtpmime_global.h"
|
#include "smtpmime_global.h"
|
||||||
#include "mimepart.h"
|
#include "mimepart.h"
|
||||||
|
|
||||||
class SMTP_MIME_EXPORT MimeMultiPart : public MimePart
|
class SMTP_MIME_EXPORT MimeMultiPart : public MimePart
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/* [0] Enums */
|
/* [0] Enums */
|
||||||
|
@ -19,13 +19,14 @@
|
|||||||
#ifndef MIMEPART_H
|
#ifndef MIMEPART_H
|
||||||
#define MIMEPART_H
|
#define MIMEPART_H
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QTextStream>
|
|
||||||
#include "smtpmime_global.h"
|
#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:
|
public:
|
||||||
|
|
||||||
/* [0] Enumerations */
|
/* [0] Enumerations */
|
||||||
@ -43,7 +44,7 @@ public:
|
|||||||
/* [1] Constructors and Destructors */
|
/* [1] Constructors and Destructors */
|
||||||
|
|
||||||
MimePart();
|
MimePart();
|
||||||
~MimePart();
|
virtual ~MimePart();
|
||||||
|
|
||||||
/* [1] --- */
|
/* [1] --- */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user