Commit f88037b2 authored by Martin Schultz's avatar Martin Schultz

reduced includes by means of static code analysis

parent a84e09ba
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
#include "DataControlPlugin.hh" #include "DataControlPlugin.hh"
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
void DataControlPlugin::slotContextMenuTarget( ) { void DataControlPlugin::slotContextMenuTarget( ) {
QVariant contextObject = targetAction_->data(); QVariant contextObject = targetAction_->data();
......
...@@ -49,30 +49,15 @@ ...@@ -49,30 +49,15 @@
#include "DataControlPlugin.hh" #include "DataControlPlugin.hh"
#if QT_VERSION >= 0x050000 #if QT_VERSION >= 0x050000
#include <QtWidgets>
#else #else
#include <QtGui> #include <QtGui>
#endif #endif
#include <QLayout>
#include <QGridLayout>
#include <QItemSelectionModel>
#include <iostream>
#include <ACG/GL/GLState.hh>
#include <QStringList>
#include <ACG/Scenegraph/BaseNode.hh>
#include <ACG/QtWidgets/QtMaterialDialog.hh> #include <ACG/QtWidgets/QtMaterialDialog.hh>
#include <QModelIndexList>
#include <queue> #include <queue>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
#include <ObjectTypes/Light/Light.hh>
//****************************************************************************** //******************************************************************************
const ACG::Vec4f base_color (0.0f,0.0f,0.5f,1.0f); const ACG::Vec4f base_color (0.0f,0.0f,0.5f,1.0f);
......
...@@ -52,8 +52,6 @@ ...@@ -52,8 +52,6 @@
#include "DataControlPlugin.hh" #include "DataControlPlugin.hh"
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
//****************************************************************************** //******************************************************************************
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
\*===========================================================================*/ \*===========================================================================*/
#include <OpenFlipper/common/Types.hh> #include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/common/BaseObjectData.hh>
#include "DefaultObjectMarker.hh" #include "DefaultObjectMarker.hh"
//****************************************************************************** //******************************************************************************
......
...@@ -52,13 +52,8 @@ ...@@ -52,13 +52,8 @@
#include "DataControlPlugin.hh" #include "DataControlPlugin.hh"
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
#include <ACG/QtWidgets/QtMaterialDialog.hh> #include <ACG/QtWidgets/QtMaterialDialog.hh>
#include <QInputDialog>
#include <QMessageBox>
#include "Menu.hh" #include "Menu.hh"
#include <ObjectTypes/Light/LightWidget.hh> #include <ObjectTypes/Light/LightWidget.hh>
......
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
#include "Toolbox.hh" #include "Toolbox.hh"
#include <iostream>
DatacontrolToolboxWidget::DatacontrolToolboxWidget(QWidget* _parent) DatacontrolToolboxWidget::DatacontrolToolboxWidget(QWidget* _parent)
: QWidget(_parent) : QWidget(_parent)
{ {
......
...@@ -55,12 +55,7 @@ ...@@ -55,12 +55,7 @@
#include <QtGui> #include <QtGui>
#endif #endif
#include <QBrush>
#include <iostream>
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh> #include <OpenFlipper/BasePlugin/PluginFunctions.hh>
#include <OpenFlipper/common/GlobalOptions.hh> #include <OpenFlipper/common/GlobalOptions.hh>
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
\*===========================================================================*/ \*===========================================================================*/
#include "TreeView.hh" #include "TreeView.hh"
#include <iostream>
DataControlTreeView::DataControlTreeView(QWidget* _parent) DataControlTreeView::DataControlTreeView(QWidget* _parent)
: QTreeView(_parent) : QTreeView(_parent)
......
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