Commit cbdc21e5 authored by Volker Krause's avatar Volker Krause

KMime meta type declarations are now done in KMime itself.

parent 9c4334d6
......@@ -41,7 +41,6 @@
#include <QTextEdit>
#include <QShortcut>
Q_DECLARE_METATYPE(KMime::Message::Ptr)
NoteEditDialogTest::NoteEditDialogTest()
{
qRegisterMetaType<Akonadi::Collection>();
......
......@@ -42,7 +42,6 @@ namespace MessageViewer
extern MESSAGEVIEWER_EXPORT QAbstractItemModel *_k_eventEditStubModel;
}
Q_DECLARE_METATYPE(KMime::Message::Ptr)
EventEditTest::EventEditTest()
{
qRegisterMetaType<Akonadi::Collection>();
......
......@@ -38,7 +38,6 @@ namespace MessageViewer
extern MESSAGEVIEWER_EXPORT QAbstractItemModel *_k_noteEditStubModel;
}
Q_DECLARE_METATYPE(KMime::Message::Ptr)
NoteEditTest::NoteEditTest()
{
qRegisterMetaType<Akonadi::Collection>();
......
......@@ -39,7 +39,6 @@ namespace MessageViewer
extern MESSAGEVIEWER_EXPORT QAbstractItemModel *_k_todoEditStubModel;
}
Q_DECLARE_METATYPE(KMime::Message::Ptr)
TodoEditTest::TodoEditTest()
{
qRegisterMetaType<Akonadi::Collection>();
......
......@@ -76,6 +76,3 @@ bool MessageHeaderEmailExpandable::isSafe() const
{
return true;
}
Q_DECLARE_METATYPE(KMime::Headers::Cc *)
Q_DECLARE_METATYPE(KMime::Headers::To *)
Q_DECLARE_METATYPE(KMime::Headers::Bcc *)
......@@ -243,6 +243,3 @@ QString GrantleeHeaderFormatter::format(const QString &absolutePath, Grantlee::T
}
}
Q_DECLARE_METATYPE(KMime::Headers::Cc *)
Q_DECLARE_METATYPE(KMime::Headers::To *)
Q_DECLARE_METATYPE(KMime::Headers::Bcc *)
......@@ -29,8 +29,6 @@
#include <KLocalizedString>
#include <KMimeType>
#include <KFormat>
Q_DECLARE_METATYPE(KMime::Content *)
Q_DECLARE_METATYPE(KMime::ContentIndex)
using namespace MessageViewer;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment