Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Clean up includes

parent cc96d850
......@@ -20,18 +20,21 @@
#include "kpartloader.h"
#include <QAction>
#include <QApplication>
#include <QCommandLineParser>
#include <QCommandLineOption>
#include <QIcon>
// KF
#include <KAboutData>
#include <KActionCollection>
#include <KLocalizedString>
#include <KPluginFactory>
#include <KPluginLoader>
#include <KAboutApplicationDialog>
#include <kmessagebox.h>
#include <KMessageBox>
// Qt
#include <QAction>
#include <QApplication>
#include <QCommandLineParser>
#include <QCommandLineOption>
#include <QIcon>
KPartLoaderWindow::KPartLoaderWindow(const QString& partLib)
......
......@@ -21,8 +21,9 @@
#ifndef KPARTLOADER_H
#define KPARTLOADER_H
#include <kparts/mainwindow.h>
#include <kparts/readonlypart.h>
// KF
#include <KParts/MainWindow>
#include <KParts/ReadOnlyPart>
class KPartLoaderWindow : public KParts::MainWindow
{
......
......@@ -23,22 +23,22 @@
#include "kuiviewer.h"
#include "kuiviewer_part.h"
// KF
#include <KActionCollection>
#include <KStandardAction>
#include <KPluginFactory>
#include <KPluginLoader>
#include <KLocalizedString>
#include <KMessageBox>
// Qt
#include <QObject>
#include <QPixmap>
#include <QUrl>
#include <QApplication>
#include <QAction>
#include <QFileDialog>
#include <kactioncollection.h>
#include <kstandardaction.h>
#include <KPluginFactory>
#include <KPluginLoader>
#include <KLocalizedString>
#include <kmessagebox.h>
KUIViewer::KUIViewer()
: KParts::MainWindow()
......
......@@ -23,8 +23,8 @@
#ifndef KUIVIEWER_H
#define KUIVIEWER_H
#include <kparts/mainwindow.h>
// KF
#include <KParts/MainWindow>
class KToggleAction;
......
......@@ -23,7 +23,7 @@
#include "kuiviewer_part.h"
// Frameworks
// KF
#include <KActionCollection>
#include <KSelectAction>
#include <KConfig>
......@@ -32,6 +32,7 @@
#include <KLocalizedString>
#include <KAboutData>
#include <KPluginFactory>
// Qt
#include <QApplication>
#include <QClipboard>
......
......@@ -22,15 +22,11 @@
#ifndef KUIVIEWERPART_H
#define KUIVIEWERPART_H
// KDE
// KF
#include <KParts/ReadOnlyPart>
// Qt
#include <QtCore/QPointer>
#include <QPointer>
class QWidget;
class QUrl;
class KAboutData;
class KSelectAction;
/**
......
......@@ -22,11 +22,13 @@
#include "kuiviewer.h"
// KF
#include <KAboutData>
#include <KLocalizedString>
// Qt
#include <QApplication>
#include <QDir>
#include <QUrl>
#include <KAboutData>
#include <KLocalizedString>
#include <QCommandLineParser>
#include <QCommandLineOption>
......
......@@ -21,9 +21,11 @@
**/
#include "quicreator.h"
// Qt
#include <QPixmap>
#include <QImage>
#include <QtDesigner/QFormBuilder>
#include <QFormBuilder>
#include <QWidget>
extern "C"
......
......@@ -22,7 +22,7 @@
#ifndef UICREATOR_H
#define UICREATOR_H
#include <kio/thumbcreator.h>
#include <KIO/ThumbCreator>
class QUICreator : public ThumbCreator
{
......
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