Commit 0cab41cc authored by Martin Schultz's avatar Martin Schultz

reduced includes by means of static code analysis

parent 1fa58df5
......@@ -49,15 +49,12 @@
//== INCLUDES =================================================================
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QDialog>
#include <QTextEdit>
#include <QFileDialog>
#include <QMenu>
#include <QAction>
#include <QMenuBar>
#include <QIcon>
#include <QMessageBox>
#include <QApplication>
......@@ -65,11 +62,9 @@
#include <QScriptEngine>
#include <QDomDocument>
#include <QDomElement>
#include <QXmlQuery>
#include <QXmlResultItems>
#include <QRegExp>
#include <OpenFlipper/common/GlobalOptions.hh>
......@@ -78,7 +73,6 @@
#include "scene/sceneElement.hh"
#include "parser/context.hh"
#include "parser/element.hh"
//== NAMESPACES ===============================================================
namespace VSI {
......
......@@ -50,8 +50,6 @@
//== INCLUDES =================================================================
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGridLayout>
#include <QScrollArea>
#include <QLineEdit>
#include <QLabel>
......
......@@ -49,12 +49,10 @@
//== INCLUDES =================================================================
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QFrame>
#include "../scene/elementInput.hh"
#include "../parser/type.hh"
#include "../parser/inout.hh"
#include "../parser/element.hh"
#include "../parser/context.hh"
......
......@@ -50,8 +50,6 @@
//== INCLUDES =================================================================
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGridLayout>
#include <QScrollArea>
......
......@@ -52,7 +52,6 @@
#include "../scene/elementInput.hh"
#include "../parser/type.hh"
#include "../parser/inout.hh"
#include "../parser/element.hh"
#include "../parser/context.hh"
......
......@@ -49,12 +49,8 @@
//== INCLUDES =================================================================
#include <QBuffer>
#include <QStringList>
#include <QXmlQuery>
#include <QXmlResultItems>
#include <QRegExp>
#include <iostream>
#include "context.hh"
#include "input.hh"
......
......@@ -51,7 +51,6 @@
#include "function.hh"
#include "element.hh"
#include "input.hh"
#include "output.hh"
//== NAMESPACES ===============================================================
namespace VSI {
......
......@@ -48,12 +48,10 @@
\*===========================================================================*/
//== INCLUDES =================================================================
#include <cmath>
#include <QPainterPath>
#include <QGraphicsItem>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneWheelEvent>
#include <OpenFlipper/common/GlobalOptions.hh>
......
......@@ -48,14 +48,12 @@
\*===========================================================================*/
//== INCLUDES =================================================================
#include <cmath>
#include <QPolygonF>
#include <QGraphicsItem>
#include <QFontMetrics>
#include <QPen>
#include <QPainter>
#include <QPainterPath>
#include <QGraphicsSceneMouseEvent>
#include "button.hh"
......
......@@ -51,8 +51,6 @@
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsScene>
#include <QPen>
#include "elementInOut.hh"
#include "elementInput.hh"
#include "elementOutput.hh"
......@@ -62,8 +60,6 @@
#include "elementArea.hh"
#include "wayfind.hh"
#include "../parser/inout.hh"
//== NAMESPACES ===============================================================
namespace VSI {
......
......@@ -50,7 +50,6 @@
//== INCLUDES =================================================================
#include <QGraphicsItem>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneWheelEvent>
#include "../parser/element.hh"
#include "elementArea.hh"
......
......@@ -55,7 +55,6 @@
#include "connection.hh"
#include "graphicsScene.hh"
#include "text.hh"
#include "../parser/input.hh"
#include "../parser/element.hh"
#include "../parser/context.hh"
#include "../parser/type.hh"
......
......@@ -49,10 +49,7 @@
//== INCLUDES =================================================================
#include <QWidget>
#include <QPushButton>
#include <QPainter>
#include <QPainterPath>
#include <QPalette>
#include <QGraphicsLinearLayout>
#include <QGraphicsProxyWidget>
#include <QGraphicsGridLayout>
......@@ -60,7 +57,6 @@
#include "baseWidget.hh"
#include "functionDisplay.hh"
#include "graphicsScene.hh"
#include "elementFunction.hh"
#include "text.hh"
#include "button.hh"
......
......@@ -57,7 +57,6 @@
#include "elementInput.hh"
#include "elementOutput.hh"
#include "elementInOut.hh"
#include "elementFunction.hh"
#include "connection.hh"
#include "connectionPoint.hh"
......@@ -66,21 +65,12 @@
#include "baseWidget.hh"
#include <QApplication>
#include <QPainter>
#include <QPainterPath>
#include <QPaintEngine>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneDragDropEvent>
#include <QMimeData>
#include <QGraphicsRectItem>
#include <QSet>
#include <QXmlQuery>
#include <QXmlResultItems>
#include <QRegExp>
#include "../parser/context.hh"
#include "../parser/inout.hh"
#include "../parser/output.hh"
#include "../parser/function.hh"
......
......@@ -51,16 +51,13 @@
#include <QWidget>
#include <QVBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QMessageBox>
#include <QPainter>
#include <QPalette>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsLinearLayout>
#include <QGraphicsProxyWidget>
#include <QGraphicsGridLayout>
#include <QGraphicsView>
#include <QRegExp>
#include <QDomText>
#include <QXmlResultItems>
......@@ -80,8 +77,6 @@
#include "config/configDialog.hh"
#include "../parser/element.hh"
#include "../parser/input.hh"
#include "../parser/type.hh"
#include "../parser/context.hh"
#include "../parser/function.hh"
......
......@@ -50,10 +50,7 @@
//== INCLUDES =================================================================
#include <QWidget>
#include <QVBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QPainter>
#include <QPalette>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsGridLayout>
#include <QGraphicsLinearLayout>
......
......@@ -48,14 +48,12 @@
\*===========================================================================*/
//== INCLUDES =================================================================
#include <cmath>
#include <QPolygonF>
#include <QGraphicsItem>
#include <QFontMetrics>
#include <QPen>
#include <QPainter>
#include <QPainterPath>
#include "text.hh"
......
......@@ -51,7 +51,6 @@
#include <QPixmap>
#include <QGraphicsItem>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneWheelEvent>
#include <OpenFlipper/common/GlobalOptions.hh>
......
......@@ -49,8 +49,6 @@
//== INCLUDES =================================================================
#include <QRectF>
#include <QRect>
#include <QPointF>
#include <QVector>
#include <QHash>
#include <QLinkedList>
......
......@@ -51,7 +51,6 @@
#include <QPixmap>
#include <QGraphicsItem>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsSceneWheelEvent>
#include <OpenFlipper/common/GlobalOptions.hh>
......
......@@ -54,7 +54,6 @@
#include <QMimeData>
#include <QDrag>
#include <QMouseEvent>
#include <QPalette>
#include "toolBoxElement.hh"
#include "parser/element.hh"
......
......@@ -50,7 +50,6 @@
//== INCLUDES =================================================================
#include <QHBoxLayout>
#include <QRadioButton>
#include <QPushButton>
#include "boolWidget.hh"
......
......@@ -48,7 +48,6 @@
\*===========================================================================*/
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/common/BaseObjectData.hh>
#include "SelectionObjectMarker.hh"
//******************************************************************************
......
......@@ -51,15 +51,10 @@
#include "TreeModel.hh"
#include <iostream>
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <QBrush>
#if QT_VERSION >= 0x050000
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
......
......@@ -56,7 +56,6 @@
#include "objectIdWidget.hh"
#include "objectPickDialog.hh"
#include "TreeModel.hh"
//== NAMESPACES ===============================================================
namespace VSI {
......
......@@ -49,7 +49,6 @@
//== INCLUDES =================================================================
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QPushButton>
#include <QTreeView>
#include <QMouseEvent>
......@@ -60,7 +59,6 @@
#include "objectPickDialog.hh"
#include "TreeModel.hh"
#include "TreeItem.hh"
//== NAMESPACES ===============================================================
namespace VSI {
......
......@@ -49,7 +49,6 @@
//== INCLUDES =================================================================
#include <QHBoxLayout>
#include <QGridLayout>
#include <QLineEdit>
#include <QPushButton>
#include <QCheckBox>
......
......@@ -56,7 +56,6 @@
//== INCLUDES =================================================================
#include <QAction>
#include <QIcon>
#include <QScriptEngine>
#include <QMessageBox>
......@@ -68,7 +67,6 @@
#include "baseWidget.hh"
#include "parser/context.hh"
#include "parser/element.hh"
#include "parser/input.hh"
#include "config/dynamicDialog.hh"
......
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