[TD] DrawD* - DrawT*: remove unused includes - part 1
- also sort includes
This commit is contained in:
@@ -23,9 +23,6 @@
|
||||
#ifndef DrawDimHelper_h_
|
||||
#define DrawDimHelper_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <Geom2d_Curve.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
|
||||
@@ -33,6 +30,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
|
||||
namespace TechDraw
|
||||
{
|
||||
|
||||
@@ -23,13 +23,12 @@
|
||||
#ifndef TechDraw_DrawGeomHatch_h_
|
||||
#define TechDraw_DrawGeomHatch_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
#include <Mod/TechDraw/App/HatchLine.h>
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/PropertyFile.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include "HatchLine.h"
|
||||
|
||||
|
||||
class TopoDS_Edge;
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "DrawGeomHatch.h"
|
||||
|
||||
// inclusion of the generated files (generated out of DrawGeomHatchPy.xml)
|
||||
#include <Mod/TechDraw/App/DrawGeomHatchPy.h>
|
||||
#include <Mod/TechDraw/App/DrawGeomHatchPy.cpp>
|
||||
|
||||
|
||||
using namespace TechDraw;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
#ifndef TechDraw_DrawHatch_h_
|
||||
#define TechDraw_DrawHatch_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/PropertyFile.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
|
||||
namespace App {
|
||||
class Color;
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "DrawHatch.h"
|
||||
|
||||
// inclusion of the generated files (generated out of DrawHatchPy.xml)
|
||||
#include <Mod/TechDraw/App/DrawHatchPy.h>
|
||||
#include <Mod/TechDraw/App/DrawHatchPy.cpp>
|
||||
|
||||
|
||||
using namespace TechDraw;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
@@ -36,12 +36,6 @@ std::string DrawHatchPy::representation() const
|
||||
return std::string("<DrawHatch object>");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PyObject *DrawHatchPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
|
||||
@@ -23,12 +23,11 @@
|
||||
#ifndef TechDraw_DrawLeaderLine_h_
|
||||
#define TechDraw_DrawLeaderLine_h_
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
# include <App/DocumentObject.h>
|
||||
# include <App/FeaturePython.h>
|
||||
# include <App/PropertyLinks.h>
|
||||
|
||||
#include "DrawView.h"
|
||||
|
||||
|
||||
|
||||
@@ -21,20 +21,13 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Base/Vector3D.h>
|
||||
|
||||
#include "DrawLeaderLine.h"
|
||||
|
||||
// inclusion of the generated files (generated out of DrawLeaderLinePy.xml)
|
||||
#include <Base/VectorPy.h>
|
||||
#include <Mod/TechDraw/App/DrawLeaderLinePy.h>
|
||||
#include <Mod/TechDraw/App/DrawLeaderLinePy.cpp>
|
||||
|
||||
|
||||
using namespace TechDraw;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -23,14 +23,13 @@
|
||||
#ifndef DrawPage_h_
|
||||
#define DrawPage_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <boost_signals2.hpp>
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <Mod/TechDraw/App/DrawViewPart.h>
|
||||
#include <Mod/TechDraw/App/DrawViewSpreadsheet.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include "DrawViewPart.h"
|
||||
|
||||
|
||||
namespace TechDraw
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
#include "DrawViewPart.h"
|
||||
#include "DrawProjGroup.h"
|
||||
#include "DrawProjGroupItem.h"
|
||||
|
||||
// inclusion of the generated files
|
||||
#include <Mod/TechDraw/App/DrawViewPy.h>
|
||||
#include <Mod/TechDraw/App/DrawViewPartPy.h>
|
||||
#include <Mod/TechDraw/App/DrawProjGroupItemPy.h>
|
||||
#include <Mod/TechDraw/App/DrawViewAnnotationPy.h>
|
||||
#include <Mod/TechDraw/App/DrawPagePy.h>
|
||||
#include <Mod/TechDraw/App/DrawPagePy.cpp>
|
||||
#include <Mod/TechDraw/App/DrawProjGroupItemPy.h>
|
||||
#include <Mod/TechDraw/App/DrawViewAnnotationPy.h>
|
||||
#include <Mod/TechDraw/App/DrawViewPartPy.h>
|
||||
#include <Mod/TechDraw/App/DrawViewPy.h>
|
||||
|
||||
|
||||
using namespace TechDraw;
|
||||
|
||||
|
||||
@@ -23,10 +23,9 @@
|
||||
#ifndef TECHDRAW_DrawParametricTemplate_h_
|
||||
#define TECHDRAW_DrawParametricTemplate_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/PropertyFile.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include "DrawTemplate.h"
|
||||
#include "Geometry.h"
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
#endif
|
||||
|
||||
#include "DrawParametricTemplate.h"
|
||||
|
||||
// inclusion of the generated files (generated out of DrawParametricTemplateSFPy.xml)
|
||||
#include <Mod/TechDraw/App/DrawParametricTemplatePy.h>
|
||||
#include <Mod/TechDraw/App/DrawParametricTemplatePy.cpp>
|
||||
|
||||
|
||||
using namespace TechDraw;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -23,15 +23,14 @@
|
||||
#ifndef TECHDRAW_FEATUREVIEWGROUP_H_
|
||||
#define TECHDRAW_FEATUREVIEWGROUP_H_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <string>
|
||||
# include <QRectF>
|
||||
#include <QRectF>
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include "DrawViewCollection.h"
|
||||
|
||||
|
||||
@@ -23,13 +23,11 @@
|
||||
#ifndef DrawProjGroupItem_h_
|
||||
#define DrawProjGroupItem_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <gp_Ax2.hxx>
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include "DrawViewPart.h"
|
||||
|
||||
|
||||
@@ -1,12 +1,32 @@
|
||||
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2016 WandererFan <wandererfan@gmail.com> *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include "DrawProjGroupItem.h"
|
||||
|
||||
// inclusion of the generated files (generated out of DrawProjGroupItemPy.xml)
|
||||
#include <Mod/TechDraw/App/DrawProjGroupItemPy.h>
|
||||
#include <Mod/TechDraw/App/DrawProjGroupItemPy.cpp>
|
||||
|
||||
|
||||
using namespace TechDraw;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -23,18 +23,17 @@
|
||||
#ifndef DrawProjectSplit_h_
|
||||
#define DrawProjectSplit_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
|
||||
#include <App/FeaturePython.h>
|
||||
#include <Base/Vector3D.h>
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
#include "DrawUtil.h"
|
||||
#include "Geometry.h"
|
||||
|
||||
|
||||
class gp_Pnt;
|
||||
class gp_Ax2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user