Commit 5dcd0a10 authored by Simon Persson's avatar Simon Persson
Browse files

Clean up some more header includes

parent 10af0555
......@@ -24,22 +24,13 @@
#include "../krusader.h"
#include "../krglobal.h"
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QInputDialog>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QToolButton>
#include <KI18n/KLocalizedString>
#include <KXmlGui/KActionCollection>
#include <KXmlGui/KKeySequenceWidget>
#include <KCompletion/KComboBox>
#include <KCompletion/KLineEdit>
#include <KWidgetsAddons/KMessageBox>
#include <KIconThemes/KIconDialog>
#include <KIconThemes/KIconButton>
#include <KIconThemes/KIconLoader>
#include <KTextWidgets/KTextEdit>
#include <KWidgetsAddons/KMessageBox>
#include <KXmlGui/KActionCollection>
#define ICON(N) KIconLoader::global()->loadIcon(N, KIconLoader::Small)
......
......@@ -38,10 +38,8 @@
#include <KConfigCore/KSharedConfig>
#include <KI18n/KLocalizedString>
#include <KWidgetsAddons/KMessageBox>
#include <KCompletion/KLineEdit>
#include <KCompletion/KComboBox>
#include <KIconThemes/KIconLoader>
#include <KIOWidgets/KUrlCompletion>
#define ACTIVE_MASK 0x0100
......
......@@ -28,15 +28,15 @@
#include <QtWidgets/QApplication> //QApplication::setOverrideCursor()
#include <QtWidgets/QMenu>
#include <KWidgetsAddons/KCursor> //::mouseMoveEvent()
#include <KWidgetsAddons/KMessageBox> //::mousePressEvent()
#include <KI18n/KLocalizedString>
#include <KIO/Job> //::mousePressEvent()
#include <KIO/JobUiDelegate>
#include <KIconThemes/KIconLoader> //::mousePressEvent()
#include <KIconThemes/KIconEffect> //::mousePressEvent()
#include <KIOWidgets/KRun> //::mousePressEvent()
#include <KIconThemes/KIconLoader>
#include <KIconThemes/KIconEffect>
#include <KIO/DeleteJob>
#include <KIO/JobUiDelegate>
#include <KIOWidgets/KRun>
#include <KWidgetsAddons/KCursor>
#include <KWidgetsAddons/KMessageBox>
void
RadialMap::Widget::resizeEvent(QResizeEvent*)
......
......@@ -35,7 +35,6 @@
#include <KConfigCore/KConfigGroup>
class QWidget;
class FilterSettings
{
......
......@@ -31,7 +31,6 @@
#include <KParts/Part>
//#include <KParts/ComponentFactory> // missing?
#include <KWidgetsAddons/KMessageBox>
#include <KHtml/KHTMLPart>
#include <KCoreAddons/KProcess>
#include <KConfigCore/KSharedConfig>
#include <KI18n/KLocalizedString>
......
......@@ -56,15 +56,15 @@
#include <QtPrintSupport/QPrintDialog>
#include <QtPrintSupport/QPrinter>
#include <KCodecs/KCharsets>
#include <KConfigWidgets/KColorScheme>
#include <KCoreAddons/KJobTrackerInterface>
#include <KI18n/KLocalizedString>
#include <KIO/CopyJob>
#include <KIO/JobUiDelegate>
#include <KI18n/KLocalizedString>
#include <KParts/GUIActivateEvent>
#include <KJobWidgets/KUiServerJobTracker>
#include <KConfigWidgets/KColorScheme>
#include <KWidgetsAddons/KMessageBox>
#include <KXmlGui/KActionCollection>
#include <KCodecs/KCharsets>
#include "../krglobal.h"
#include "../kractions.h"
......
......@@ -33,10 +33,10 @@ YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD
#include <QtWidgets/QMenu>
#include <KConfigCore/KSharedConfig>
#include <KCoreAddons/KJobTrackerInterface>
#include <KCoreAddons/KProcess>
#include <KI18n/KLocalizedString>
#include <KIO/JobUiDelegate>
#include <KJobWidgets/KUiServerJobTracker>
#include <KWidgetsAddons/KMessageBox>
#include <KWidgetsAddons/KToolBarPopupAction>
......
......@@ -46,7 +46,6 @@ protected:
bool jobStarted;
private:
class ProxyStyle;
static const int MAX_SIZE =400;
static const short MARGIN =5;
};
......
......@@ -43,6 +43,7 @@ A
#include <KArchive/KTar>
#include <KConfigCore/KDesktopFile>
#include <KCoreAddons/KJobTrackerInterface>
#include <KCoreAddons/KProcess>
#include <KCoreAddons/KShell>
#include <KCoreAddons/KUrlMimeData>
......@@ -52,7 +53,6 @@ A
#include <KIOWidgets/KPropertiesDialog>
#include <KIOWidgets/KRun>
#include <KIOWidgets/KUrlCompletion>
#include <KJobWidgets/KUiServerJobTracker>
#include <KService/KMimeTypeTrader>
#include <KWidgetsAddons/KCursor>
#include <KWidgetsAddons/KMessageBox>
......
......@@ -21,7 +21,6 @@
#include <QtWidgets/QDialog>
class QPaintEvent;
class QToolButton;
class QueueWidget;
class QLabel;
......
......@@ -40,7 +40,6 @@
#include <QtGui/QResizeEvent>
#include <QtGui/QKeyEvent>
#include <QtGui/QCloseEvent>
#include <QtGui/QCloseEvent>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QInputDialog>
......
......@@ -39,7 +39,6 @@
#include <KIO/Job>
#include <KIO/JobUiDelegate>
#include <KIO/DeleteJob>
#include <KJobWidgets/KUiServerJobTracker>
#include <KWidgetsAddons/KMessageBox>
#include <KIOCore/KProtocolManager>
......
......@@ -35,13 +35,13 @@
#include <QtCore/QFile>
#include <QtWidgets/QApplication>
#include <KArchive/KTar>
#include <KConfigCore/KSharedConfig>
#include <KI18n/KLocalizedString>
#include <KIO/Global>
#include <KWallet/KWallet>
#include <KWidgetsAddons/KMessageBox>
#include <KWidgetsAddons/KPasswordDialog>
#include <KArchive/KTar>
#include <KIO/Global>
#include "../krglobal.h"
#include "../defaults.h"
......
......@@ -34,7 +34,6 @@
#include <KIO/Global>
#include <KIO/JobUiDelegate>
#include <KJobWidgets/KUiServerJobTracker>
KIO::Job * PreservingCopyJob::createCopyJob(PreserveMode pmode, const QList<QUrl>& src, const QUrl &dest, KIO::CopyJob::CopyMode mode, bool /*asMethod*/, bool showProgressInfo)
......
......@@ -34,11 +34,11 @@
#include <QtCore/QDir>
#include <KCoreAddons/KJobTrackerInterface>
#include <KI18n/KLocalizedString>
#include <KIO/Global>
#include <KIO/DirectorySizeJob>
#include <KIO/JobUiDelegate>
#include <KJobWidgets/KUiServerJobTracker>
#define REPORT_TIMEOUT 200
......
......@@ -42,7 +42,6 @@
#include "krglobal.h"
class KrMainWindow;
class KrViewItem;
class QUrl;
class KrProcess: public KProcess
......
......@@ -36,7 +36,7 @@
#include <KConfigCore/KConfig>
#include <KConfigCore/KConfigGroup>
#include <KJobWidgets/KUiServerJobTracker>
#include <KCoreAddons/KJobTrackerInterface>
#include <KIO/Job>
#include <KNotifications/KNotification>
#include <KIO/JobUiDelegate>
......
......@@ -39,8 +39,6 @@
#include <QtWidgets/QPushButton>
#include <QtWidgets/QGridLayout>
#include <KParts/Part>
#include "krglobal.h"
//HACK
......
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