Refactoring include for Visual Studio.
--HG-- branch : develop
This commit is contained in:
parent
b9a99cd0cf
commit
95b4a34e6c
|
@ -24,10 +24,10 @@
|
|||
|
||||
#include "vstandarttablecell.h"
|
||||
#include "vincrementtablerow.h"
|
||||
#include "geometry/varc.h"
|
||||
#include "geometry/vsplinepath.h"
|
||||
#include "geometry/vdetail.h"
|
||||
#include "widgets/vitem.h"
|
||||
#include "../geometry/varc.h"
|
||||
#include "../geometry/vsplinepath.h"
|
||||
#include "../geometry/vdetail.h"
|
||||
#include "../widgets/vitem.h"
|
||||
|
||||
/**
|
||||
* @brief The VContainer class
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
|
||||
#include "dialoghistory.h"
|
||||
#include "ui_dialoghistory.h"
|
||||
#include "geometry/varc.h"
|
||||
#include "geometry/vspline.h"
|
||||
#include "geometry/vsplinepath.h"
|
||||
#include "../geometry/varc.h"
|
||||
#include "../geometry/vspline.h"
|
||||
#include "../geometry/vsplinepath.h"
|
||||
#include <QDebug>
|
||||
|
||||
DialogHistory::DialogHistory(VContainer *data, VDomDocument *doc, QWidget *parent)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define DIALOGHISTORY_H
|
||||
|
||||
#include "dialogtool.h"
|
||||
#include "xml/vdomdocument.h"
|
||||
#include "../xml/vdomdocument.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define DIALOGINCREMENTS_H
|
||||
|
||||
#include "dialogtool.h"
|
||||
#include "xml/vdomdocument.h"
|
||||
#include "../xml/vdomdocument.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "dialogsplinepath.h"
|
||||
#include "ui_dialogsplinepath.h"
|
||||
#include "geometry/vsplinepoint.h"
|
||||
#include "../geometry/vsplinepoint.h"
|
||||
|
||||
DialogSplinePath::DialogSplinePath(const VContainer *data, Draw::Draws mode, QWidget *parent)
|
||||
:DialogTool(data, mode, parent), ui(new Ui::DialogSplinePath), path(VSplinePath())
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define DIALOGSPLINEPATH_H
|
||||
|
||||
#include "dialogtool.h"
|
||||
#include "geometry/vsplinepath.h"
|
||||
#include "../geometry/vsplinepath.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VNODEDETAIL_H
|
||||
|
||||
#include <QMetaType>
|
||||
#include "options.h"
|
||||
#include "../options.h"
|
||||
|
||||
namespace NodeDetail
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vtoolalongline.h"
|
||||
#include "container/calculator.h"
|
||||
#include "../../container/calculator.h"
|
||||
|
||||
const QString VToolAlongLine::ToolType = QStringLiteral("alongLine");
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLALONGLINE_H
|
||||
|
||||
#include "vtoollinepoint.h"
|
||||
#include "dialogs/dialogalongline.h"
|
||||
#include "../../dialogs/dialogalongline.h"
|
||||
|
||||
class VToolAlongLine : public VToolLinePoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vtoolarc.h"
|
||||
#include "container/calculator.h"
|
||||
#include "../../container/calculator.h"
|
||||
|
||||
const QString VToolArc::TagName = QStringLiteral("arc");
|
||||
const QString VToolArc::ToolType = QStringLiteral("simple");
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include "vdrawtool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogarc.h"
|
||||
#include "widgets/vcontrolpointspline.h"
|
||||
#include "../../dialogs/dialogarc.h"
|
||||
#include "../../widgets/vcontrolpointspline.h"
|
||||
|
||||
class VToolArc :public VDrawTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLBISECTOR_H
|
||||
|
||||
#include "vtoollinepoint.h"
|
||||
#include "dialogs/dialogbisector.h"
|
||||
#include "../../dialogs/dialogbisector.h"
|
||||
|
||||
class VToolBisector : public VToolLinePoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vtoolendline.h"
|
||||
#include "widgets/vmaingraphicsscene.h"
|
||||
#include "../../widgets/vmaingraphicsscene.h"
|
||||
#include "../../container/calculator.h"
|
||||
|
||||
const QString VToolEndLine::ToolType = QStringLiteral("endLine");
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLENDLINE_H
|
||||
|
||||
#include "vtoollinepoint.h"
|
||||
#include "dialogs/dialogendline.h"
|
||||
#include "../../dialogs/dialogendline.h"
|
||||
|
||||
class VToolEndLine : public VToolLinePoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLHEIGHT_H
|
||||
|
||||
#include "vtoollinepoint.h"
|
||||
#include "dialogs/dialogheight.h"
|
||||
#include "../../dialogs/dialogheight.h"
|
||||
|
||||
class VToolHeight: public VToolLinePoint
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#define VTOOLLINE_H
|
||||
|
||||
#include "vdrawtool.h"
|
||||
#include "QGraphicsLineItem"
|
||||
#include "dialogs/dialogline.h"
|
||||
#include <QGraphicsLineItem>
|
||||
#include "../../dialogs/dialogline.h"
|
||||
|
||||
class VToolLine: public VDrawTool, public QGraphicsLineItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLLINEINTERSECT_H
|
||||
|
||||
#include "vtoolpoint.h"
|
||||
#include "dialogs/dialoglineintersect.h"
|
||||
#include "../../dialogs/dialoglineintersect.h"
|
||||
|
||||
class VToolLineIntersect:public VToolPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLNORMAL_H
|
||||
|
||||
#include "vtoollinepoint.h"
|
||||
#include "dialogs/dialognormal.h"
|
||||
#include "../../dialogs/dialognormal.h"
|
||||
|
||||
class VToolNormal : public VToolLinePoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLPOINT_H
|
||||
|
||||
#include "vdrawtool.h"
|
||||
#include "widgets/vgraphicssimpletextitem.h"
|
||||
#include "../../widgets/vgraphicssimpletextitem.h"
|
||||
|
||||
class VToolPoint: public VDrawTool, public QGraphicsEllipseItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLPOINTOFCONTACT_H
|
||||
|
||||
#include "vtoolpoint.h"
|
||||
#include "dialogs/dialogpointofcontact.h"
|
||||
#include "../../dialogs/dialogpointofcontact.h"
|
||||
|
||||
class VToolPointOfContact : public VToolPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLPOINTOFINTERSECTION_H
|
||||
|
||||
#include "vtoolpoint.h"
|
||||
#include "dialogs/dialogpointofintersection.h"
|
||||
#include "../../dialogs/dialogpointofintersection.h"
|
||||
|
||||
class VToolPointOfIntersection : public VToolPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLSHOULDERPOINT_H
|
||||
|
||||
#include "vtoollinepoint.h"
|
||||
#include "dialogs/dialogshoulderpoint.h"
|
||||
#include "../../dialogs/dialogshoulderpoint.h"
|
||||
|
||||
class VToolShoulderPoint : public VToolLinePoint
|
||||
{
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#ifndef VTOOLSINGLEPOINT_H
|
||||
#define VTOOLSINGLEPOINT_H
|
||||
|
||||
#include "dialogs/dialogsinglepoint.h"
|
||||
#include "vtoolpoint.h"
|
||||
#include "../../dialogs/dialogsinglepoint.h"
|
||||
|
||||
class VToolSinglePoint : public VToolPoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vtoolspline.h"
|
||||
#include "geometry/vspline.h"
|
||||
#include "../../geometry/vspline.h"
|
||||
|
||||
const QString VToolSpline::TagName = QStringLiteral("spline");
|
||||
const QString VToolSpline::ToolType = QStringLiteral("simple");
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
|
||||
#include "vdrawtool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogspline.h"
|
||||
#include "widgets/vcontrolpointspline.h"
|
||||
#include "geometry/vsplinepath.h"
|
||||
#include "../../dialogs/dialogspline.h"
|
||||
#include "../../widgets/vcontrolpointspline.h"
|
||||
#include "../../geometry/vsplinepath.h"
|
||||
|
||||
class VToolSpline:public VDrawTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include "vdrawtool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogsplinepath.h"
|
||||
#include "widgets/vcontrolpointspline.h"
|
||||
#include "../../dialogs/dialogsplinepath.h"
|
||||
#include "../../widgets/vcontrolpointspline.h"
|
||||
|
||||
class VToolSplinePath:public VDrawTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VTOOLTRIANGLE_H
|
||||
|
||||
#include "vtoolpoint.h"
|
||||
#include "dialogs/dialogtriangle.h"
|
||||
#include "../../dialogs/dialogtriangle.h"
|
||||
|
||||
class VToolTriangle : public VToolPoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vmodelingalongline.h"
|
||||
#include "container/calculator.h"
|
||||
#include "../../container/calculator.h"
|
||||
|
||||
const QString VModelingAlongLine::ToolType = QStringLiteral("alongLine");
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGALONGLINE_H
|
||||
|
||||
#include "vmodelinglinepoint.h"
|
||||
#include "dialogs/dialogalongline.h"
|
||||
#include "../../dialogs/dialogalongline.h"
|
||||
|
||||
class VModelingAlongLine : public VModelingLinePoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vmodelingarc.h"
|
||||
#include "container/calculator.h"
|
||||
#include "../../container/calculator.h"
|
||||
|
||||
const QString VModelingArc::TagName = QStringLiteral("arc");
|
||||
const QString VModelingArc::ToolType = QStringLiteral("simple");
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include "vmodelingtool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogarc.h"
|
||||
#include "widgets/vcontrolpointspline.h"
|
||||
#include "../../dialogs/dialogarc.h"
|
||||
#include "../../widgets/vcontrolpointspline.h"
|
||||
|
||||
class VModelingArc :public VModelingTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGBISECTOR_H
|
||||
|
||||
#include "vmodelinglinepoint.h"
|
||||
#include "dialogs/dialogbisector.h"
|
||||
#include "../../dialogs/dialogbisector.h"
|
||||
|
||||
class VModelingBisector : public VModelingLinePoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGENDLINE_H
|
||||
|
||||
#include "vmodelinglinepoint.h"
|
||||
#include "dialogs/dialogendline.h"
|
||||
#include "../../dialogs/dialogendline.h"
|
||||
|
||||
class VModelingEndLine : public VModelingLinePoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGHEIGHT_H
|
||||
|
||||
#include "vmodelinglinepoint.h"
|
||||
#include "dialogs/dialogheight.h"
|
||||
#include "../../dialogs/dialogheight.h"
|
||||
|
||||
class VModelingHeight : public VModelingLinePoint
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#define VMODELINGLINE_H
|
||||
|
||||
#include "vmodelingtool.h"
|
||||
#include "QGraphicsLineItem"
|
||||
#include "dialogs/dialogline.h"
|
||||
#include <QGraphicsLineItem>
|
||||
#include "../../dialogs/dialogline.h"
|
||||
|
||||
class VModelingLine: public VModelingTool, public QGraphicsLineItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGLINEINTERSECT_H
|
||||
|
||||
#include "vmodelingpoint.h"
|
||||
#include "dialogs/dialoglineintersect.h"
|
||||
#include "../../dialogs/dialoglineintersect.h"
|
||||
|
||||
class VModelingLineIntersect:public VModelingPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGNORMAL_H
|
||||
|
||||
#include "vmodelinglinepoint.h"
|
||||
#include "dialogs/dialognormal.h"
|
||||
#include "../../dialogs/dialognormal.h"
|
||||
|
||||
class VModelingNormal : public VModelingLinePoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vmodelingpoint.h"
|
||||
#include "container/vpointf.h"
|
||||
#include "../../container/vpointf.h"
|
||||
|
||||
const QString VModelingPoint::TagName = QStringLiteral("point");
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGPOINT_H
|
||||
|
||||
#include "vmodelingtool.h"
|
||||
#include "widgets/vgraphicssimpletextitem.h"
|
||||
#include "../../widgets/vgraphicssimpletextitem.h"
|
||||
|
||||
class VModelingPoint: public VModelingTool, public QGraphicsEllipseItem
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGPOINTOFCONTACT_H
|
||||
|
||||
#include "vmodelingpoint.h"
|
||||
#include "dialogs/dialogpointofcontact.h"
|
||||
#include "../../dialogs/dialogpointofcontact.h"
|
||||
|
||||
class VModelingPointOfContact : public VModelingPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGPOINTOFINTERSECTION_H
|
||||
|
||||
#include "vmodelingpoint.h"
|
||||
#include "dialogs/dialogpointofintersection.h"
|
||||
#include "../../dialogs/dialogpointofintersection.h"
|
||||
|
||||
class VModelingPointOfIntersection : public VModelingPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VMODELINGSHOULDERPOINT_H
|
||||
|
||||
#include "vmodelinglinepoint.h"
|
||||
#include "dialogs/dialogshoulderpoint.h"
|
||||
#include "../../dialogs/dialogshoulderpoint.h"
|
||||
|
||||
class VModelingShoulderPoint : public VModelingLinePoint
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vmodelingspline.h"
|
||||
#include "geometry/vspline.h"
|
||||
#include "../../geometry/vspline.h"
|
||||
|
||||
const QString VModelingSpline::TagName = QStringLiteral("spline");
|
||||
const QString VModelingSpline::ToolType = QStringLiteral("simple");
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
|
||||
#include "vmodelingtool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogspline.h"
|
||||
#include "widgets/vcontrolpointspline.h"
|
||||
#include "geometry/vsplinepath.h"
|
||||
#include "../../dialogs/dialogspline.h"
|
||||
#include "../../widgets/vcontrolpointspline.h"
|
||||
#include "../../geometry/vsplinepath.h"
|
||||
|
||||
class VModelingSpline:public VModelingTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
#include "vmodelingtool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogsplinepath.h"
|
||||
#include "widgets/vcontrolpointspline.h"
|
||||
#include "../../dialogs/dialogsplinepath.h"
|
||||
#include "../../widgets/vcontrolpointspline.h"
|
||||
|
||||
class VModelingSplinePath:public VModelingTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "vmodelingpoint.h"
|
||||
#include "../drawTools/vtooltriangle.h"
|
||||
#include "dialogs/dialogtriangle.h"
|
||||
#include "../../dialogs/dialogtriangle.h"
|
||||
|
||||
class VModelingTriangle : public VModelingPoint
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define VNODEPOINT_H
|
||||
|
||||
#include "vabstractnode.h"
|
||||
#include "widgets/vgraphicssimpletextitem.h"
|
||||
#include "../../widgets/vgraphicssimpletextitem.h"
|
||||
|
||||
class VNodePoint: public VAbstractNode, public QGraphicsEllipseItem
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "vabstracttool.h"
|
||||
#include <QGraphicsPathItem>
|
||||
#include "dialogs/dialogdetail.h"
|
||||
#include "../dialogs/dialogdetail.h"
|
||||
|
||||
class VToolDetail: public VAbstractTool, public QGraphicsPathItem
|
||||
{
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "vapplication.h"
|
||||
#include "exception/vexceptionobjecterror.h"
|
||||
#include "exception/vexceptionbadid.h"
|
||||
#include "exception/vexceptionconversionerror.h"
|
||||
#include "exception/vexceptionemptyparameter.h"
|
||||
#include "exception/vexceptionwrongparameterid.h"
|
||||
#include "../exception/vexceptionobjecterror.h"
|
||||
#include "../exception/vexceptionbadid.h"
|
||||
#include "../exception/vexceptionconversionerror.h"
|
||||
#include "../exception/vexceptionemptyparameter.h"
|
||||
#include "../exception/vexceptionwrongparameterid.h"
|
||||
|
||||
// reimplemented from QApplication so we can throw exceptions in slots
|
||||
bool VApplication::notify(QObject *receiver, QEvent *event)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <QGraphicsEllipseItem>
|
||||
#include <QObject>
|
||||
#include "geometry/vsplinepath.h"
|
||||
#include "../geometry/vsplinepath.h"
|
||||
|
||||
class VControlPointSpline : public QObject, public QGraphicsEllipseItem
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user