summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Vrátil <[email protected]>2015-09-22 21:33:30 +0200
committerDan Vrátil <[email protected]>2015-09-22 21:33:41 +0200
commite8a44a7360dcb558bca6982c449df101df6931b0 (patch)
tree5a37eb30308f92d78d055160b198675e1a8a20c5
parent2842aab8cbe1320c3462bb0f45e3d663184b2022 (diff)
Make sure KJob is fully-defined when used in slots
The new connect() syntax mandates this. It compiled magically because we included Job in tag.h in kdepimlibs.
-rw-r--r--kmail/configuredialog/configureappearancepage.h2
-rw-r--r--mailcommon/src/tag/addtagdialog.cpp1
-rw-r--r--mailcommon/src/tag/addtagdialog.h4
3 files changed, 5 insertions, 2 deletions
diff --git a/kmail/configuredialog/configureappearancepage.h b/kmail/configuredialog/configureappearancepage.h
index 71c88db..677c378 100644
--- a/kmail/configuredialog/configureappearancepage.h
+++ b/kmail/configuredialog/configureappearancepage.h
@@ -22,6 +22,8 @@
#include "MailCommon/Tag"
#include <QListWidgetItem>
+#include <AkonadiCore/TagFetchJob>
+
class QPushButton;
class QCheckBox;
class KComboBox;
diff --git a/mailcommon/src/tag/addtagdialog.cpp b/mailcommon/src/tag/addtagdialog.cpp
index 5414e2a..84d064d 100644
--- a/mailcommon/src/tag/addtagdialog.cpp
+++ b/mailcommon/src/tag/addtagdialog.cpp
@@ -18,7 +18,6 @@
#include "addtagdialog.h"
#include "tag/tagwidget.h"
#include "mailcommon_debug.h"
-#include <AkonadiCore/tagcreatejob.h>
#include <KLocalizedString>
#include <KLineEdit>
diff --git a/mailcommon/src/tag/addtagdialog.h b/mailcommon/src/tag/addtagdialog.h
index 9311d54..c27e3bd 100644
--- a/mailcommon/src/tag/addtagdialog.h
+++ b/mailcommon/src/tag/addtagdialog.h
@@ -21,8 +21,10 @@
#include "mailcommon_export.h"
#include "tag.h"
#include <QDialog>
-#include <AkonadiCore/tag.h>
+#include <AkonadiCore/Tag>
+#include <AkonadiCore/TagCreateJob>
#include <KConfigGroup>
+
class QPushButton;
class KActionCollection;