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>
......
......@@ -24,7 +24,6 @@
#include <kfileitemlistproperties.h>
#include <kactioncollection.h>
#include <konq_operations.h>
#include <kglobalsettings.h>
#include <kmimetypetrader.h>
#include <kio/paste.h>
......
......@@ -29,9 +29,6 @@
#include <QMenu>
#include <QTimer>
#include <QApplication>
#include <QPixmap>
#include <QKeyEvent>
#include <QEvent>
#include <QAction>
#include <kactioncollection.h>
......
......@@ -20,7 +20,6 @@
#include "konq_sidebartreemodule.h"
#include <kdirnotify.h>
#include <kio/paste.h>
#include <konq_operations.h>
#include <kprotocolinfo.h>
#include <k3urldrag.h>
#include <kconfiggroup.h>
......
......@@ -21,7 +21,6 @@
#include "konqbookmarkmenu.h"
#include "kbookmarkowner.h"
#include "kbookmarkaction.h"
#include "kbookmarkcontextmenu.h"
#include <QMenu>
#include <QFile>
......
......@@ -30,7 +30,6 @@
// Qt
#include <QApplication>
#include <QEvent>
#include <QVBoxLayout>
#include <QUrl>
......
......@@ -26,7 +26,6 @@
#include <QIcon>
#include <kiconloader.h>
#include <KLocalizedString>
#include <kactioncollection.h>
#include <kservicetypetrader.h>
// Local
......
......@@ -19,7 +19,6 @@
#include "konqhistorydialog.h"
#include "konqhistoryview.h"
#include "konqhistorysettings.h"
#include "konqhistory.h"
#include "konqmainwindow.h"
......
......@@ -88,7 +88,6 @@
#include <QEvent>
#include <QKeyEvent>
#include <QByteRef>
#include <QList>
#include <QPixmap>
#include <QLineEdit>
#include <QNetworkProxy>
......
......@@ -44,7 +44,6 @@
#include <kconfig.h>
#include <kseparator.h>
#include <kmessagebox.h>
#include <QDialog>
#include <KConfigGroup>
#include <QDialogButtonBox>
#include <KGuiItem>
......
......@@ -29,7 +29,6 @@
#include "konqdebug.h"
#include <kio/deletejob.h>
#include <KLocalizedString>
#include <QDialog>
#include <QUrl>
#include <QIcon>
#include <ksqueezedtextlabel.h>
......
......@@ -19,7 +19,6 @@
#include "konqsettings.h"
#include <kprotocolmanager.h>
#include <ksharedconfig.h>
#include <kdesktopfile.h>
#include "konqdebug.h"
......
......@@ -25,7 +25,6 @@
#include <QClipboard>
#include <QMenu>
#include <QDrag>
#include <QToolButton>
#include <QIcon>
#include <QMimeData>
......
......@@ -43,9 +43,7 @@
#include <QApplication>
#include <QArgument>
#include <QObject>
#include <QByteRef>
#include <QEvent>
#include <QFile>
#include <QDropEvent>
#include <QDBusConnection>
......@@ -64,7 +62,6 @@
#include <KParts/BrowserExtension>
#include <KParts/WindowArgs>
#include <QMimeDatabase>
#include <QMimeType>
//#define DEBUG_HISTORY
......
......@@ -22,7 +22,6 @@
#include "featurepermissionbar.h"
#include <KLocalizedString>
#include <QAction>
......
......@@ -23,7 +23,6 @@
#include "webenginepage.h"
#include "webenginepart.h"
#include "websslinfo.h"
#include "webengineview.h"
#include "settings/webenginesettings.h"
#include "webenginepartdownloadmanager.h"
......
......@@ -73,7 +73,6 @@
#include <KParts/BrowserInterface>
#include <KIO/ApplicationLauncherJob>
#include <QUrl>
#include <QFile>
#include <QTextCodec>
#include <QCoreApplication>
......
......@@ -23,9 +23,7 @@
#include <webenginepart_debug.h>
#include <QWebEngineProfile>
#include <QWebEngineCookieStore>
#include <QStringList>
#include <QDBusInterface>
#include <QDBusReply>
#include <QDebug>
#include <QWidget>
......
......@@ -23,7 +23,6 @@
#include "webenginepage.h"
#include <webenginepart_debug.h>
#include <QWebEngineDownloadItem>
#include <QWebEngineView>
#include <QWebEngineProfile>
#include <QFileDialog>
......
......@@ -21,7 +21,6 @@
#include "webenginepartkiohandler.h"
#include <QMimeDatabase>
#include <QWebEngineUrlRequestJob>
#include <QBuffer>
#include <QtWebEngine/QtWebEngineVersion>
......
......@@ -24,7 +24,6 @@
#include "webenginewallet.h"
#include "webenginepage.h"
#include "utils.h"
#include "settings/webenginesettings.h"
#include "webenginecustomizecacheablefieldsdlg.h"
#include <webenginepart_debug.h>
......
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