Commit c091fdb4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

If include is define in .h remove it if it's defined in .cpp too (scripted)

parent fc5fdcfc
......@@ -24,7 +24,6 @@
#include "konqfeedicon.h"
#include "feeddetector.h"
#include "pluginutil.h"
#include "akregatorplugindebug.h"
......
......@@ -27,7 +27,6 @@
#include <kparts/part.h>
#include <kparts/browserextension.h>
#include <kparts/textextension.h>
#include <kactionmenu.h>
#include <kactioncollection.h>
#include <QMenu>
......
......@@ -27,7 +27,6 @@
#include <QShowEvent>
#include <QGlobalStatic>
#include <QMenu>
#include <KLocalizedString>
#include <kfileitem.h>
......
......@@ -33,7 +33,6 @@
#include <kio/job.h>
#include <kauthorized.h>
#include <kconfiggroup.h>
#include <kurlauthorized.h>
#include "fsviewdebug.h"
......
......@@ -26,9 +26,7 @@
#include <KLocalizedString>
#include <QMimeDatabase>
#include <QMimeType>
#include "scan.h"
#include "fsview.h"
#include "fsviewdebug.h"
......
......@@ -30,19 +30,13 @@
#include <QPainter>
#include <QRegExp>
#include <QStyle>
#include <QPixmap>
#include <QPaintEvent>
#include <QKeyEvent>
#include <QShowEvent>
#include <QContextMenuEvent>
#include <QMouseEvent>
#include <QToolTip>
#include <QStylePainter>
#include <QStyleOptionFocusRect>
#include <KLocalizedString>
#include <kconfig.h>
#include <kconfiggroup.h>
#include "fsviewdebug.h"
......
......@@ -20,7 +20,6 @@ Boston, MA 02110-1301, USA.
#include "imgalleryplugin.h"
#include <QDir>
#include <QTextStream>
#include <QFile>
#include <QDateTime>
......
......@@ -47,7 +47,6 @@
#include <QTimer>
#include <QMenu>
#include <QStyle>
#include <QPixmap>
#include <QPainter>
#include <QMouseEvent>
#include <QDBusConnection>
......
......@@ -30,7 +30,6 @@
#include <qdialogbuttonbox.h>
#include <qtemporarydir.h>
#include <qtemporaryfile.h>
#include <qprocess.h>
#include <qstandardpaths.h>
#include <qgroupbox.h>
#include <qdesktopservices.h>
......@@ -40,7 +39,6 @@
#include <klocalizedstring.h>
#include <kurlrequester.h>
#include <kmessagebox.h>
#include <kmessagewidget.h>
#include <ktar.h>
#include <kzip.h>
#include <krecentdirs.h>
......
......@@ -20,7 +20,6 @@
#include "konqkcmfactory.h"
#include "behaviour.h"
#include <KPluginFactory>
#include <KPluginLoader>
K_PLUGIN_FACTORY_DEFINITION(KonqKcmFactory,
......
......@@ -4,7 +4,6 @@
// Qt
#include <QFile>
#include <QTextStream>
bool CSSTemplate::expandToFile(const QString &outputFilename, const QMap<QString, QString> &dict)
{
......
......@@ -29,7 +29,6 @@
#include <QTreeWidget>
// KDE
#include <kconfig.h>
#include <KLocalizedString>
#include <kmessagebox.h>
#include <KSharedConfig>
......
......@@ -34,7 +34,6 @@
#include <QHBoxLayout>
#include <kparts/htmlextension.h>
#include <kparts/htmlsettingsinterface.h>
#include <KSharedConfig>
#include <kconfiggroup.h>
#include <kpluralhandlingspinbox.h>
......
......@@ -29,7 +29,6 @@
// KDE
#include <kconfig.h>
#include <kconfiggroup.h>
#include <KSharedConfig>
#include <kurlrequester.h>
#include <KLocalizedString>
#include <kparts/htmlextension.h>
......
......@@ -32,7 +32,6 @@
#include <kconfig.h>
#include <kconfiggroup.h>
#include <KLocalizedString>
#include <KSharedConfig>
// == class JSPolicies ==
......
......@@ -23,7 +23,6 @@
#include "policies.h"
// KDE
#include <ksharedconfig.h>
#include <kconfiggroup.h>
// == class Policies ==
......
......@@ -22,7 +22,6 @@
#include <kconfiggroup.h>
#include <QWidget>
#include "konqsidebarplugin.h"
#include <kparts/part.h>
#include <kparts/browserextension.h>
......
......@@ -19,7 +19,6 @@
#include <QApplication>
#include <kparts/part.h>
#include <konq_events.h>
#include <kacceleratormanager.h>
#include <KLocalizedString>
......
......@@ -51,7 +51,6 @@
#include <KJobUiDelegate>
#include <KJobWidgets>
#include <QStandardPaths>
#include <KSharedConfig>
void Sidebar_Widget::aboutToShowAddMenu()
{
......
......@@ -47,7 +47,6 @@ BUGS:
#include <QAction>
#include <QKeyEvent>
#include <QDir>
#include <QHeaderView>
......
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