summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-15 22:54:43 +0200
committerMontel Laurent <[email protected]>2017-09-15 22:54:43 +0200
commitb0d659ef7a6db174e093d1070c60d65adf44cdc4 (patch)
tree1f08a0a5d448c64755be461e7fc41e9c38558fdf
parent8d643a9e930bbd55da13d29840b6504f7f9bb8ca (diff)
Fix includes
-rw-r--r--src/commandoptions.h1
-rw-r--r--src/lib/itembox.cpp1
-rw-r--r--src/lib/kalocale.cpp1
-rw-r--r--src/lib/synchtimer.h3
-rw-r--r--src/lib/timeedit.cpp1
-rw-r--r--src/messagewin.cpp1
-rw-r--r--src/specialactions.cpp1
-rw-r--r--src/templatepickdlg.cpp1
-rw-r--r--src/traywindow.h1
9 files changed, 2 insertions, 9 deletions
diff --git a/src/commandoptions.h b/src/commandoptions.h
index 15c40cc..7b0e674 100644
--- a/src/commandoptions.h
+++ b/src/commandoptions.h
@@ -28,7 +28,6 @@
#include <kalarmcal/karecurrence.h>
#include <kdatetime.h>
-#include <QByteArray>
#include <QColor>
#include <QStringList>
class QCommandLineParser;
diff --git a/src/lib/itembox.cpp b/src/lib/itembox.cpp
index ab642ad..4f81728 100644
--- a/src/lib/itembox.cpp
+++ b/src/lib/itembox.cpp
@@ -19,7 +19,6 @@
*/
#include "itembox.h"
-#include <QBoxLayout>
ItemBox::ItemBox(QWidget* parent)
diff --git a/src/lib/kalocale.cpp b/src/lib/kalocale.cpp
index 4bde6e5..3e3e4f8 100644
--- a/src/lib/kalocale.cpp
+++ b/src/lib/kalocale.cpp
@@ -22,7 +22,6 @@
#include "kalocale.h"
#include <KLocale>
-#include <KLocalizedString>
#include "kalarm_debug.h"
#include <QLocale>
diff --git a/src/lib/synchtimer.h b/src/lib/synchtimer.h
index 06a32f3..f742b4e 100644
--- a/src/lib/synchtimer.h
+++ b/src/lib/synchtimer.h
@@ -26,7 +26,8 @@
#include <QObject>
#include <QList>
#include <QByteArray>
-#include <QDateTime>
+#include <QTime>
+#include <QDate>
class QTimer;
/** SynchTimer is a virtual base class for application-wide timers synchronized
diff --git a/src/lib/timeedit.cpp b/src/lib/timeedit.cpp
index 0353f12..837ae72 100644
--- a/src/lib/timeedit.cpp
+++ b/src/lib/timeedit.cpp
@@ -28,7 +28,6 @@
#include <QHBoxLayout>
#include <QLocale>
-#include <QTime>
namespace
{
diff --git a/src/messagewin.cpp b/src/messagewin.cpp
index d6d5034..8ffe16a 100644
--- a/src/messagewin.cpp
+++ b/src/messagewin.cpp
@@ -68,7 +68,6 @@
#include <QScrollBar>
#include <QtDBus/QtDBus>
#include <QFile>
-#include <QFileInfo>
#include <QCheckBox>
#include <QLabel>
#include <QPalette>
diff --git a/src/specialactions.cpp b/src/specialactions.cpp
index a60ddcb..c7f7259 100644
--- a/src/specialactions.cpp
+++ b/src/specialactions.cpp
@@ -27,7 +27,6 @@
#include "shellprocess.h"
#include <KLocalizedString>
-#include <KConfigGroup>
#include <QLabel>
#include <QGroupBox>
diff --git a/src/templatepickdlg.cpp b/src/templatepickdlg.cpp
index 73db16b..97d676c 100644
--- a/src/templatepickdlg.cpp
+++ b/src/templatepickdlg.cpp
@@ -26,7 +26,6 @@
#include "templatelistview.h"
#include <KLocalizedString>
-#include <KConfigGroup>
#include <QVBoxLayout>
#include <QResizeEvent>
diff --git a/src/traywindow.h b/src/traywindow.h
index 19875ed..f65f807 100644
--- a/src/traywindow.h
+++ b/src/traywindow.h
@@ -26,7 +26,6 @@
#include <kalarmcal/kaevent.h>
#include <kstatusnotifieritem.h>
-#include <QIcon>
class QTimer;
class KToggleAction;