Commit 3a522356 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 8aa1c03f
Pipeline #38540 passed with stage
in 28 minutes and 5 seconds
......@@ -24,7 +24,6 @@
#include "nodetype.h"
#include "models/edgetypepropertymodel.h"
#include "models/nodetypepropertymodel.h"
#include "typenames.h"
#include <KLocalizedString>
#include <QLayout>
#include <QGridLayout>
......
......@@ -20,7 +20,6 @@
#include "editor.h"
#include "typenames.h"
#include "graphdocument.h"
#include "node.h"
#include "edge.h"
#include "fileformats/fileformatmanager.h"
......
......@@ -19,7 +19,6 @@
*/
#include "assignvalueswidget.h"
#include "typenames.h"
#include "graphdocument.h"
#include "modifiers/valueassign.h"
#include "logging_p.h"
......
......@@ -21,8 +21,6 @@
#include "editorplugins/editorplugininterface.h"
#include "logging_p.h"
#include "typenames.h"
#include <QObject>
using namespace GraphTheory;
......
......@@ -19,7 +19,6 @@
*/
#include "editorpluginmanager.h"
#include "editorplugininterface.h"
#include "logging_p.h"
#include <KPluginMetaData>
......
......@@ -21,7 +21,6 @@
#include "generategraphwidget.h"
#include "typenames.h"
#include "graphdocument.h"
#include "edge.h"
#include "modifiers/topology.h"
......
......@@ -19,7 +19,6 @@
*/
#include "transformedgeswidget.h"
#include "typenames.h"
#include "graphdocument.h"
#include "edge.h"
#include "modifiers/topology.h"
......
......@@ -19,7 +19,6 @@
*/
#include "dotfileformat.h"
#include "fileformats/fileformatinterface.h"
#include "modifiers/topology.h"
#include "graphdocument.h"
#include "node.h"
......
......@@ -18,7 +18,6 @@
#include "dotgrammar.h"
#include "dotgrammarhelper.h"
#include "typenames.h"
#include "graphdocument.h"
#include "node.h"
#include "logging_p.h"
......
......@@ -20,10 +20,8 @@
#include "fileformats/fileformatinterface.h"
#include "typenames.h"
#include "graphdocument.h"
#include <QStringList>
#include <QObject>
#include <QUrl>
using namespace GraphTheory;
......
......@@ -19,7 +19,6 @@
*/
#include "fileformatmanager.h"
#include "fileformatinterface.h"
#include "logging_p.h"
#include <KPluginFactory>
......
......@@ -21,7 +21,6 @@
#include "gmlfileformat.h"
#include "gmlgrammarhelper.h"
#include "gmlgrammar.h"
#include "fileformats/fileformatinterface.h"
#include "modifiers/topology.h"
#include "graphdocument.h"
#include "node.h"
......
......@@ -21,7 +21,6 @@
#include "gmlgrammarhelper.h"
#include "gmlgrammar.h"
#include "graphdocument.h"
#include "node.h"
#include "edge.h"
#include "logging_p.h"
#include <QFile>
......
......@@ -19,7 +19,6 @@
*/
#include "rocs1fileformat.h"
#include "fileformats/fileformatinterface.h"
#include "graphdocument.h"
#include "node.h"
#include "edge.h"
......
......@@ -19,7 +19,6 @@
*/
#include "rocs2fileformat.h"
#include "fileformats/fileformatinterface.h"
#include "modifiers/topology.h"
#include "graphdocument.h"
#include "node.h"
......
......@@ -19,7 +19,6 @@
*/
#include "tgffileformat.h"
#include "fileformats/fileformatinterface.h"
#include "modifiers/topology.h"
#include "graphdocument.h"
#include "node.h"
......
......@@ -19,7 +19,6 @@
*/
#include "tikzfileformat.h"
#include "fileformats/fileformatinterface.h"
#include "graphdocument.h"
#include "node.h"
#include "edge.h"
......
......@@ -20,8 +20,6 @@
#include "graphdocument.h"
#include "view.h"
#include "edgetype.h"
#include "nodetype.h"
#include "edge.h"
#include "fileformats/fileformatmanager.h"
#include "logging_p.h"
......
......@@ -21,9 +21,7 @@
#include "documentwrapper.h"
#include "nodewrapper.h"
#include "edgewrapper.h"
#include "graphdocument.h"
#include "nodetype.h"
#include "edge.h"
#include <KLocalizedString>
#include <QDebug>
......
......@@ -20,12 +20,10 @@
#include "edgewrapper.h"
#include "documentwrapper.h"
#include "graphdocument.h"
#include "edgetype.h"
#include "edge.h"
#include "edgetypestyle.h"
#include <KLocalizedString>
#include <QColor>
#include <QDebug>
#include <QEvent>
......
......@@ -19,7 +19,6 @@
*/
#include "kernel.h"
#include "graphdocument.h"
#include "documentwrapper.h"
#include "nodewrapper.h"
#include "edgewrapper.h"
......@@ -27,7 +26,6 @@
#include "kernel/modules/console/consolemodule.h"
#include <KLocalizedString>
#include <QScriptEngine>
#include <QScriptEngineDebugger>
using namespace GraphTheory;
......
......@@ -20,13 +20,10 @@
#include "nodewrapper.h"
#include "edgewrapper.h"
#include "graphdocument.h"
#include "nodetype.h"
#include "edge.h"
#include "typenames.h"
#include <KLocalizedString>
#include <QPointF>
#include <QColor>
#include <QDebug>
#include <QEvent>
......
......@@ -19,14 +19,12 @@
*/
#include "node.h"
#include "graphdocument.h"
#include "nodetype.h"
#include "edge.h"
#include "nodetypestyle.h"
#include "logging_p.h"
#include <QPointF>
#include <QColor>
using namespace GraphTheory;
......
......@@ -20,7 +20,6 @@
#include "qsgarrowheadnode.h"
#include <QSGGeometry>
#include <QSGFlatColorMaterial>
#include <QColor>
using namespace GraphTheory;
......
......@@ -21,7 +21,6 @@
#include "qsglinenode.h"
#include "qsgarrowheadnode.h"
#include <QSGGeometry>
#include <QSGFlatColorMaterial>
#include <QColor>
using namespace GraphTheory;
......
......@@ -19,9 +19,6 @@
*/
#include "view.h"
#include "edgetype.h"
#include "nodetype.h"
#include "edge.h"
#include "models/nodemodel.h"
#include "models/edgemodel.h"
#include "models/nodepropertymodel.h"
......@@ -36,11 +33,9 @@
#include <QQmlApplicationEngine>
#include <KLocalizedContext>
#include <QObject>
#include <QQmlComponent>
#include <QQmlContext>
#include <QQmlEngine>
#include <QQuickWidget>
#include <QPointer>
#include <QStandardPaths>
......
......@@ -20,7 +20,6 @@
#include "object.h"
#include <QStringList>
#include <QDebug>
Object::Object(QObject* parent)
......
......@@ -19,9 +19,7 @@
*/
#include "project.h"
#include "libgraphtheory/typenames.h"
#include "libgraphtheory/graphdocument.h"
#include "libgraphtheory/editor.h"
#include <KConfig>
#include <KConfigGroup>
#include <KLocalizedString>
......@@ -32,9 +30,7 @@
#include <QUrl>
#include <QDir>
#include <QHash>
#include <QString>
#include <QMap>
#include <QList>
#include <QSaveFile>
#include <QTemporaryFile>
#include <QTemporaryDir>
......
......@@ -19,7 +19,6 @@
*/
#include "codeeditorwidget.h"
#include "project/project.h"
#include <KTextEditor/View>
#include <KTextEditor/Editor>
#include <KTextEditor/Document>
......
......@@ -21,10 +21,7 @@
#include "documenttypeswidget.h"
#include "nodetypesdelegate.h"
#include "edgetypesdelegate.h"
#include "libgraphtheory/models/nodetypemodel.h"
#include "libgraphtheory/models/edgetypemodel.h"
#include "libgraphtheory/nodetype.h"
#include "libgraphtheory/edgetype.h"
#include <KLocalizedString>
#include <KWidgetItemDelegate>
#include <QGridLayout>
......
......@@ -19,7 +19,6 @@
*/
#include "edgetypesdelegate.h"
#include "libgraphtheory/edgetype.h"
#include "libgraphtheory/dialogs/edgetypeproperties.h"
#include "libgraphtheory/models/edgetypemodel.h"
#include <KColorButton>
......
......@@ -19,15 +19,12 @@
*/
#include "grapheditorwidget.h"
#include "libgraphtheory/typenames.h"
#include "libgraphtheory/graphdocument.h"
#include "libgraphtheory/view.h"
#include "project/project.h"
#include <KLocalizedString>
#include <QInputDialog>
#include <QTabWidget>
#include <QVBoxLayout>
#include <QWidget>
#include <QDebug>
using namespace GraphTheory;
......
......@@ -20,7 +20,6 @@
#include "journalwidget.h"
#include "project/project.h"
#include "ui_journalwidget.h"
#include <QSaveFile>
#include <QDebug>
#include <QTextStream>
......
......@@ -23,8 +23,6 @@
#include "rocsversion.h"
#include "settings.h"
#include "libgraphtheory/editor.h"
#include "libgraphtheory/editorplugins/editorpluginmanager.h"
#include "libgraphtheory/kernel/kernel.h"
#include "libgraphtheory/view.h"
......
......@@ -19,7 +19,6 @@
*/
#include "scriptoutputwidget.h"
#include <QWidget>
#include <QDebug>
#include <QIcon>
......
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