Commit 8f3aa115 authored by Christoph Feck's avatar Christoph Feck

cleanup includes

parent 6393f3ea
...@@ -21,42 +21,29 @@ ...@@ -21,42 +21,29 @@
* * * *
***************************************************************************/ ***************************************************************************/
// include files for QT // include files for Qt
#include <QApplication> #include <QApplication>
#include <QClipboard>
#include <QDebug> #include <QDebug>
#include <QDir> #include <QDesktopWidget>
#include <QFileDialog> #include <QFileDialog>
#include <QImageReader> #include <QImageReader>
#include <QPointer> #include <QMenuBar>
#include <QPrintDialog>
#include <QPainter> #include <QPainter>
#include <QLayout> #include <QPrintDialog>
#include <QClipboard>
#include <QContextMenuEvent>
#include <QPixmap>
#include <QDesktopWidget>
#include <QTemporaryFile> #include <QTemporaryFile>
// include files for KDE // include files for KDE
#include <kxmlguiclient.h> #include <KActionCollection>
#include <ktoolbar.h> #include <KConfigGroup>
#include <ktoggleaction.h> #include <KEditToolBar>
#include <kactioncollection.h> #include <KLocalizedString>
#include <kselectaction.h> #include <KMessageBox>
#include <kdeversion.h> #include <KSelectAction>
#include <kxmlguifactory.h> #include <KShortcutsDialog>
#include <kstandardshortcut.h> #include <KToggleAction>
#include <kshortcutsdialog.h> #include <KXMLGUIFactory>
#include <kmessagebox.h>
#include <kmenubar.h>
#include <klocale.h>
#include <kconfig.h>
#include <kconfiggroup.h>
#include <kstandardaction.h>
#include <khelpmenu.h>
#include <KIO/FileCopyJob> #include <KIO/FileCopyJob>
#include <kmenu.h>
#include <kedittoolbar.h>
// application specific includes // application specific includes
#include "kmag.h" #include "kmag.h"
......
...@@ -28,14 +28,14 @@ ...@@ -28,14 +28,14 @@
#include "focustrackconfig.h" #include "focustrackconfig.h"
// include files for Qt // include files for Qt
#include <QContextMenuEvent>
#include <QPrinter> #include <QPrinter>
// include files for KDE // include files for KDE
#include <kxmlguiwindow.h>
#include <ktoggleaction.h>
#include <kselectaction.h>
#include <ksharedconfig.h> #include <ksharedconfig.h>
#include <kxmlguiwindow.h>
class KToggleAction;
class KSelectAction;
/** /**
* The base class for Kmag application windows. It sets up the main * The base class for Kmag application windows. It sets up the main
......
...@@ -18,17 +18,14 @@ ...@@ -18,17 +18,14 @@
***************************************************************************/ ***************************************************************************/
#include "kmagselrect.h" #include "kmagselrect.h"
#include "kmagselrect.moc"
#include <QApplication> #include <QApplication>
#include <QCursor>
#include <QPixmap>
#include <QBitmap> #include <QBitmap>
#include <QMouseEvent> #include <QCursor>
#include <QLabel>
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QMouseEvent>
#include <klocale.h> #include <KLocalizedString>
static uchar line_bits[] = {0x2d, 0x96, 0x4b, 0xa5, 0xd2, 0x69, 0xb4, 0x5a}; static uchar line_bits[] = {0x2d, 0x96, 0x4b, 0xa5, 0xd2, 0x69, 0xb4, 0x5a};
......
...@@ -20,13 +20,10 @@ ...@@ -20,13 +20,10 @@
#ifndef KMAGSELRECT_H #ifndef KMAGSELRECT_H
#define KMAGSELRECT_H #define KMAGSELRECT_H
#include <stdlib.h>
// Qt includes
#include <QRect>
#include <QWidget> #include <QWidget>
#include <QLabel> #include <QLabel>
#include <QMouseEvent>
class QMouseEvent;
class KMagSelWinCorner : public QLabel class KMagSelWinCorner : public QLabel
{ {
......
...@@ -24,29 +24,17 @@ ...@@ -24,29 +24,17 @@
// application specific includes // application specific includes
#include "kmagzoomview.h" #include "kmagzoomview.h"
#include "kmagzoomview.moc"
#include "colorsim.h" #include "colorsim.h"
// include files for Qt // include files for Qt
#include <QApplication> #include <QApplication>
#include <QBitmap> #include <QBitmap>
#include <QCursor>
#include <QPainter>
#include <QWidget>
#include <QScrollBar>
#include <QPixmap>
#include <QFocusEvent>
#include <QHideEvent>
#include <QKeyEvent>
#include <QShowEvent>
#include <QResizeEvent>
#include <QMouseEvent>
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QDBusConnection> #include <QScrollBar>
// include files for KDE // include files for KDE
#include <kcursor.h> #include <KLocalizedString>
#include <klocale.h>
#ifdef QAccessibilityClient_FOUND #ifdef QAccessibilityClient_FOUND
#include <qaccessibilityclient/accessibleobject.h> #include <qaccessibilityclient/accessibleobject.h>
#endif #endif
......
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