From 38abf5c9a0e32270b279535ee1d2a763680aaf62 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 18 Feb 2017 11:22:59 +0200 Subject: [PATCH] Removed redundant forward declaration. --HG-- branch : develop --- src/app/tape/tmainwindow.h | 2 -- src/app/valentina/core/vapplication.h | 2 -- src/app/valentina/core/vcmdexport.cpp | 1 + src/app/valentina/core/vcmdexport.h | 1 + src/app/valentina/dialogs/dialoghistory.h | 1 - src/app/valentina/dialogs/dialogincrements.h | 2 -- src/app/valentina/dialogs/dialoglayoutsettings.cpp | 1 + src/app/valentina/dialogs/dialoglayoutsettings.h | 3 +-- src/app/valentina/mainwindow.h | 1 - src/app/valentina/mainwindowsnogui.h | 2 -- src/app/valentina/options.h | 3 --- src/app/valentina/xml/vpattern.h | 1 - src/libs/fervor/fvupdater.h | 4 ---- src/libs/fervor/fvupdatewindow.cpp | 2 -- src/libs/fervor/fvupdatewindow.h | 1 - src/libs/qmuparser/qmuparserbase.h | 1 - src/libs/vdxf/dxflib/dl_dxf.h | 2 -- src/libs/vdxf/dxflib/dl_writer.h | 4 ---- src/libs/vdxf/vdxfengine.cpp | 10 ---------- src/libs/vdxf/vdxfengine.h | 11 ----------- src/libs/vdxf/vdxfpaintdevice.cpp | 2 -- src/libs/vdxf/vdxfpaintdevice.h | 1 - src/libs/vformat/vmeasurements.cpp | 2 -- src/libs/vformat/vmeasurements.h | 4 ---- src/libs/vgeometry/vabstractcubicbezier.h | 1 - src/libs/vgeometry/vabstractcubicbezierpath.cpp | 2 -- src/libs/vgeometry/vabstractcubicbezierpath.h | 2 -- src/libs/vgeometry/vabstractcurve.h | 3 --- src/libs/vgeometry/varc.cpp | 2 -- src/libs/vgeometry/varc.h | 2 -- src/libs/vgeometry/vcubicbezier.cpp | 2 -- src/libs/vgeometry/vcubicbezier.h | 1 - src/libs/vgeometry/vcubicbezierpath.h | 3 --- src/libs/vgeometry/vellipticalarc.h | 1 - src/libs/vgeometry/vpointf.h | 2 -- src/libs/vgeometry/vspline.cpp | 2 -- src/libs/vgeometry/vspline.h | 2 -- src/libs/vgeometry/vsplinepath.h | 1 - src/libs/vlayout/vabstractpiece.h | 1 - src/libs/vlayout/vbank.h | 1 - src/libs/vlayout/vbestsquare.cpp | 2 -- src/libs/vlayout/vbestsquare.h | 2 -- src/libs/vlayout/vcontour.h | 9 ++++----- src/libs/vlayout/vlayoutgenerator.cpp | 2 -- src/libs/vlayout/vlayoutgenerator.h | 1 - src/libs/vlayout/vlayoutpaper.cpp | 2 -- src/libs/vlayout/vlayoutpaper.h | 8 ++++---- src/libs/vlayout/vlayoutpiece.cpp | 4 ---- src/libs/vlayout/vlayoutpiece.h | 12 +----------- src/libs/vlayout/vposition.h | 6 ------ src/libs/vlayout/vtextmanager.h | 3 +-- src/libs/vmisc/abstracttest.cpp | 2 -- src/libs/vmisc/abstracttest.h | 2 -- src/libs/vmisc/backport/qmarginsf.h | 3 --- src/libs/vmisc/commandoptions.h | 2 -- src/libs/vmisc/def.h | 1 - src/libs/vmisc/qxtcsvmodel.cpp | 2 -- src/libs/vmisc/qxtcsvmodel.h | 3 --- src/libs/vmisc/vabstractapplication.cpp | 3 --- src/libs/vmisc/vabstractapplication.h | 4 ---- src/libs/vmisc/vcommonsettings.cpp | 2 -- src/libs/vmisc/vcommonsettings.h | 2 -- src/libs/vmisc/vsettings.cpp | 2 -- src/libs/vmisc/vsettings.h | 2 -- src/libs/vmisc/vtablesearch.h | 3 --- src/libs/vobj/vobjengine.h | 8 -------- src/libs/vobj/vobjpaintdevice.cpp | 2 -- src/libs/vobj/vobjpaintdevice.h | 1 - src/libs/vpatterndb/variables/vcurvevariable.h | 1 - src/libs/vpatterndb/variables/vincrement.h | 2 +- src/libs/vpatterndb/vcontainer.h | 12 ------------ src/libs/vpatterndb/vgrainlinegeometry.h | 2 -- src/libs/vpatterndb/vpatterninfogeometry.cpp | 2 -- src/libs/vpatterndb/vpatterninfogeometry.h | 2 -- src/libs/vpatterndb/vpatternpiecedata.cpp | 2 -- src/libs/vpatterndb/vpatternpiecedata.h | 2 -- src/libs/vpatterndb/vpiece.h | 8 +++----- src/libs/vpatterndb/vpiecenode.h | 1 - src/libs/vpatterndb/vpiecepath.h | 9 ++++----- src/libs/vpatterndb/vtranslatemeasurements.h | 4 ---- src/libs/vpropertyexplorer/checkablemessagebox.cpp | 5 ----- src/libs/vpropertyexplorer/checkablemessagebox.h | 3 --- .../vpropertyexplorer/plugins/vcolorproperty.cpp | 3 --- src/libs/vpropertyexplorer/plugins/vcolorproperty.h | 4 ---- .../plugins/vcolorpropertyeditor.cpp | 2 -- .../vpropertyexplorer/plugins/vcolorpropertyeditor.h | 5 ----- .../vpropertyexplorer/plugins/vemptyproperty.cpp | 3 --- src/libs/vpropertyexplorer/plugins/vemptyproperty.h | 6 ++---- src/libs/vpropertyexplorer/plugins/venumproperty.cpp | 3 --- src/libs/vpropertyexplorer/plugins/venumproperty.h | 4 ---- src/libs/vpropertyexplorer/plugins/vfileproperty.cpp | 2 -- src/libs/vpropertyexplorer/plugins/vfileproperty.h | 4 ---- .../plugins/vfilepropertyeditor.cpp | 6 ------ .../vpropertyexplorer/plugins/vfilepropertyeditor.h | 9 --------- .../vpropertyexplorer/plugins/vlinecolorproperty.cpp | 3 --- .../vpropertyexplorer/plugins/vlinecolorproperty.h | 4 ---- .../vpropertyexplorer/plugins/vlinetypeproperty.cpp | 3 --- .../vpropertyexplorer/plugins/vlinetypeproperty.h | 4 ---- .../vpropertyexplorer/plugins/vnumberproperty.cpp | 3 --- src/libs/vpropertyexplorer/plugins/vnumberproperty.h | 4 ---- .../vpropertyexplorer/plugins/vobjectproperty.cpp | 3 --- src/libs/vpropertyexplorer/plugins/vobjectproperty.h | 3 --- .../vpropertyexplorer/plugins/vpointfproperty.cpp | 2 -- src/libs/vpropertyexplorer/plugins/vpointfproperty.h | 2 -- .../vpropertyexplorer/plugins/vshortcutproperty.cpp | 2 -- .../vpropertyexplorer/plugins/vshortcutproperty.h | 4 ---- .../plugins/vshortcutpropertyeditor.cpp | 3 --- .../plugins/vshortcutpropertyeditor.h | 3 --- .../vpropertyexplorer/plugins/vstringproperty.cpp | 3 --- src/libs/vpropertyexplorer/plugins/vstringproperty.h | 4 ---- src/libs/vpropertyexplorer/plugins/vwidgetproperty.h | 1 - src/libs/vpropertyexplorer/vproperty.cpp | 5 ----- src/libs/vpropertyexplorer/vproperty.h | 5 ----- src/libs/vpropertyexplorer/vpropertydelegate.cpp | 3 --- src/libs/vpropertyexplorer/vpropertydelegate.h | 6 ------ src/libs/vpropertyexplorer/vpropertyfactorymanager.h | 2 -- .../vpropertyexplorer/vpropertyfactorymanager_p.h | 2 -- src/libs/vpropertyexplorer/vpropertyformview.cpp | 4 ---- src/libs/vpropertyexplorer/vpropertyformview.h | 6 ------ src/libs/vpropertyexplorer/vpropertyformview_p.h | 3 --- src/libs/vpropertyexplorer/vpropertyformwidget.cpp | 2 -- src/libs/vpropertyexplorer/vpropertyformwidget.h | 2 -- src/libs/vpropertyexplorer/vpropertymodel.h | 4 ---- src/libs/vpropertyexplorer/vpropertyset.h | 3 --- src/libs/vpropertyexplorer/vpropertytreeview.cpp | 2 -- src/libs/vpropertyexplorer/vpropertytreeview.h | 2 -- src/libs/vpropertyexplorer/vpropertytreeview_p.h | 2 -- src/libs/vpropertyexplorer/vserializedproperty.h | 6 ------ .../vpropertyexplorer/vstandardpropertyfactory.h | 1 - .../dialogs/support/dialogeditwrongformula.cpp | 2 -- .../vtools/dialogs/support/dialogeditwrongformula.h | 6 ------ src/libs/vtools/dialogs/support/dialogundo.cpp | 3 --- src/libs/vtools/dialogs/support/dialogundo.h | 3 --- src/libs/vtools/dialogs/tools/dialogalongline.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogalongline.h | 4 ---- src/libs/vtools/dialogs/tools/dialogarc.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogarc.h | 5 ----- .../vtools/dialogs/tools/dialogarcwithlength.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogarcwithlength.h | 5 ----- src/libs/vtools/dialogs/tools/dialogbisector.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogbisector.h | 4 ---- src/libs/vtools/dialogs/tools/dialogcubicbezier.cpp | 2 -- src/libs/vtools/dialogs/tools/dialogcubicbezier.h | 3 --- .../vtools/dialogs/tools/dialogcubicbezierpath.h | 3 --- .../dialogs/tools/dialogcurveintersectaxis.cpp | 3 --- .../vtools/dialogs/tools/dialogcurveintersectaxis.h | 4 ---- src/libs/vtools/dialogs/tools/dialogcutarc.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogcutarc.h | 4 ---- src/libs/vtools/dialogs/tools/dialogcutspline.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogcutspline.h | 4 ---- .../vtools/dialogs/tools/dialogcutsplinepath.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogcutsplinepath.h | 4 ---- .../vtools/dialogs/tools/dialogellipticalarc.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogellipticalarc.h | 5 ----- src/libs/vtools/dialogs/tools/dialogendline.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogendline.h | 4 ---- src/libs/vtools/dialogs/tools/dialogflippingbyaxis.h | 3 --- src/libs/vtools/dialogs/tools/dialogflippingbyline.h | 3 --- src/libs/vtools/dialogs/tools/dialoggroup.cpp | 3 --- src/libs/vtools/dialogs/tools/dialoggroup.h | 3 --- src/libs/vtools/dialogs/tools/dialogheight.cpp | 2 -- src/libs/vtools/dialogs/tools/dialogheight.h | 3 --- src/libs/vtools/dialogs/tools/dialogline.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogline.h | 3 --- .../vtools/dialogs/tools/dialoglineintersect.cpp | 2 -- src/libs/vtools/dialogs/tools/dialoglineintersect.h | 3 --- .../vtools/dialogs/tools/dialoglineintersectaxis.cpp | 3 --- .../vtools/dialogs/tools/dialoglineintersectaxis.h | 4 ---- src/libs/vtools/dialogs/tools/dialogmove.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogmove.h | 5 ----- src/libs/vtools/dialogs/tools/dialognormal.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialognormal.h | 4 ---- .../dialogs/tools/dialogpointfromarcandtangent.cpp | 3 --- .../dialogs/tools/dialogpointfromarcandtangent.h | 3 --- .../tools/dialogpointfromcircleandtangent.cpp | 4 ---- .../dialogs/tools/dialogpointfromcircleandtangent.h | 5 ----- .../vtools/dialogs/tools/dialogpointofcontact.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogpointofcontact.h | 4 ---- .../dialogs/tools/dialogpointofintersection.cpp | 3 --- .../vtools/dialogs/tools/dialogpointofintersection.h | 3 --- .../dialogs/tools/dialogpointofintersectionarcs.cpp | 3 --- .../dialogs/tools/dialogpointofintersectionarcs.h | 3 --- .../tools/dialogpointofintersectioncircles.cpp | 4 ---- .../dialogs/tools/dialogpointofintersectioncircles.h | 5 ----- .../tools/dialogpointofintersectioncurves.cpp | 3 --- .../dialogs/tools/dialogpointofintersectioncurves.h | 3 --- src/libs/vtools/dialogs/tools/dialogrotation.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogrotation.h | 5 ----- .../vtools/dialogs/tools/dialogshoulderpoint.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogshoulderpoint.h | 4 ---- src/libs/vtools/dialogs/tools/dialogsinglepoint.cpp | 4 ---- src/libs/vtools/dialogs/tools/dialogsinglepoint.h | 4 ---- src/libs/vtools/dialogs/tools/dialogspline.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogspline.h | 5 ----- src/libs/vtools/dialogs/tools/dialogsplinepath.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogsplinepath.h | 5 ----- src/libs/vtools/dialogs/tools/dialogtool.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogtool.h | 10 ---------- src/libs/vtools/dialogs/tools/dialogtriangle.cpp | 3 --- src/libs/vtools/dialogs/tools/dialogtriangle.h | 3 --- src/libs/vtools/dialogs/tools/dialogtruedarts.cpp | 2 -- src/libs/vtools/dialogs/tools/dialogtruedarts.h | 5 ----- src/libs/vtools/dialogs/tools/dialoguniondetails.cpp | 2 -- src/libs/vtools/dialogs/tools/dialoguniondetails.h | 3 --- .../operation/flipping/vtoolflippingbyaxis.cpp | 5 ----- .../operation/flipping/vtoolflippingbyline.cpp | 5 ----- .../tools/drawTools/operation/vabstractoperation.h | 9 --------- .../vtools/tools/drawTools/operation/vtoolmove.cpp | 5 ----- .../vtools/tools/drawTools/operation/vtoolmove.h | 7 ------- .../vtools/tools/drawTools/operation/vtoolrotation.h | 7 ------- .../tools/drawTools/toolcurve/vabstractspline.cpp | 6 ------ .../tools/drawTools/toolcurve/vabstractspline.h | 9 --------- .../vtools/tools/drawTools/toolcurve/vtoolarc.cpp | 3 --- src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.h | 6 ------ .../tools/drawTools/toolcurve/vtoolarcwithlength.cpp | 3 --- .../tools/drawTools/toolcurve/vtoolarcwithlength.h | 6 ------ .../tools/drawTools/toolcurve/vtoolcubicbezier.cpp | 3 --- .../tools/drawTools/toolcurve/vtoolcubicbezier.h | 6 ------ .../drawTools/toolcurve/vtoolcubicbezierpath.cpp | 3 --- .../tools/drawTools/toolcurve/vtoolcubicbezierpath.h | 7 ------- .../tools/drawTools/toolcurve/vtoolellipticalarc.cpp | 3 --- .../tools/drawTools/toolcurve/vtoolellipticalarc.h | 6 ------ .../vtools/tools/drawTools/toolcurve/vtoolspline.cpp | 5 ----- .../vtools/tools/drawTools/toolcurve/vtoolspline.h | 10 ---------- .../tools/drawTools/toolcurve/vtoolsplinepath.cpp | 5 ----- .../tools/drawTools/toolcurve/vtoolsplinepath.h | 11 ----------- .../toolpoint/tooldoublepoint/vtooldoublepoint.cpp | 4 ---- .../toolpoint/tooldoublepoint/vtooldoublepoint.h | 9 --------- .../toolpoint/tooldoublepoint/vtooltruedarts.cpp | 3 --- .../toolpoint/tooldoublepoint/vtooltruedarts.h | 7 ------- .../toolpoint/toolsinglepoint/toolcut/vtoolcut.h | 1 - .../toolsinglepoint/toolcut/vtoolcutarc.cpp | 3 --- .../toolpoint/toolsinglepoint/toolcut/vtoolcutarc.h | 6 ------ .../toolsinglepoint/toolcut/vtoolcutspline.cpp | 3 --- .../toolsinglepoint/toolcut/vtoolcutspline.h | 6 ------ .../toolsinglepoint/toolcut/vtoolcutsplinepath.cpp | 3 --- .../toolsinglepoint/toolcut/vtoolcutsplinepath.h | 8 -------- .../toolsinglepoint/toollinepoint/vtoolalongline.cpp | 2 -- .../toolsinglepoint/toollinepoint/vtoolalongline.h | 6 ------ .../toolsinglepoint/toollinepoint/vtoolbisector.cpp | 3 --- .../toolsinglepoint/toollinepoint/vtoolbisector.h | 7 ------- .../toollinepoint/vtoolcurveintersectaxis.cpp | 3 --- .../toollinepoint/vtoolcurveintersectaxis.h | 9 --------- .../toolsinglepoint/toollinepoint/vtoolendline.cpp | 3 --- .../toolsinglepoint/toollinepoint/vtoolendline.h | 6 ------ .../toolsinglepoint/toollinepoint/vtoolheight.cpp | 4 ---- .../toolsinglepoint/toollinepoint/vtoolheight.h | 8 -------- .../toollinepoint/vtoollineintersectaxis.cpp | 3 --- .../toollinepoint/vtoollineintersectaxis.h | 8 -------- .../toolsinglepoint/toollinepoint/vtoollinepoint.cpp | 1 - .../toolsinglepoint/toollinepoint/vtoollinepoint.h | 4 ---- .../toolsinglepoint/toollinepoint/vtoolnormal.cpp | 3 --- .../toolsinglepoint/toollinepoint/vtoolnormal.h | 7 ------- .../toollinepoint/vtoolshoulderpoint.cpp | 3 --- .../toollinepoint/vtoolshoulderpoint.h | 7 ------- .../toolpoint/toolsinglepoint/vtoolbasepoint.cpp | 5 ----- .../toolpoint/toolsinglepoint/vtoolbasepoint.h | 8 -------- .../toolpoint/toolsinglepoint/vtoollineintersect.cpp | 2 -- .../toolpoint/toolsinglepoint/vtoollineintersect.h | 6 ------ .../toolsinglepoint/vtoolpointfromarcandtangent.cpp | 3 --- .../toolsinglepoint/vtoolpointfromarcandtangent.h | 8 -------- .../vtoolpointfromcircleandtangent.cpp | 3 --- .../toolsinglepoint/vtoolpointfromcircleandtangent.h | 7 ------- .../toolsinglepoint/vtoolpointofcontact.cpp | 3 --- .../toolpoint/toolsinglepoint/vtoolpointofcontact.h | 7 ------- .../toolsinglepoint/vtoolpointofintersection.cpp | 2 -- .../toolsinglepoint/vtoolpointofintersection.h | 6 ------ .../toolsinglepoint/vtoolpointofintersectionarcs.cpp | 2 -- .../toolsinglepoint/vtoolpointofintersectionarcs.h | 8 -------- .../vtoolpointofintersectioncircles.cpp | 3 --- .../vtoolpointofintersectioncircles.h | 7 ------- .../vtoolpointofintersectioncurves.cpp | 3 --- .../toolsinglepoint/vtoolpointofintersectioncurves.h | 7 ------- .../toolpoint/toolsinglepoint/vtoolsinglepoint.cpp | 6 ------ .../toolpoint/toolsinglepoint/vtoolsinglepoint.h | 11 ----------- .../toolpoint/toolsinglepoint/vtooltriangle.cpp | 3 --- .../toolpoint/toolsinglepoint/vtooltriangle.h | 7 ------- .../tools/drawTools/toolpoint/vabstractpoint.h | 3 --- src/libs/vtools/tools/drawTools/vdrawtool.cpp | 2 -- src/libs/vtools/tools/drawTools/vdrawtool.h | 5 ----- src/libs/vtools/tools/drawTools/vtoolline.cpp | 4 ---- src/libs/vtools/tools/drawTools/vtoolline.h | 8 -------- src/libs/vtools/tools/nodeDetails/vabstractnode.cpp | 2 -- src/libs/vtools/tools/nodeDetails/vabstractnode.h | 4 ---- src/libs/vtools/tools/nodeDetails/vnodearc.h | 2 -- src/libs/vtools/tools/nodeDetails/vnodepoint.cpp | 4 ---- src/libs/vtools/tools/nodeDetails/vnodepoint.h | 11 ----------- src/libs/vtools/tools/nodeDetails/vnodespline.cpp | 2 -- src/libs/vtools/tools/nodeDetails/vnodespline.h | 2 -- .../vtools/tools/nodeDetails/vnodesplinepath.cpp | 2 -- src/libs/vtools/tools/nodeDetails/vnodesplinepath.h | 2 -- src/libs/vtools/tools/vabstracttool.cpp | 2 -- src/libs/vtools/tools/vabstracttool.h | 12 ------------ src/libs/vtools/tools/vdatatool.h | 2 -- src/libs/vtools/tools/vtoolseamallowance.h | 2 -- src/libs/vtools/tools/vtooluniondetails.cpp | 4 ---- src/libs/vtools/tools/vtooluniondetails.h | 6 ------ src/libs/vtools/undocommands/adddetnode.cpp | 3 --- src/libs/vtools/undocommands/adddetnode.h | 4 ---- src/libs/vtools/undocommands/addgroup.cpp | 3 --- src/libs/vtools/undocommands/addgroup.h | 4 ---- src/libs/vtools/undocommands/addpatternpiece.cpp | 3 --- src/libs/vtools/undocommands/addpatternpiece.h | 4 ---- src/libs/vtools/undocommands/addpiece.h | 5 ----- src/libs/vtools/undocommands/addtocalc.cpp | 3 --- src/libs/vtools/undocommands/addtocalc.h | 4 ---- src/libs/vtools/undocommands/deletepatternpiece.cpp | 2 -- src/libs/vtools/undocommands/deletepatternpiece.h | 3 --- src/libs/vtools/undocommands/deletepiece.cpp | 2 -- src/libs/vtools/undocommands/deletepiece.h | 4 ---- src/libs/vtools/undocommands/delgroup.cpp | 2 -- src/libs/vtools/undocommands/delgroup.h | 3 --- src/libs/vtools/undocommands/deltool.cpp | 2 -- src/libs/vtools/undocommands/deltool.h | 4 ---- .../vtools/undocommands/label/moveabstractlabel.cpp | 3 --- .../vtools/undocommands/label/moveabstractlabel.h | 3 --- .../vtools/undocommands/label/movedoublelabel.cpp | 2 -- src/libs/vtools/undocommands/label/movedoublelabel.h | 3 --- src/libs/vtools/undocommands/label/movelabel.cpp | 2 -- src/libs/vtools/undocommands/label/movelabel.h | 3 --- .../vtools/undocommands/label/operationmovelabel.cpp | 2 -- .../vtools/undocommands/label/operationmovelabel.h | 4 ---- src/libs/vtools/undocommands/movepiece.cpp | 3 --- src/libs/vtools/undocommands/movepiece.h | 3 --- src/libs/vtools/undocommands/movespline.cpp | 2 -- src/libs/vtools/undocommands/movespline.h | 2 -- src/libs/vtools/undocommands/movesplinepath.cpp | 2 -- src/libs/vtools/undocommands/movesplinepath.h | 2 -- src/libs/vtools/undocommands/movespoint.cpp | 2 -- src/libs/vtools/undocommands/movespoint.h | 2 -- src/libs/vtools/undocommands/renamepp.cpp | 2 -- src/libs/vtools/undocommands/renamepp.h | 4 ---- src/libs/vtools/undocommands/savepieceoptions.cpp | 3 --- src/libs/vtools/undocommands/savepieceoptions.h | 3 --- .../vtools/undocommands/savepiecepathoptions.cpp | 3 --- src/libs/vtools/undocommands/savepiecepathoptions.h | 3 --- src/libs/vtools/undocommands/savetooloptions.cpp | 3 --- src/libs/vtools/undocommands/savetooloptions.h | 4 ---- src/libs/vtools/undocommands/togglepieceinlayout.cpp | 2 -- src/libs/vtools/undocommands/togglepieceinlayout.h | 4 ---- src/libs/vtools/undocommands/vundocommand.cpp | 4 ---- src/libs/vtools/undocommands/vundocommand.h | 5 ----- .../visualization/line/operation/vistoolmove.h | 3 --- .../visualization/line/operation/vistoolrotation.cpp | 2 -- .../visualization/line/operation/vistoolrotation.h | 3 --- src/libs/vtools/visualization/line/visline.cpp | 2 -- src/libs/vtools/visualization/line/visline.h | 5 ----- .../vtools/visualization/line/vistoolalongline.h | 2 -- src/libs/vtools/visualization/line/vistoolbisector.h | 2 -- .../visualization/line/vistoolcurveintersectaxis.h | 3 --- src/libs/vtools/visualization/line/vistoolendline.h | 3 --- src/libs/vtools/visualization/line/vistoolheight.h | 3 --- src/libs/vtools/visualization/line/vistoolline.cpp | 2 -- src/libs/vtools/visualization/line/vistoolline.h | 3 --- .../vtools/visualization/line/vistoollineintersect.h | 2 -- .../visualization/line/vistoollineintersectaxis.h | 4 ---- src/libs/vtools/visualization/line/vistoolnormal.h | 2 -- .../line/vistoolpointfromarcandtangent.cpp | 2 -- .../line/vistoolpointfromarcandtangent.h | 4 ---- .../line/vistoolpointfromcircleandtangent.cpp | 2 -- .../line/vistoolpointfromcircleandtangent.h | 3 --- .../visualization/line/vistoolpointofcontact.h | 2 -- .../visualization/line/vistoolpointofintersection.h | 3 --- .../line/vistoolpointofintersectionarcs.h | 2 -- .../line/vistoolpointofintersectioncircles.h | 2 -- .../vtools/visualization/line/vistoolshoulderpoint.h | 2 -- .../vtools/visualization/line/vistooltriangle.cpp | 2 -- src/libs/vtools/visualization/line/vistooltriangle.h | 4 ---- .../vtools/visualization/line/vistooltruedarts.h | 2 -- src/libs/vtools/visualization/path/vispath.h | 2 -- src/libs/vtools/visualization/path/vistoolarc.h | 2 -- .../vtools/visualization/path/vistoolarcwithlength.h | 2 -- .../vtools/visualization/path/vistoolcubicbezier.h | 2 -- .../visualization/path/vistoolcubicbezierpath.cpp | 2 -- .../visualization/path/vistoolcubicbezierpath.h | 3 --- src/libs/vtools/visualization/path/vistoolcutarc.h | 2 -- .../vtools/visualization/path/vistoolcutspline.h | 2 -- .../vtools/visualization/path/vistoolcutsplinepath.h | 2 -- .../vtools/visualization/path/vistoolellipticalarc.h | 2 -- .../path/vistoolpointofintersectioncurves.h | 2 -- src/libs/vtools/visualization/path/vistoolspline.h | 2 -- .../vtools/visualization/path/vistoolsplinepath.h | 2 -- src/libs/vtools/visualization/visualization.cpp | 3 --- src/libs/vwidgets/vabstractmainwindow.cpp | 2 -- src/libs/vwidgets/vabstractmainwindow.h | 2 -- src/libs/vwidgets/vabstractsimple.h | 1 - src/libs/vwidgets/vcontrolpointspline.cpp | 4 ---- src/libs/vwidgets/vcontrolpointspline.h | 5 ----- src/libs/vwidgets/vgrainlineitem.h | 5 ----- src/libs/vwidgets/vgraphicssimpletextitem.cpp | 5 ----- src/libs/vwidgets/vgraphicssimpletextitem.h | 6 ------ src/libs/vwidgets/vmaingraphicsscene.cpp | 3 --- src/libs/vwidgets/vmaingraphicsscene.h | 5 ----- src/libs/vwidgets/vmaingraphicsview.cpp | 3 --- src/libs/vwidgets/vmaingraphicsview.h | 8 -------- src/libs/vwidgets/vnobrushscalepathitem.cpp | 4 ---- src/libs/vwidgets/vnobrushscalepathitem.h | 5 ----- src/libs/vwidgets/vsimplecurve.cpp | 4 ---- src/libs/vwidgets/vsimplecurve.h | 4 ---- src/libs/vwidgets/vsimplepoint.cpp | 5 ----- src/libs/vwidgets/vsimplepoint.h | 5 ----- src/libs/vwidgets/vtextgraphicsitem.cpp | 7 ------- src/libs/vwidgets/vtextgraphicsitem.h | 12 ------------ src/libs/vwidgets/vwidgetpopup.h | 3 --- 404 files changed, 24 insertions(+), 1456 deletions(-) diff --git a/src/app/tape/tmainwindow.h b/src/app/tape/tmainwindow.h index f83ac270e..3b4d8efd2 100644 --- a/src/app/tape/tmainwindow.h +++ b/src/app/tape/tmainwindow.h @@ -42,8 +42,6 @@ namespace Ui class TMainWindow; } -class QComboBox; -class QTableWidgetItem; class QLabel; class TMainWindow : public QMainWindow diff --git a/src/app/valentina/core/vapplication.h b/src/app/valentina/core/vapplication.h index ccfad04fd..1043b4bc9 100644 --- a/src/app/valentina/core/vapplication.h +++ b/src/app/valentina/core/vapplication.h @@ -37,9 +37,7 @@ #include "vcmdexport.h" class VApplication;// use in define -class VMainGraphicsView; class VPattern; -class QFile; #if defined(qApp) #undef qApp diff --git a/src/app/valentina/core/vcmdexport.cpp b/src/app/valentina/core/vcmdexport.cpp index cbd9c17c0..4c28822b1 100644 --- a/src/app/valentina/core/vcmdexport.cpp +++ b/src/app/valentina/core/vcmdexport.cpp @@ -33,6 +33,7 @@ #include "../vformat/vmeasurements.h" #include "../vmisc/commandoptions.h" #include "../vmisc/vsettings.h" +#include "../vlayout/vlayoutgenerator.h" #include VCommandLinePtr VCommandLine::instance = nullptr; diff --git a/src/app/valentina/core/vcmdexport.h b/src/app/valentina/core/vcmdexport.h index 91f78645e..4e44de2c8 100644 --- a/src/app/valentina/core/vcmdexport.h +++ b/src/app/valentina/core/vcmdexport.h @@ -46,6 +46,7 @@ class VCommandLine; typedef std::shared_ptr VCommandLinePtr; typedef QList VCommandLineOptions; +typedef std::shared_ptr VLayoutGeneratorPtr; //@brief: class used to install export command line options and parse their values //QCommandLineParser* object must exists until this object alive diff --git a/src/app/valentina/dialogs/dialoghistory.h b/src/app/valentina/dialogs/dialoghistory.h index fbe5bba14..a3d130c2f 100644 --- a/src/app/valentina/dialogs/dialoghistory.h +++ b/src/app/valentina/dialogs/dialoghistory.h @@ -34,7 +34,6 @@ #include class VPattern; -class VToolRecord; namespace Ui { diff --git a/src/app/valentina/dialogs/dialogincrements.h b/src/app/valentina/dialogs/dialogincrements.h index 8de446295..4403c123f 100644 --- a/src/app/valentina/dialogs/dialogincrements.h +++ b/src/app/valentina/dialogs/dialogincrements.h @@ -34,8 +34,6 @@ #include "../vmisc/vtablesearch.h" class VIndividualMeasurements; -class QTableWidget; -class QTableWidgetItem; namespace Ui { diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.cpp b/src/app/valentina/dialogs/dialoglayoutsettings.cpp index cbe13ec07..0d808619e 100644 --- a/src/app/valentina/dialogs/dialoglayoutsettings.cpp +++ b/src/app/valentina/dialogs/dialoglayoutsettings.cpp @@ -32,6 +32,7 @@ #include "../ifc/xml/vdomdocument.h" #include "../vmisc/vsettings.h" #include "../vmisc/vmath.h" +#include "../vlayout/vlayoutgenerator.h" #include #include diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.h b/src/app/valentina/dialogs/dialoglayoutsettings.h index 4350baf55..289fb0cb1 100644 --- a/src/app/valentina/dialogs/dialoglayoutsettings.h +++ b/src/app/valentina/dialogs/dialoglayoutsettings.h @@ -34,7 +34,6 @@ #include "../vlayout/vbank.h" #include "../ifc/ifcdef.h" -#include "../vlayout/vlayoutgenerator.h" #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) # include "../vmisc/backport/qmarginsf.h" @@ -67,7 +66,7 @@ public: Roll44in = 11, Custom = 12}; explicit DialogLayoutSettings(VLayoutGenerator *generator, QWidget *parent = nullptr, bool disableSettings = false); - ~DialogLayoutSettings(); + virtual ~DialogLayoutSettings(); qreal GetPaperHeight() const; void SetPaperHeight(qreal value); diff --git a/src/app/valentina/mainwindow.h b/src/app/valentina/mainwindow.h index 61e5999f1..d6d27cf97 100644 --- a/src/app/valentina/mainwindow.h +++ b/src/app/valentina/mainwindow.h @@ -42,7 +42,6 @@ namespace Ui class VToolOptionsPropertyBrowser; class VMeasurements; -class VMainGraphicsScene; class QFileSystemWatcher; class QLabel; class DialogIncrements; diff --git a/src/app/valentina/mainwindowsnogui.h b/src/app/valentina/mainwindowsnogui.h index 74c78b8f1..0f8ffcb07 100644 --- a/src/app/valentina/mainwindowsnogui.h +++ b/src/app/valentina/mainwindowsnogui.h @@ -38,9 +38,7 @@ #include "../vlayout/vlayoutgenerator.h" #include "../vwidgets/vabstractmainwindow.h" - class QGraphicsScene; -class QPrinter; struct PosterData; class MainWindowsNoGUI : public VAbstractMainWindow diff --git a/src/app/valentina/options.h b/src/app/valentina/options.h index b12577d7a..80e0264cc 100644 --- a/src/app/valentina/options.h +++ b/src/app/valentina/options.h @@ -44,9 +44,6 @@ #endif /*Q_OS_WIN32*/ -class QString; -class QStringList; - enum class Contour : char { OpenContour, CloseContour }; #endif // OPTIONS_H diff --git a/src/app/valentina/xml/vpattern.h b/src/app/valentina/xml/vpattern.h index 1c0fb2f3f..8324f1b8f 100644 --- a/src/app/valentina/xml/vpattern.h +++ b/src/app/valentina/xml/vpattern.h @@ -34,7 +34,6 @@ #include "../vpatterndb/vcontainer.h" #include "../ifc/xml/vpatternconverter.h" -class VDataTool; class VMainGraphicsScene; class VNodeDetail; diff --git a/src/libs/fervor/fvupdater.h b/src/libs/fervor/fvupdater.h index c24a09d34..da57bea3f 100644 --- a/src/libs/fervor/fvupdater.h +++ b/src/libs/fervor/fvupdater.h @@ -35,10 +35,6 @@ #include "fvavailableupdate.h" #include "fvupdatewindow.h" -class FvAvailableUpdate; -class FvUpdateWindow; -class QNetworkReply; - extern const QString defaultFeedURL; class FvUpdater : public QObject diff --git a/src/libs/fervor/fvupdatewindow.cpp b/src/libs/fervor/fvupdatewindow.cpp index 964369a53..88af5b4a8 100644 --- a/src/libs/fervor/fvupdatewindow.cpp +++ b/src/libs/fervor/fvupdatewindow.cpp @@ -31,8 +31,6 @@ #include "fvupdater.h" #include "ui_fvupdatewindow.h" -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- FvUpdateWindow::FvUpdateWindow(QWidget *parent) : QDialog(parent), diff --git a/src/libs/fervor/fvupdatewindow.h b/src/libs/fervor/fvupdatewindow.h index b27378f54..50fe5f31f 100644 --- a/src/libs/fervor/fvupdatewindow.h +++ b/src/libs/fervor/fvupdatewindow.h @@ -29,7 +29,6 @@ #include class QGraphicsScene; -class QWidget; namespace Ui { diff --git a/src/libs/qmuparser/qmuparserbase.h b/src/libs/qmuparser/qmuparserbase.h index 45d263222..f0bde876e 100644 --- a/src/libs/qmuparser/qmuparserbase.h +++ b/src/libs/qmuparser/qmuparserbase.h @@ -43,7 +43,6 @@ #include "qmuparsertoken.h" #include "qmuparsertokenreader.h" -class QStringList; template class QStack; namespace qmu diff --git a/src/libs/vdxf/dxflib/dl_dxf.h b/src/libs/vdxf/dxflib/dl_dxf.h index 2197513e2..5284544ab 100644 --- a/src/libs/vdxf/dxflib/dl_dxf.h +++ b/src/libs/vdxf/dxflib/dl_dxf.h @@ -46,8 +46,6 @@ #endif class DL_CreationInterface; -class DL_WriterA; - #define DL_VERSION "3.12.2.0" diff --git a/src/libs/vdxf/dxflib/dl_writer.h b/src/libs/vdxf/dxflib/dl_writer.h index b6243cb9c..82316c3cf 100644 --- a/src/libs/vdxf/dxflib/dl_writer.h +++ b/src/libs/vdxf/dxflib/dl_writer.h @@ -46,10 +46,6 @@ #include "dl_attributes.h" #include "dl_codes.h" -class DL_Attributes; - - - /** * Defines interface for writing low level DXF constructs to * a file. Implementation is defined in derived classes that write diff --git a/src/libs/vdxf/vdxfengine.cpp b/src/libs/vdxf/vdxfengine.cpp index 2ba90f46e..734532f19 100644 --- a/src/libs/vdxf/vdxfengine.cpp +++ b/src/libs/vdxf/vdxfengine.cpp @@ -54,16 +54,6 @@ #include "dxflib/dl_entities.h" #include "dxflib/dl_writer_ascii.h" -class QLine; -class QLineF; -class QPaintDevice; -class QPixmap; -class QPoint; -class QPointF; -class QPolygonF; -class QRect; -class QRectF; - //--------------------------------------------------------------------------------------------------------------------- static inline QPaintEngine::PaintEngineFeatures svgEngineFeatures() { diff --git a/src/libs/vdxf/vdxfengine.h b/src/libs/vdxf/vdxfengine.h index 68e6ee3f6..10b4b368f 100644 --- a/src/libs/vdxf/vdxfengine.h +++ b/src/libs/vdxf/vdxfengine.h @@ -43,17 +43,6 @@ #include "dxfdef.h" #include "dxflib/dl_dxf.h" -class DL_Dxf; -class DL_WriterA; -class QLine; -class QLineF; -class QPaintDevice; -class QPainterPath; -class QPixmap; -class QPoint; -class QPointF; -class QRect; -class QRectF; class QTextStream; class VDxfEngine : public QPaintEngine diff --git a/src/libs/vdxf/vdxfpaintdevice.cpp b/src/libs/vdxf/vdxfpaintdevice.cpp index 35b7bd714..f24090f12 100644 --- a/src/libs/vdxf/vdxfpaintdevice.cpp +++ b/src/libs/vdxf/vdxfpaintdevice.cpp @@ -33,8 +33,6 @@ #include "vdxfengine.h" -class QPaintEngine; - //--------------------------------------------------------------------------------------------------------------------- VDxfPaintDevice::VDxfPaintDevice() :QPaintDevice(), engine(new VDxfEngine()), fileName() diff --git a/src/libs/vdxf/vdxfpaintdevice.h b/src/libs/vdxf/vdxfpaintdevice.h index 04bce5647..643c79f03 100644 --- a/src/libs/vdxf/vdxfpaintdevice.h +++ b/src/libs/vdxf/vdxfpaintdevice.h @@ -38,7 +38,6 @@ #include "dxfdef.h" #include "dxflib/../dxfdef.h" -class QPaintEngine; class VDxfEngine; class VDxfPaintDevice : public QPaintDevice diff --git a/src/libs/vformat/vmeasurements.cpp b/src/libs/vformat/vmeasurements.cpp index 288fef775..1abd8b8db 100644 --- a/src/libs/vformat/vmeasurements.cpp +++ b/src/libs/vformat/vmeasurements.cpp @@ -53,8 +53,6 @@ #include "../vpatterndb/variables/vmeasurement.h" #include "../vpatterndb/vcontainer.h" -class QDate; - const QString VMeasurements::TagVST = QStringLiteral("vst"); const QString VMeasurements::TagVIT = QStringLiteral("vit"); const QString VMeasurements::TagBodyMeasurements = QStringLiteral("body-measurements"); diff --git a/src/libs/vformat/vmeasurements.h b/src/libs/vformat/vmeasurements.h index 0ecb8b86c..411d5198c 100644 --- a/src/libs/vformat/vmeasurements.h +++ b/src/libs/vformat/vmeasurements.h @@ -40,10 +40,6 @@ #include "../vmisc/def.h" #include "../vpatterndb/vcontainer.h" -class QDate; -class QDomElement; -class VContainer; - enum class GenderType : char { Male, Female, Unknown }; class VMeasurements : public VDomDocument diff --git a/src/libs/vgeometry/vabstractcubicbezier.h b/src/libs/vgeometry/vabstractcubicbezier.h index 1e30d698e..3a9a9b17e 100644 --- a/src/libs/vgeometry/vabstractcubicbezier.h +++ b/src/libs/vgeometry/vabstractcubicbezier.h @@ -39,7 +39,6 @@ #include "vabstractbezier.h" #include "vgeometrydef.h" -class QPointF; class VPointF; class VAbstractCubicBezier : public VAbstractBezier diff --git a/src/libs/vgeometry/vabstractcubicbezierpath.cpp b/src/libs/vgeometry/vabstractcubicbezierpath.cpp index 5c56a8d56..e9542fa8d 100644 --- a/src/libs/vgeometry/vabstractcubicbezierpath.cpp +++ b/src/libs/vgeometry/vabstractcubicbezierpath.cpp @@ -36,8 +36,6 @@ #include "vpointf.h" #include "vspline.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VAbstractCubicBezierPath::VAbstractCubicBezierPath(const GOType &type, const quint32 &idObject, const Draw &mode) : VAbstractBezier(type, idObject, mode) diff --git a/src/libs/vgeometry/vabstractcubicbezierpath.h b/src/libs/vgeometry/vabstractcubicbezierpath.h index f1caa1648..6f7586e84 100644 --- a/src/libs/vgeometry/vabstractcubicbezierpath.h +++ b/src/libs/vgeometry/vabstractcubicbezierpath.h @@ -39,8 +39,6 @@ #include "vabstractbezier.h" #include "vgeometrydef.h" -class QPainterPath; -class QPointF; class VPointF; class VSpline; class VSplinePoint; diff --git a/src/libs/vgeometry/vabstractcurve.h b/src/libs/vgeometry/vabstractcurve.h index 6cad2bb9c..ebb17cc16 100644 --- a/src/libs/vgeometry/vabstractcurve.h +++ b/src/libs/vgeometry/vabstractcurve.h @@ -42,11 +42,8 @@ #include "vgeometrydef.h" #include "vgobject.h" -class QPointF; - enum class PathDirection : char { Hide, Show }; -class QLineF; class QPainterPath; class VAbstractCurveData; diff --git a/src/libs/vgeometry/varc.cpp b/src/libs/vgeometry/varc.cpp index 6420a1c2b..abfab0e62 100644 --- a/src/libs/vgeometry/varc.cpp +++ b/src/libs/vgeometry/varc.cpp @@ -38,8 +38,6 @@ #include "varc_p.h" #include "vspline.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief VArc default constructor. diff --git a/src/libs/vgeometry/varc.h b/src/libs/vgeometry/varc.h index bd7c276e2..38e905e6c 100644 --- a/src/libs/vgeometry/varc.h +++ b/src/libs/vgeometry/varc.h @@ -42,8 +42,6 @@ #include "vgeometrydef.h" #include "vpointf.h" -class QPainterPath; -class QPointF; class VArcData; /** diff --git a/src/libs/vgeometry/vcubicbezier.cpp b/src/libs/vgeometry/vcubicbezier.cpp index 551db1f03..fd40ff719 100644 --- a/src/libs/vgeometry/vcubicbezier.cpp +++ b/src/libs/vgeometry/vcubicbezier.cpp @@ -32,8 +32,6 @@ #include "vcubicbezier_p.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VCubicBezier::VCubicBezier() : VAbstractCubicBezier(GOType::CubicBezier), d(new VCubicBezierData) diff --git a/src/libs/vgeometry/vcubicbezier.h b/src/libs/vgeometry/vcubicbezier.h index 71e952f8a..ab50a72b0 100644 --- a/src/libs/vgeometry/vcubicbezier.h +++ b/src/libs/vgeometry/vcubicbezier.h @@ -41,7 +41,6 @@ #include "vgeometrydef.h" #include "vpointf.h" -class QPointF; class VCubicBezierData; class VCubicBezier : public VAbstractCubicBezier diff --git a/src/libs/vgeometry/vcubicbezierpath.h b/src/libs/vgeometry/vcubicbezierpath.h index 93fda4cb7..4439e077d 100644 --- a/src/libs/vgeometry/vcubicbezierpath.h +++ b/src/libs/vgeometry/vcubicbezierpath.h @@ -42,10 +42,7 @@ #include "vgeometrydef.h" #include "vpointf.h" -class QPointF; class VCubicBezierPathData; -class VSpline; -class VSplinePoint; class VCubicBezierPath : public VAbstractCubicBezierPath { diff --git a/src/libs/vgeometry/vellipticalarc.h b/src/libs/vgeometry/vellipticalarc.h index 3d0cc0fe4..8a70a7e8e 100644 --- a/src/libs/vgeometry/vellipticalarc.h +++ b/src/libs/vgeometry/vellipticalarc.h @@ -42,7 +42,6 @@ #include "vgeometrydef.h" #include "vpointf.h" -class QPointF; class VEllipticalArcData; class VEllipticalArc : public VAbstractArc diff --git a/src/libs/vgeometry/vpointf.h b/src/libs/vgeometry/vpointf.h index 79a67d927..321e7fc61 100644 --- a/src/libs/vgeometry/vpointf.h +++ b/src/libs/vgeometry/vpointf.h @@ -40,8 +40,6 @@ #include "vgeometrydef.h" #include "vgobject.h" -class QPointF; -class QString; class VPointFData; QT_WARNING_PUSH diff --git a/src/libs/vgeometry/vspline.cpp b/src/libs/vgeometry/vspline.cpp index b1be7ec0e..4deeb5be3 100644 --- a/src/libs/vgeometry/vspline.cpp +++ b/src/libs/vgeometry/vspline.cpp @@ -34,8 +34,6 @@ #include "vspline_p.h" #include "../vmisc/vmath.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief VSpline default constructor diff --git a/src/libs/vgeometry/vspline.h b/src/libs/vgeometry/vspline.h index d5d711d49..f8ec8635e 100644 --- a/src/libs/vgeometry/vspline.h +++ b/src/libs/vgeometry/vspline.h @@ -43,8 +43,6 @@ #include "vgeometrydef.h" #include "vpointf.h" -class QPainterPath; -class QPointF; class VSplineData; /** diff --git a/src/libs/vgeometry/vsplinepath.h b/src/libs/vgeometry/vsplinepath.h index 2c9545891..680ebff61 100644 --- a/src/libs/vgeometry/vsplinepath.h +++ b/src/libs/vgeometry/vsplinepath.h @@ -45,7 +45,6 @@ #include "vspline.h" #include "vsplinepoint.h" -class QPointF; class VSplinePathData; /** diff --git a/src/libs/vlayout/vabstractpiece.h b/src/libs/vlayout/vabstractpiece.h index a6b0a8dc5..6d7345a17 100644 --- a/src/libs/vlayout/vabstractpiece.h +++ b/src/libs/vlayout/vabstractpiece.h @@ -41,7 +41,6 @@ template class QVector; class VAbstractPieceData; -class QLineF; QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Weffc++") diff --git a/src/libs/vlayout/vbank.h b/src/libs/vlayout/vbank.h index 340f034d2..76075177c 100644 --- a/src/libs/vlayout/vbank.h +++ b/src/libs/vlayout/vbank.h @@ -42,7 +42,6 @@ #undef small #endif -class QPointF; class VLayoutPiece; enum class Cases : char { CaseThreeGroup = 0, CaseTwoGroup, CaseDesc, UnknownCase}; diff --git a/src/libs/vlayout/vbestsquare.cpp b/src/libs/vlayout/vbestsquare.cpp index 84c960a85..2d1a19b18 100644 --- a/src/libs/vlayout/vbestsquare.cpp +++ b/src/libs/vlayout/vbestsquare.cpp @@ -30,8 +30,6 @@ #include -class QSizeF; - //--------------------------------------------------------------------------------------------------------------------- VBestSquare::VBestSquare(const QSizeF &sheetSize, bool saveLength) :resI(0), resJ(0), resMatrix(QMatrix()), bestSize(QSizeF(sheetSize.width()+10, sheetSize.height()+10)), diff --git a/src/libs/vlayout/vbestsquare.h b/src/libs/vlayout/vbestsquare.h index c5778bd9e..b2cfe95a8 100644 --- a/src/libs/vlayout/vbestsquare.h +++ b/src/libs/vlayout/vbestsquare.h @@ -35,8 +35,6 @@ #include "vlayoutdef.h" -class QSizeF; - class VBestSquare { public: diff --git a/src/libs/vlayout/vcontour.h b/src/libs/vlayout/vcontour.h index cfa622da4..6c747545c 100644 --- a/src/libs/vlayout/vcontour.h +++ b/src/libs/vlayout/vcontour.h @@ -37,12 +37,11 @@ #include "vlayoutdef.h" -class QLineF; -class QPainterPath; -class QPointF; -class QRectF; -class QSizeF; class VContourData; +class QPointF; +class QLineF; +class QRectF; +class QPainterPath; class VLayoutPiece; class VContour diff --git a/src/libs/vlayout/vlayoutgenerator.cpp b/src/libs/vlayout/vlayoutgenerator.cpp index 0117f04ee..4935b764a 100644 --- a/src/libs/vlayout/vlayoutgenerator.cpp +++ b/src/libs/vlayout/vlayoutgenerator.cpp @@ -37,8 +37,6 @@ #include "vlayoutpiece.h" #include "vlayoutpaper.h" -class QMarginsF; - //--------------------------------------------------------------------------------------------------------------------- VLayoutGenerator::VLayoutGenerator(QObject *parent) :QObject(parent), papers(QVector()), bank(new VBank()), paperHeight(0), paperWidth(0), margins(), diff --git a/src/libs/vlayout/vlayoutgenerator.h b/src/libs/vlayout/vlayoutgenerator.h index 822e35658..6395fb427 100644 --- a/src/libs/vlayout/vlayoutgenerator.h +++ b/src/libs/vlayout/vlayoutgenerator.h @@ -50,7 +50,6 @@ class QMarginsF; #endif class QGraphicsItem; -class VLayoutPiece; class VLayoutPaper; class VLayoutGenerator :public QObject diff --git a/src/libs/vlayout/vlayoutpaper.cpp b/src/libs/vlayout/vlayoutpaper.cpp index d3c21749c..2e73be36a 100644 --- a/src/libs/vlayout/vlayoutpaper.cpp +++ b/src/libs/vlayout/vlayoutpaper.cpp @@ -49,8 +49,6 @@ #include "vlayoutpaper_p.h" #include "vposition.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VLayoutPaper::VLayoutPaper() :d(new VLayoutPaperData) diff --git a/src/libs/vlayout/vlayoutpaper.h b/src/libs/vlayout/vlayoutpaper.h index 7a28b8d74..426466341 100644 --- a/src/libs/vlayout/vlayoutpaper.h +++ b/src/libs/vlayout/vlayoutpaper.h @@ -36,12 +36,12 @@ #include "vlayoutdef.h" -class QGraphicsItem; +class VBestSquare; +class VLayoutPaperData; +class VLayoutPiece; class QGraphicsRectItem; class QRectF; -class VBestSquare; -class VLayoutPiece; -class VLayoutPaperData; +class QGraphicsItem; template class QList; template class QVector; diff --git a/src/libs/vlayout/vlayoutpiece.cpp b/src/libs/vlayout/vlayoutpiece.cpp index c3d65acd8..b2e73c76d 100644 --- a/src/libs/vlayout/vlayoutpiece.cpp +++ b/src/libs/vlayout/vlayoutpiece.cpp @@ -53,10 +53,6 @@ #include "vtextmanager.h" #include "vgraphicsfillitem.h" -class QGraphicsPathItem; -class QLineF; -class VAbstractPattern; - namespace { QVector ConvertInternalPaths(const VPiece &piece, const VContainer *pattern) diff --git a/src/libs/vlayout/vlayoutpiece.h b/src/libs/vlayout/vlayoutpiece.h index aa05c637c..3ef6cf9ec 100644 --- a/src/libs/vlayout/vlayoutpiece.h +++ b/src/libs/vlayout/vlayoutpiece.h @@ -47,19 +47,9 @@ #include "../vpatterndb/vcontainer.h" #include "vabstractpiece.h" -class QFont; -class QGraphicsItem; -class QLineF; -class QPainterPath; -class QPointF; -class QRectF; -class QTransform; -class VAbstractPattern; class VLayoutPieceData; -class VPatternInfoGeometry; -class VPatternPieceData; -class VGrainlineGeometry; class VLayoutPiecePath; +class QGraphicsItem; class VLayoutPiece :public VAbstractPiece { diff --git a/src/libs/vlayout/vposition.h b/src/libs/vlayout/vposition.h index c607d4777..2dd5c3437 100644 --- a/src/libs/vlayout/vposition.h +++ b/src/libs/vlayout/vposition.h @@ -39,12 +39,6 @@ #include "vlayoutdef.h" #include "vlayoutpiece.h" -class QLineF; -class QPainterPath; -class QPointF; -class QPolygonF; -class QRectF; - class VPosition : public QRunnable { public: diff --git a/src/libs/vlayout/vtextmanager.h b/src/libs/vlayout/vtextmanager.h index 600b664c5..4a9591b93 100644 --- a/src/libs/vlayout/vtextmanager.h +++ b/src/libs/vlayout/vtextmanager.h @@ -38,9 +38,8 @@ #include #include -class QFontMetrics; -class VAbstractPattern; class VPatternPieceData; +class VAbstractPattern; #define MIN_FONT_SIZE 5 #define MAX_FONT_SIZE 128 diff --git a/src/libs/vmisc/abstracttest.cpp b/src/libs/vmisc/abstracttest.cpp index 74e5d79b9..1d7e7b4b3 100644 --- a/src/libs/vmisc/abstracttest.cpp +++ b/src/libs/vmisc/abstracttest.cpp @@ -50,8 +50,6 @@ #include "logging.h" #include "vsysexits.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- AbstractTest::AbstractTest(QObject *parent) : QObject(parent) diff --git a/src/libs/vmisc/abstracttest.h b/src/libs/vmisc/abstracttest.h index 89c4c9538..ac8a5053c 100644 --- a/src/libs/vmisc/abstracttest.h +++ b/src/libs/vmisc/abstracttest.h @@ -33,8 +33,6 @@ #include #include -class QPointF; -class QStringList; template class QVector; #ifdef Q_CC_MSVC diff --git a/src/libs/vmisc/backport/qmarginsf.h b/src/libs/vmisc/backport/qmarginsf.h index 75b2f3125..139b02c74 100644 --- a/src/libs/vmisc/backport/qmarginsf.h +++ b/src/libs/vmisc/backport/qmarginsf.h @@ -38,9 +38,6 @@ #include #include -class QDataStream; -class QDebug; - #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) #include diff --git a/src/libs/vmisc/commandoptions.h b/src/libs/vmisc/commandoptions.h index 67730387a..dc8cb5125 100644 --- a/src/libs/vmisc/commandoptions.h +++ b/src/libs/vmisc/commandoptions.h @@ -31,8 +31,6 @@ #include -class QStringList; - extern const QString LONG_OPTION_BASENAME; extern const QString SINGLE_OPTION_BASENAME; diff --git a/src/libs/vmisc/def.h b/src/libs/vmisc/def.h index 1e40736ca..3aa82b402 100644 --- a/src/libs/vmisc/def.h +++ b/src/libs/vmisc/def.h @@ -42,7 +42,6 @@ #include "debugbreak.h" -class QPixmap; template class QSharedPointer; #ifdef Q_CC_MSVC diff --git a/src/libs/vmisc/qxtcsvmodel.cpp b/src/libs/vmisc/qxtcsvmodel.cpp index 1135e7b1e..1a49d008a 100644 --- a/src/libs/vmisc/qxtcsvmodel.cpp +++ b/src/libs/vmisc/qxtcsvmodel.cpp @@ -42,8 +42,6 @@ #include "../vmisc/diagnostic.h" -class QModelIndex; - class QxtCsvModelPrivate : public QxtPrivate { public: diff --git a/src/libs/vmisc/qxtcsvmodel.h b/src/libs/vmisc/qxtcsvmodel.h index 916d0b8af..b35076cd4 100644 --- a/src/libs/vmisc/qxtcsvmodel.h +++ b/src/libs/vmisc/qxtcsvmodel.h @@ -48,9 +48,6 @@ #include "def.h" -class QIODevice; -class QModelIndex; -class QTextCodec; class QxtCsvModelPrivate; class QxtCsvModel : public QAbstractTableModel diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index cd7d1c394..a52c2cba9 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -41,9 +41,6 @@ #include "../vmisc/def.h" #include "../vmisc/logging.h" -class QGraphicsScene; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- VAbstractApplication::VAbstractApplication(int &argc, char **argv) :QApplication(argc, argv), diff --git a/src/libs/vmisc/vabstractapplication.h b/src/libs/vmisc/vabstractapplication.h index 6e006c45e..75701e48e 100644 --- a/src/libs/vmisc/vabstractapplication.h +++ b/src/libs/vmisc/vabstractapplication.h @@ -47,14 +47,10 @@ #include "vlockguard.h" #include "vsettings.h" -class QGraphicsScene; -class QTranslator; class QUndoStack; -class QWidget; class VAbstractApplication;// use in define class VAbstractPattern; class VMainGraphicsView; -class VTranslateVars; #if defined(qApp) #undef qApp diff --git a/src/libs/vmisc/vcommonsettings.cpp b/src/libs/vmisc/vcommonsettings.cpp index 55626911f..bb53317e0 100644 --- a/src/libs/vmisc/vcommonsettings.cpp +++ b/src/libs/vmisc/vcommonsettings.cpp @@ -42,8 +42,6 @@ #include "../vmisc/def.h" #include "../vmisc/vmath.h" -class QDate; - const QString VCommonSettings::SettingPathsIndividualMeasurements = QStringLiteral("paths/individual_measurements"); const QString VCommonSettings::SettingPathsStandardMeasurements = QStringLiteral("paths/standard_measurements"); const QString VCommonSettings::SettingPathsTemplates = QStringLiteral("paths/templates"); diff --git a/src/libs/vmisc/vcommonsettings.h b/src/libs/vmisc/vcommonsettings.h index 1637446b3..5a274a36b 100644 --- a/src/libs/vmisc/vcommonsettings.h +++ b/src/libs/vmisc/vcommonsettings.h @@ -40,8 +40,6 @@ #include "../vlayout/vbank.h" -class QDate; - class VCommonSettings : public QSettings { Q_OBJECT diff --git a/src/libs/vmisc/vsettings.cpp b/src/libs/vmisc/vsettings.cpp index d9dbf312e..736edb8d8 100644 --- a/src/libs/vmisc/vsettings.cpp +++ b/src/libs/vmisc/vsettings.cpp @@ -42,8 +42,6 @@ #include "../vmisc/def.h" #include "../vmisc/vmath.h" -class QMarginsF; - Q_DECLARE_METATYPE(QMarginsF) const QString VSettings::SettingConfigurationLabelLanguage = QStringLiteral("configuration/label_language"); diff --git a/src/libs/vmisc/vsettings.h b/src/libs/vmisc/vsettings.h index 454a264b8..010c0d3bf 100644 --- a/src/libs/vmisc/vsettings.h +++ b/src/libs/vmisc/vsettings.h @@ -38,8 +38,6 @@ #include "../vlayout/vbank.h" #include "vcommonsettings.h" -class QMarginsF; -class QPrinter; template class QSharedPointer; #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) diff --git a/src/libs/vmisc/vtablesearch.h b/src/libs/vmisc/vtablesearch.h index d7ff81e77..89a36cb98 100644 --- a/src/libs/vmisc/vtablesearch.h +++ b/src/libs/vmisc/vtablesearch.h @@ -35,9 +35,6 @@ #include #include -class QTableWidget; -class QTableWidgetItem; - class VTableSearch: public QObject { Q_OBJECT diff --git a/src/libs/vobj/vobjengine.h b/src/libs/vobj/vobjengine.h index e6169a4d0..68efd1f55 100644 --- a/src/libs/vobj/vobjengine.h +++ b/src/libs/vobj/vobjengine.h @@ -40,14 +40,6 @@ #include "delaunay.h" -class QIODevice; -class QPaintDevice; -class QPainterPath; -class QPixmap; -class QPoint; -class QPointF; -class QPolygonF; -class QRectF; class QTextStream; #define MAX_POINTS 512 diff --git a/src/libs/vobj/vobjpaintdevice.cpp b/src/libs/vobj/vobjpaintdevice.cpp index 418a01619..e70ada9bb 100644 --- a/src/libs/vobj/vobjpaintdevice.cpp +++ b/src/libs/vobj/vobjpaintdevice.cpp @@ -35,8 +35,6 @@ #include "vobjengine.h" -class QPaintEngine; - //--------------------------------------------------------------------------------------------------------------------- VObjPaintDevice::VObjPaintDevice() :QPaintDevice(), engine(new VObjEngine()), fileName(), owns_iodevice(1) diff --git a/src/libs/vobj/vobjpaintdevice.h b/src/libs/vobj/vobjpaintdevice.h index d702aef7a..a1d2c0c96 100644 --- a/src/libs/vobj/vobjpaintdevice.h +++ b/src/libs/vobj/vobjpaintdevice.h @@ -37,7 +37,6 @@ #include class QIODevice; -class QPaintEngine; class VObjEngine; class VObjPaintDevice : public QPaintDevice diff --git a/src/libs/vpatterndb/variables/vcurvevariable.h b/src/libs/vpatterndb/variables/vcurvevariable.h index ef4c9875d..c92749e4e 100644 --- a/src/libs/vpatterndb/variables/vcurvevariable.h +++ b/src/libs/vpatterndb/variables/vcurvevariable.h @@ -36,7 +36,6 @@ #include "vinternalvariable.h" -class VAbstractCurve; class VCurveVariableData; class VCurveVariable : public VInternalVariable diff --git a/src/libs/vpatterndb/variables/vincrement.h b/src/libs/vpatterndb/variables/vincrement.h index b8bea8380..ae3b16637 100644 --- a/src/libs/vpatterndb/variables/vincrement.h +++ b/src/libs/vpatterndb/variables/vincrement.h @@ -37,8 +37,8 @@ #include "vvariable.h" -class VContainer; class VIncrementData; +class VContainer; /** * @brief The VIncrement class keep data row of increment table diff --git a/src/libs/vpatterndb/vcontainer.h b/src/libs/vpatterndb/vcontainer.h index 562cc8330..4e6f02c32 100644 --- a/src/libs/vpatterndb/vcontainer.h +++ b/src/libs/vpatterndb/vcontainer.h @@ -57,19 +57,7 @@ #include "vpiecepath.h" #include "vtranslatevars.h" -class VAbstractCubicBezierPath; -class VAbstractCurve; -class VArc; class VEllipticalArc; -class VArcRadius; -class VCurveAngle; -class VCurveLength; -class VGObject; -class VIncrement; -class VLengthLine; -class VLineAngle; -class VMeasurement; -class VTranslateVars; QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Weffc++") diff --git a/src/libs/vpatterndb/vgrainlinegeometry.h b/src/libs/vpatterndb/vgrainlinegeometry.h index 8f040e008..a220680f1 100644 --- a/src/libs/vpatterndb/vgrainlinegeometry.h +++ b/src/libs/vpatterndb/vgrainlinegeometry.h @@ -32,8 +32,6 @@ #include #include -class QPointF; - /** * @brief The VGrainlineGeometry class holds information about a grainline like * position, size, rotation and visibility diff --git a/src/libs/vpatterndb/vpatterninfogeometry.cpp b/src/libs/vpatterndb/vpatterninfogeometry.cpp index 3abc3b31a..8ab110c1e 100644 --- a/src/libs/vpatterndb/vpatterninfogeometry.cpp +++ b/src/libs/vpatterndb/vpatterninfogeometry.cpp @@ -28,8 +28,6 @@ #include "vpatterninfogeometry.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VPatternInfoGeometry::VPatternInfoGeometry() :m_ptPos(0, 0), m_dLabelWidth(0), m_dLabelHeight(0), m_iFontSize(0), diff --git a/src/libs/vpatterndb/vpatterninfogeometry.h b/src/libs/vpatterndb/vpatterninfogeometry.h index 3f709b45e..c9e976ba1 100644 --- a/src/libs/vpatterndb/vpatterninfogeometry.h +++ b/src/libs/vpatterndb/vpatterninfogeometry.h @@ -32,8 +32,6 @@ #include #include -class QPointF; - /** * @brief The VPatternInfoGeometry class holds the information about pattern info label geometry */ diff --git a/src/libs/vpatterndb/vpatternpiecedata.cpp b/src/libs/vpatterndb/vpatternpiecedata.cpp index 5f2383b23..830ef21e9 100644 --- a/src/libs/vpatterndb/vpatternpiecedata.cpp +++ b/src/libs/vpatterndb/vpatternpiecedata.cpp @@ -28,8 +28,6 @@ #include "vpatternpiecedata.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- MaterialCutPlacement::MaterialCutPlacement() :m_eMaterial(MaterialType::mtFabric), m_qsMaterialUserDef(), m_iCutNumber(0), m_ePlacement(PlacementType::ptNone) diff --git a/src/libs/vpatterndb/vpatternpiecedata.h b/src/libs/vpatterndb/vpatternpiecedata.h index ab96f5e91..08706f8a2 100644 --- a/src/libs/vpatterndb/vpatternpiecedata.h +++ b/src/libs/vpatterndb/vpatternpiecedata.h @@ -36,8 +36,6 @@ #include #include -class QPointF; - enum class MaterialType : char { mtFabric = 0, diff --git a/src/libs/vpatterndb/vpiece.h b/src/libs/vpatterndb/vpiece.h index 0ea0180e4..3a82b709a 100644 --- a/src/libs/vpatterndb/vpiece.h +++ b/src/libs/vpatterndb/vpiece.h @@ -34,19 +34,17 @@ #include "../vlayout/vabstractpiece.h" -class QPainterPath; class VPieceData; class VPieceNode; -class QPointF; -class VPointF; -class VContainer; template class QVector; template class QSharedPointer; -class VAbstractCurve; class VPiecePath; class VPatternInfoGeometry; class VPatternPieceData; class VGrainlineGeometry; +class VContainer; +class QPainterPath; +class VPointF; class VPiece : public VAbstractPiece { diff --git a/src/libs/vpatterndb/vpiecenode.h b/src/libs/vpatterndb/vpiecenode.h index c2e7c9b1c..a350164a4 100644 --- a/src/libs/vpatterndb/vpiecenode.h +++ b/src/libs/vpatterndb/vpiecenode.h @@ -36,7 +36,6 @@ #include "../vmisc/def.h" class VPieceNodeData; -class QDataStream; class VContainer; class VPieceNode diff --git a/src/libs/vpatterndb/vpiecepath.h b/src/libs/vpatterndb/vpiecepath.h index 40852dd53..4bb8400fe 100644 --- a/src/libs/vpatterndb/vpiecepath.h +++ b/src/libs/vpatterndb/vpiecepath.h @@ -33,15 +33,14 @@ #include #include "../vmisc/def.h" +#include "../vgeometry/vabstractcurve.h" class VPiecePathData; -class VPieceNode; -class QPointF; -class VPointF; -class VContainer; class VSAPoint; +class VContainer; class QPainterPath; -class VAbstractCurve; +class VPointF; +class VPieceNode; class VPiecePath { diff --git a/src/libs/vpatterndb/vtranslatemeasurements.h b/src/libs/vpatterndb/vtranslatemeasurements.h index bde8a369a..6dbabb17f 100644 --- a/src/libs/vpatterndb/vtranslatemeasurements.h +++ b/src/libs/vpatterndb/vtranslatemeasurements.h @@ -35,10 +35,6 @@ #include "../qmuparser/qmutranslation.h" -namespace qmu { -class QmuTranslation; -} // namespace qmu - class VTranslateMeasurements { public: diff --git a/src/libs/vpropertyexplorer/checkablemessagebox.cpp b/src/libs/vpropertyexplorer/checkablemessagebox.cpp index 7a2097975..1b5fdb562 100644 --- a/src/libs/vpropertyexplorer/checkablemessagebox.cpp +++ b/src/libs/vpropertyexplorer/checkablemessagebox.cpp @@ -33,11 +33,6 @@ #include #include -class QHBoxLayout; -class QSpacerItem; -class QVBoxLayout; -class QWidget; - static const char kDoNotAskAgainKey[] = "DoNotAskAgain"; namespace Utils diff --git a/src/libs/vpropertyexplorer/checkablemessagebox.h b/src/libs/vpropertyexplorer/checkablemessagebox.h index db8478d3c..e07e95699 100644 --- a/src/libs/vpropertyexplorer/checkablemessagebox.h +++ b/src/libs/vpropertyexplorer/checkablemessagebox.h @@ -31,10 +31,7 @@ #include "vpropertyexplorer_global.h" -class QAbstractButton; -class QPushButton; class QSettings; -class QWidget; namespace Utils { diff --git a/src/libs/vpropertyexplorer/plugins/vcolorproperty.cpp b/src/libs/vpropertyexplorer/plugins/vcolorproperty.cpp index b68175186..4bf9a4fd7 100644 --- a/src/libs/vpropertyexplorer/plugins/vcolorproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vcolorproperty.cpp @@ -28,9 +28,6 @@ #include "../vproperty_p.h" #include "vcolorpropertyeditor.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - VPE::VColorProperty::VColorProperty(const QString &name) : VProperty(name, QVariant::Color) { diff --git a/src/libs/vpropertyexplorer/plugins/vcolorproperty.h b/src/libs/vpropertyexplorer/plugins/vcolorproperty.h index 25f5d2899..e844ee248 100644 --- a/src/libs/vpropertyexplorer/plugins/vcolorproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vcolorproperty.h @@ -34,10 +34,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.cpp b/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.cpp index 5ee58279f..a4aa4a335 100644 --- a/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.cpp +++ b/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.cpp @@ -33,8 +33,6 @@ #include "../vproperty.h" -class QHBoxLayout; - VPE::VColorPropertyEditor::VColorPropertyEditor(QWidget *parent) : QWidget(parent), Color(), ToolButton(nullptr), TextLabel(nullptr), ColorLabel(nullptr), Spacer(nullptr) { diff --git a/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.h b/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.h index e5ee451f5..d01e8a07a 100644 --- a/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.h +++ b/src/libs/vpropertyexplorer/plugins/vcolorpropertyeditor.h @@ -36,11 +36,6 @@ #include "../vpropertyexplorer_global.h" -class QEvent; -class QLabel; -class QSpacerItem; -class QToolButton; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vemptyproperty.cpp b/src/libs/vpropertyexplorer/plugins/vemptyproperty.cpp index 924c191da..ec038cff3 100644 --- a/src/libs/vpropertyexplorer/plugins/vemptyproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vemptyproperty.cpp @@ -28,9 +28,6 @@ #include "../vproperty.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; namespace VPE { class VPropertyPrivate; } // namespace VPE diff --git a/src/libs/vpropertyexplorer/plugins/vemptyproperty.h b/src/libs/vpropertyexplorer/plugins/vemptyproperty.h index a28c6be60..4159cb66f 100644 --- a/src/libs/vpropertyexplorer/plugins/vemptyproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vemptyproperty.h @@ -33,10 +33,8 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; -namespace VPE { +namespace VPE +{ class VPropertyPrivate; } // namespace VPE diff --git a/src/libs/vpropertyexplorer/plugins/venumproperty.cpp b/src/libs/vpropertyexplorer/plugins/venumproperty.cpp index 02d2b37c4..022afb622 100644 --- a/src/libs/vpropertyexplorer/plugins/venumproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/venumproperty.cpp @@ -27,9 +27,6 @@ #include "../vproperty_p.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - VPE::VEnumProperty::VEnumProperty(const QString& name) : VProperty(name, QVariant::Int), EnumerationLiterals() { diff --git a/src/libs/vpropertyexplorer/plugins/venumproperty.h b/src/libs/vpropertyexplorer/plugins/venumproperty.h index abb522c17..2b550a541 100644 --- a/src/libs/vpropertyexplorer/plugins/venumproperty.h +++ b/src/libs/vpropertyexplorer/plugins/venumproperty.h @@ -34,10 +34,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vfileproperty.cpp b/src/libs/vpropertyexplorer/plugins/vfileproperty.cpp index 9406b3e7b..2322549dd 100644 --- a/src/libs/vpropertyexplorer/plugins/vfileproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vfileproperty.cpp @@ -29,8 +29,6 @@ #include "vfilepropertyeditor.h" #include "../vproperty_p.h" -class QStyleOptionViewItem; - VPE::VFileProperty::VFileProperty(const QString& name) : VProperty(new VFilePropertyPrivate(name, QVariant::String)) { diff --git a/src/libs/vpropertyexplorer/plugins/vfileproperty.h b/src/libs/vpropertyexplorer/plugins/vfileproperty.h index b89391c34..33e3c5043 100644 --- a/src/libs/vpropertyexplorer/plugins/vfileproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vfileproperty.h @@ -35,10 +35,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.cpp b/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.cpp index 1a8a6f94d..43ba209df 100644 --- a/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.cpp +++ b/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.cpp @@ -39,12 +39,6 @@ #include #include -class QDragEnterEvent; -class QDragLeaveEvent; -class QDragMoveEvent; -class QDropEvent; -class QHBoxLayout; - VPE::VFileEditWidget::VFileEditWidget(QWidget *parent, bool is_directory) : QWidget(parent), CurrentFilePath(), ToolButton(nullptr), FileLineEdit(nullptr), FileDialogFilter(), FilterList(), Directory(is_directory) diff --git a/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h b/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h index e52033c39..fc19366e0 100644 --- a/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h +++ b/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h @@ -34,15 +34,6 @@ #include "../vpropertyexplorer_global.h" -class QDragEnterEvent; -class QDragLeaveEvent; -class QDragMoveEvent; -class QDropEvent; -class QEvent; -class QLineEdit; -class QMimeData; -class QToolButton; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp b/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp index 970a8e590..3a56e7e4a 100644 --- a/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.cpp @@ -42,9 +42,6 @@ #include "../vproperty_p.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - VPE::VLineColorProperty::VLineColorProperty(const QString &name) : VProperty(name, QVariant::Int), colors(), indexList() { diff --git a/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.h b/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.h index adf4e62db..5a24c9b2c 100644 --- a/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vlinecolorproperty.h @@ -43,10 +43,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.cpp b/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.cpp index 277281ee6..895531891 100644 --- a/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.cpp @@ -39,9 +39,6 @@ #include "../vproperty_p.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - VPE::VLineTypeProperty::VLineTypeProperty(const QString &name) : VProperty(name, QVariant::Int), styles(), indexList() { diff --git a/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.h b/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.h index 8aa9d5610..a690d2dd3 100644 --- a/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vlinetypeproperty.h @@ -44,10 +44,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp b/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp index cfeef02ce..b1cf97f08 100644 --- a/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vnumberproperty.cpp @@ -30,9 +30,6 @@ #include "../vproperty_p.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - const int VPE::VIntegerProperty::StandardMin = -1000000; const int VPE::VIntegerProperty::StandardMax = 1000000; diff --git a/src/libs/vpropertyexplorer/plugins/vnumberproperty.h b/src/libs/vpropertyexplorer/plugins/vnumberproperty.h index 1ab605f6c..b609c6fa3 100644 --- a/src/libs/vpropertyexplorer/plugins/vnumberproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vnumberproperty.h @@ -35,10 +35,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vobjectproperty.cpp b/src/libs/vpropertyexplorer/plugins/vobjectproperty.cpp index f269b38ab..544d21601 100644 --- a/src/libs/vpropertyexplorer/plugins/vobjectproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vobjectproperty.cpp @@ -27,9 +27,6 @@ #include "../vproperty_p.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - VPE::VObjectProperty::VObjectProperty(const QString& name) : VProperty(name, QVariant::Int), objects() { diff --git a/src/libs/vpropertyexplorer/plugins/vobjectproperty.h b/src/libs/vpropertyexplorer/plugins/vobjectproperty.h index cc8082ec2..0866bae13 100644 --- a/src/libs/vpropertyexplorer/plugins/vobjectproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vobjectproperty.h @@ -35,10 +35,7 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; class QComboBox; -class QStyleOptionViewItem; -class QWidget; namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vpointfproperty.cpp b/src/libs/vpropertyexplorer/plugins/vpointfproperty.cpp index d6030c933..c2b9b653f 100644 --- a/src/libs/vpropertyexplorer/plugins/vpointfproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vpointfproperty.cpp @@ -28,8 +28,6 @@ #include "../vproperty_p.h" #include "vnumberproperty.h" -class QPointF; - VPE::VPointFProperty::VPointFProperty(const QString &name) : VProperty(name, QVariant::PointF) { diff --git a/src/libs/vpropertyexplorer/plugins/vpointfproperty.h b/src/libs/vpropertyexplorer/plugins/vpointfproperty.h index 5a5e54a2e..602ac0585 100644 --- a/src/libs/vpropertyexplorer/plugins/vpointfproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vpointfproperty.h @@ -33,8 +33,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QPointF; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vshortcutproperty.cpp b/src/libs/vpropertyexplorer/plugins/vshortcutproperty.cpp index 74d86f3d9..18264a9fc 100644 --- a/src/libs/vpropertyexplorer/plugins/vshortcutproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vshortcutproperty.cpp @@ -28,8 +28,6 @@ #include "../vproperty_p.h" #include "vshortcutpropertyeditor.h" -class QStyleOptionViewItem; - VPE::VShortcutProperty::VShortcutProperty(const QString& name) : VProperty(name, QVariant::String) { diff --git a/src/libs/vpropertyexplorer/plugins/vshortcutproperty.h b/src/libs/vpropertyexplorer/plugins/vshortcutproperty.h index a360e0a52..b5fcd51b4 100644 --- a/src/libs/vpropertyexplorer/plugins/vshortcutproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vshortcutproperty.h @@ -33,10 +33,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.cpp b/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.cpp index 93e2426df..7e015a355 100644 --- a/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.cpp +++ b/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.cpp @@ -27,9 +27,6 @@ #include #include -class QHBoxLayout; -class QKeyEvent; - VPE::VShortcutEditWidget::VShortcutEditWidget(QWidget *parent) : QWidget(parent), CurrentKeySequence(), LineEdit(nullptr) { diff --git a/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.h b/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.h index 83e5270ea..1b00828ea 100644 --- a/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.h +++ b/src/libs/vpropertyexplorer/plugins/vshortcutpropertyeditor.h @@ -34,9 +34,6 @@ #include "../vpropertyexplorer_global.h" -class QEvent; -class QLineEdit; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vstringproperty.cpp b/src/libs/vpropertyexplorer/plugins/vstringproperty.cpp index 302fa49a9..0b6f21086 100644 --- a/src/libs/vpropertyexplorer/plugins/vstringproperty.cpp +++ b/src/libs/vpropertyexplorer/plugins/vstringproperty.cpp @@ -32,9 +32,6 @@ #include "../vproperty_p.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; - VPE::VStringProperty::VStringProperty(const QString &name, const QMap &settings) : VProperty(name, QVariant::String), readOnly(false), typeForParent(0), clearButton(false), m_osSeparator(false) { diff --git a/src/libs/vpropertyexplorer/plugins/vstringproperty.h b/src/libs/vpropertyexplorer/plugins/vstringproperty.h index 3c5039357..445b4a30c 100644 --- a/src/libs/vpropertyexplorer/plugins/vstringproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vstringproperty.h @@ -34,10 +34,6 @@ #include "../vproperty.h" #include "../vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/plugins/vwidgetproperty.h b/src/libs/vpropertyexplorer/plugins/vwidgetproperty.h index 0e99ff55e..353a2e365 100644 --- a/src/libs/vpropertyexplorer/plugins/vwidgetproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vwidgetproperty.h @@ -28,7 +28,6 @@ #include "../vpropertyexplorer_global.h" #include "vemptyproperty.h" -class QWidget; namespace VPE { class VProperty; } // namespace VPE diff --git a/src/libs/vpropertyexplorer/vproperty.cpp b/src/libs/vpropertyexplorer/vproperty.cpp index de53c9ac3..de894816f 100644 --- a/src/libs/vpropertyexplorer/vproperty.cpp +++ b/src/libs/vpropertyexplorer/vproperty.cpp @@ -33,11 +33,6 @@ #include "vproperty_p.h" -class QAbstractItemDelegate; -class QModelIndex; -class QPainter; -class QStyleOptionViewItem; - //! Standard constructor, takes a name and a parent property as argument VPE::VProperty::VProperty(const QString& name, QVariant::Type type) : QObject(), d_ptr(new VPropertyPrivate(name, type)) diff --git a/src/libs/vpropertyexplorer/vproperty.h b/src/libs/vpropertyexplorer/vproperty.h index edc4e47a6..cf2bd8b43 100644 --- a/src/libs/vpropertyexplorer/vproperty.h +++ b/src/libs/vpropertyexplorer/vproperty.h @@ -37,11 +37,6 @@ #include "vpropertyexplorer_global.h" -class QAbstractItemDelegate; -class QModelIndex; -class QPainter; -class QStyleOptionViewItem; -class QWidget; template class QList; namespace VPE diff --git a/src/libs/vpropertyexplorer/vpropertydelegate.cpp b/src/libs/vpropertyexplorer/vpropertydelegate.cpp index 6bac9501e..856b0905d 100644 --- a/src/libs/vpropertyexplorer/vpropertydelegate.cpp +++ b/src/libs/vpropertyexplorer/vpropertydelegate.cpp @@ -33,9 +33,6 @@ #include "vproperty.h" -class QStyleOptionViewItem; -class QWidget; - VPE::VPropertyDelegate::VPropertyDelegate(QObject *parent) : QStyledItemDelegate(parent), RowHeight(0), AddRowHeight(false) { diff --git a/src/libs/vpropertyexplorer/vpropertydelegate.h b/src/libs/vpropertyexplorer/vpropertydelegate.h index efa95bcd5..435a6ad17 100644 --- a/src/libs/vpropertyexplorer/vpropertydelegate.h +++ b/src/libs/vpropertyexplorer/vpropertydelegate.h @@ -31,12 +31,6 @@ #include "vpropertyexplorer_global.h" -class QAbstractItemModel; -class QModelIndex; -class QPainter; -class QStyleOptionViewItem; -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/vpropertyfactorymanager.h b/src/libs/vpropertyexplorer/vpropertyfactorymanager.h index 136b2b2ea..264f77fe7 100644 --- a/src/libs/vpropertyexplorer/vpropertyfactorymanager.h +++ b/src/libs/vpropertyexplorer/vpropertyfactorymanager.h @@ -29,8 +29,6 @@ #include "vpropertyexplorer_global.h" -class QStringList; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/vpropertyfactorymanager_p.h b/src/libs/vpropertyexplorer/vpropertyfactorymanager_p.h index 4c517d5ee..7efec6649 100644 --- a/src/libs/vpropertyexplorer/vpropertyfactorymanager_p.h +++ b/src/libs/vpropertyexplorer/vpropertyfactorymanager_p.h @@ -29,8 +29,6 @@ namespace VPE { -class VAbstractPropertyFactory; - class VPropertyFactoryManagerPrivate { public: diff --git a/src/libs/vpropertyexplorer/vpropertyformview.cpp b/src/libs/vpropertyexplorer/vpropertyformview.cpp index e22851bf4..d434e386d 100644 --- a/src/libs/vpropertyexplorer/vpropertyformview.cpp +++ b/src/libs/vpropertyexplorer/vpropertyformview.cpp @@ -29,10 +29,6 @@ #include "vpropertymodel.h" #include "vpropertyset.h" -class QModelIndex; -class QShowEvent; -class QWidget; - VPE::VPropertyFormView::VPropertyFormView(QWidget* parent) : VPropertyFormWidget(new VPropertyFormViewPrivate(), parent) { diff --git a/src/libs/vpropertyexplorer/vpropertyformview.h b/src/libs/vpropertyexplorer/vpropertyformview.h index 0610dbdc7..a2cda844d 100644 --- a/src/libs/vpropertyexplorer/vpropertyformview.h +++ b/src/libs/vpropertyexplorer/vpropertyformview.h @@ -31,16 +31,10 @@ #include "vpropertyexplorer_global.h" #include "vpropertyformwidget.h" -class QModelIndex; -class QShowEvent; -class QWidget; - namespace VPE { -class VProperty; class VPropertyModel; -class VPropertySet; //! This class populates a form layout with the properties in a model class VPROPERTYEXPLORERSHARED_EXPORT VPropertyFormView : public VPropertyFormWidget diff --git a/src/libs/vpropertyexplorer/vpropertyformview_p.h b/src/libs/vpropertyexplorer/vpropertyformview_p.h index 4d87e4927..677eff952 100644 --- a/src/libs/vpropertyexplorer/vpropertyformview_p.h +++ b/src/libs/vpropertyexplorer/vpropertyformview_p.h @@ -29,9 +29,6 @@ namespace VPE { -class VPropertyModel; -class VPropertySet; - QT_WARNING_PUSH QT_WARNING_DISABLE_CLANG("-Wweak-vtables") diff --git a/src/libs/vpropertyexplorer/vpropertyformwidget.cpp b/src/libs/vpropertyexplorer/vpropertyformwidget.cpp index b674fe167..a2133034e 100644 --- a/src/libs/vpropertyexplorer/vpropertyformwidget.cpp +++ b/src/libs/vpropertyexplorer/vpropertyformwidget.cpp @@ -36,8 +36,6 @@ #include "vproperty.h" #include "vpropertyformwidget_p.h" -class QKeyEvent; - VPE::VPropertyFormWidget::VPropertyFormWidget(const QString &title, const QString &description, const QList& properties, QWidget *parent) : QGroupBox(title, parent), d_ptr(new VPropertyFormWidgetPrivate(properties)) diff --git a/src/libs/vpropertyexplorer/vpropertyformwidget.h b/src/libs/vpropertyexplorer/vpropertyformwidget.h index 74e6d18c3..6087dafc4 100644 --- a/src/libs/vpropertyexplorer/vpropertyformwidget.h +++ b/src/libs/vpropertyexplorer/vpropertyformwidget.h @@ -31,9 +31,7 @@ #include "vproperty.h" -class QEvent; class QFormLayout; -class QWidget; namespace VPE { diff --git a/src/libs/vpropertyexplorer/vpropertymodel.h b/src/libs/vpropertyexplorer/vpropertymodel.h index 0ac12babf..542e25e81 100644 --- a/src/libs/vpropertyexplorer/vpropertymodel.h +++ b/src/libs/vpropertyexplorer/vpropertymodel.h @@ -35,10 +35,6 @@ #include "vproperty.h" #include "vpropertyexplorer_global.h" -namespace VPE { -class VProperty; -} // namespace VPE - namespace VPE { diff --git a/src/libs/vpropertyexplorer/vpropertyset.h b/src/libs/vpropertyexplorer/vpropertyset.h index 45c8dd7ac..8ad21d30e 100644 --- a/src/libs/vpropertyexplorer/vpropertyset.h +++ b/src/libs/vpropertyexplorer/vpropertyset.h @@ -29,9 +29,6 @@ #include "vproperty.h" #include "vpropertyexplorer_global.h" -namespace VPE { -class VProperty; -} // namespace VPE template class QMap; template class QList; diff --git a/src/libs/vpropertyexplorer/vpropertytreeview.cpp b/src/libs/vpropertyexplorer/vpropertytreeview.cpp index fbf38a1ea..d1d06ac15 100644 --- a/src/libs/vpropertyexplorer/vpropertytreeview.cpp +++ b/src/libs/vpropertyexplorer/vpropertytreeview.cpp @@ -27,8 +27,6 @@ #include "vpropertymodel.h" #include "vpropertytreeview_p.h" -class QWidget; - VPE::VPropertyTreeView::VPropertyTreeView(QWidget *parent) : QTreeView(parent), d_ptr(new VPropertyTreeViewPrivate()) { diff --git a/src/libs/vpropertyexplorer/vpropertytreeview.h b/src/libs/vpropertyexplorer/vpropertytreeview.h index ee8dc19c8..f4dd1ee1f 100644 --- a/src/libs/vpropertyexplorer/vpropertytreeview.h +++ b/src/libs/vpropertyexplorer/vpropertytreeview.h @@ -30,8 +30,6 @@ #include "vpropertyexplorer_global.h" -class QWidget; - namespace VPE { diff --git a/src/libs/vpropertyexplorer/vpropertytreeview_p.h b/src/libs/vpropertyexplorer/vpropertytreeview_p.h index ec748072f..d3c413aa6 100644 --- a/src/libs/vpropertyexplorer/vpropertytreeview_p.h +++ b/src/libs/vpropertyexplorer/vpropertytreeview_p.h @@ -29,8 +29,6 @@ namespace VPE { -class VPropertyDelegate; - class VPropertyTreeViewPrivate { public: diff --git a/src/libs/vpropertyexplorer/vserializedproperty.h b/src/libs/vpropertyexplorer/vserializedproperty.h index f0e1f852e..3231bef31 100644 --- a/src/libs/vpropertyexplorer/vserializedproperty.h +++ b/src/libs/vpropertyexplorer/vserializedproperty.h @@ -29,15 +29,9 @@ #include "vpropertyexplorer_global.h" #include "vpropertyset.h" -namespace VPE { -class VProperty; -class VPropertySet; -} // namespace VPE - namespace VPE { - class VPROPERTYEXPLORERSHARED_EXPORT VSerializedProperty { public: diff --git a/src/libs/vpropertyexplorer/vstandardpropertyfactory.h b/src/libs/vpropertyexplorer/vstandardpropertyfactory.h index 9df340d5b..9b12f5209 100644 --- a/src/libs/vpropertyexplorer/vstandardpropertyfactory.h +++ b/src/libs/vpropertyexplorer/vstandardpropertyfactory.h @@ -30,7 +30,6 @@ namespace VPE { -class VProperty; class VPropertyFactoryManager; //! The standard property factory is able to create all the properties that are included in VPropertyExplorer diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp index cc08a6ad9..32b3d4571 100644 --- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp +++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp @@ -68,8 +68,6 @@ #include "../tools/dialogtool.h" #include "ui_dialogeditwrongformula.h" -class QCloseEvent; -class QShowEvent; template class QSharedPointer; enum {ColumnName = 0, ColumnFullName}; diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.h b/src/libs/vtools/dialogs/support/dialogeditwrongformula.h index 41b623bdd..82c595c88 100644 --- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.h +++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.h @@ -39,12 +39,6 @@ #include "../tools/dialogtool.h" -class QCloseEvent; -class QShowEvent; -class QTableWidgetItem; -class QWidget; -class VContainer; -class VMeasurement; template class QSharedPointer; namespace Ui diff --git a/src/libs/vtools/dialogs/support/dialogundo.cpp b/src/libs/vtools/dialogs/support/dialogundo.cpp index 5a5389a34..f3bbcc32e 100644 --- a/src/libs/vtools/dialogs/support/dialogundo.cpp +++ b/src/libs/vtools/dialogs/support/dialogundo.cpp @@ -37,9 +37,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogundo.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogUndo::DialogUndo(QWidget *parent) :QDialog(parent), ui(new Ui::DialogUndo), result(UndoButton::Cancel) diff --git a/src/libs/vtools/dialogs/support/dialogundo.h b/src/libs/vtools/dialogs/support/dialogundo.h index 86023da49..477493fa9 100644 --- a/src/libs/vtools/dialogs/support/dialogundo.h +++ b/src/libs/vtools/dialogs/support/dialogundo.h @@ -36,9 +36,6 @@ #include #include -class QCloseEvent; -class QWidget; - namespace Ui { class DialogUndo; diff --git a/src/libs/vtools/dialogs/tools/dialogalongline.cpp b/src/libs/vtools/dialogs/tools/dialogalongline.cpp index 635aca309..28d68f0d4 100644 --- a/src/libs/vtools/dialogs/tools/dialogalongline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogalongline.cpp @@ -56,9 +56,6 @@ #include "../vpatterndb/vtranslatevars.h" #include "ui_dialogalongline.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogAlongLine create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogalongline.h b/src/libs/vtools/dialogs/tools/dialogalongline.h index 04c26bc20..254ed6f9c 100644 --- a/src/libs/vtools/dialogs/tools/dialogalongline.h +++ b/src/libs/vtools/dialogs/tools/dialogalongline.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogAlongLine; diff --git a/src/libs/vtools/dialogs/tools/dialogarc.cpp b/src/libs/vtools/dialogs/tools/dialogarc.cpp index 172f19098..4517cda7f 100644 --- a/src/libs/vtools/dialogs/tools/dialogarc.cpp +++ b/src/libs/vtools/dialogs/tools/dialogarc.cpp @@ -47,10 +47,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogarc.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogArc create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogarc.h b/src/libs/vtools/dialogs/tools/dialogarc.h index 17db12557..33b2efd4d 100644 --- a/src/libs/vtools/dialogs/tools/dialogarc.h +++ b/src/libs/vtools/dialogs/tools/dialogarc.h @@ -38,11 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogArc; diff --git a/src/libs/vtools/dialogs/tools/dialogarcwithlength.cpp b/src/libs/vtools/dialogs/tools/dialogarcwithlength.cpp index abf6bafca..547d22897 100644 --- a/src/libs/vtools/dialogs/tools/dialogarcwithlength.cpp +++ b/src/libs/vtools/dialogs/tools/dialogarcwithlength.cpp @@ -47,10 +47,6 @@ #include "../../visualization/visualization.h" #include "ui_dialogarcwithlength.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogArcWithLength::DialogArcWithLength(const VContainer *data, const quint32 &toolId, QWidget *parent) :DialogTool(data, toolId, parent), ui(new Ui::DialogArcWithLength), flagRadius(false), flagF1(false), diff --git a/src/libs/vtools/dialogs/tools/dialogarcwithlength.h b/src/libs/vtools/dialogs/tools/dialogarcwithlength.h index a189b452f..2ee0870a5 100644 --- a/src/libs/vtools/dialogs/tools/dialogarcwithlength.h +++ b/src/libs/vtools/dialogs/tools/dialogarcwithlength.h @@ -38,11 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogArcWithLength; diff --git a/src/libs/vtools/dialogs/tools/dialogbisector.cpp b/src/libs/vtools/dialogs/tools/dialogbisector.cpp index 1b9615a25..f81ac2d47 100644 --- a/src/libs/vtools/dialogs/tools/dialogbisector.cpp +++ b/src/libs/vtools/dialogs/tools/dialogbisector.cpp @@ -50,10 +50,6 @@ #include "../vpatterndb/vtranslatevars.h" #include "ui_dialogbisector.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogBisector create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogbisector.h b/src/libs/vtools/dialogs/tools/dialogbisector.h index b60e942cb..7a4dc7af8 100644 --- a/src/libs/vtools/dialogs/tools/dialogbisector.h +++ b/src/libs/vtools/dialogs/tools/dialogbisector.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogBisector; diff --git a/src/libs/vtools/dialogs/tools/dialogcubicbezier.cpp b/src/libs/vtools/dialogs/tools/dialogcubicbezier.cpp index 0665f0e30..f484264c2 100644 --- a/src/libs/vtools/dialogs/tools/dialogcubicbezier.cpp +++ b/src/libs/vtools/dialogs/tools/dialogcubicbezier.cpp @@ -42,8 +42,6 @@ #include "dialogtool.h" #include "ui_dialogcubicbezier.h" -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogCubicBezier::DialogCubicBezier(const VContainer *data, const quint32 &toolId, QWidget *parent) : DialogTool(data, toolId, parent), diff --git a/src/libs/vtools/dialogs/tools/dialogcubicbezier.h b/src/libs/vtools/dialogs/tools/dialogcubicbezier.h index dc72c7f1c..606cb4ead 100644 --- a/src/libs/vtools/dialogs/tools/dialogcubicbezier.h +++ b/src/libs/vtools/dialogs/tools/dialogcubicbezier.h @@ -40,9 +40,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; -class VPointF; template class QSharedPointer; namespace Ui diff --git a/src/libs/vtools/dialogs/tools/dialogcubicbezierpath.h b/src/libs/vtools/dialogs/tools/dialogcubicbezierpath.h index 725f639b0..1774b4309 100644 --- a/src/libs/vtools/dialogs/tools/dialogcubicbezierpath.h +++ b/src/libs/vtools/dialogs/tools/dialogcubicbezierpath.h @@ -41,9 +41,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogCubicBezierPath; diff --git a/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.cpp b/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.cpp index 0e9346659..da06c4a6e 100644 --- a/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.cpp +++ b/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.cpp @@ -54,9 +54,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogcurveintersectaxis.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogCurveIntersectAxis::DialogCurveIntersectAxis(const VContainer *data, const quint32 &toolId, QWidget *parent) :DialogTool(data, toolId, parent), ui(new Ui::DialogCurveIntersectAxis), formulaAngle(QString()), diff --git a/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.h b/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.h index a3cc3c54a..531be5591 100644 --- a/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.h +++ b/src/libs/vtools/dialogs/tools/dialogcurveintersectaxis.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogCurveIntersectAxis; diff --git a/src/libs/vtools/dialogs/tools/dialogcutarc.cpp b/src/libs/vtools/dialogs/tools/dialogcutarc.cpp index 000e74512..9a61192dc 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutarc.cpp +++ b/src/libs/vtools/dialogs/tools/dialogcutarc.cpp @@ -45,10 +45,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogcutarc.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogCutArc create dialog. diff --git a/src/libs/vtools/dialogs/tools/dialogcutarc.h b/src/libs/vtools/dialogs/tools/dialogcutarc.h index c10e371d2..33c061832 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutarc.h +++ b/src/libs/vtools/dialogs/tools/dialogcutarc.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogCutArc; diff --git a/src/libs/vtools/dialogs/tools/dialogcutspline.cpp b/src/libs/vtools/dialogs/tools/dialogcutspline.cpp index 75b28b483..794f27456 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutspline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogcutspline.cpp @@ -45,10 +45,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogcutspline.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogCutSpline create dialog. diff --git a/src/libs/vtools/dialogs/tools/dialogcutspline.h b/src/libs/vtools/dialogs/tools/dialogcutspline.h index 695de22f0..1a4ab86d1 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutspline.h +++ b/src/libs/vtools/dialogs/tools/dialogcutspline.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogCutSpline; diff --git a/src/libs/vtools/dialogs/tools/dialogcutsplinepath.cpp b/src/libs/vtools/dialogs/tools/dialogcutsplinepath.cpp index 33d4d96ad..31c44eaa9 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutsplinepath.cpp +++ b/src/libs/vtools/dialogs/tools/dialogcutsplinepath.cpp @@ -45,10 +45,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogcutsplinepath.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogCutSplinePath create dialog. diff --git a/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h b/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h index fd2021bf6..bf8709615 100644 --- a/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h +++ b/src/libs/vtools/dialogs/tools/dialogcutsplinepath.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogCutSplinePath; diff --git a/src/libs/vtools/dialogs/tools/dialogellipticalarc.cpp b/src/libs/vtools/dialogs/tools/dialogellipticalarc.cpp index 88bb8ed78..1cab6044d 100644 --- a/src/libs/vtools/dialogs/tools/dialogellipticalarc.cpp +++ b/src/libs/vtools/dialogs/tools/dialogellipticalarc.cpp @@ -47,10 +47,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogellipticalarc.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogEllipticalArc create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogellipticalarc.h b/src/libs/vtools/dialogs/tools/dialogellipticalarc.h index ff03b3ba4..760d27afe 100644 --- a/src/libs/vtools/dialogs/tools/dialogellipticalarc.h +++ b/src/libs/vtools/dialogs/tools/dialogellipticalarc.h @@ -38,11 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogEllipticalArc; diff --git a/src/libs/vtools/dialogs/tools/dialogendline.cpp b/src/libs/vtools/dialogs/tools/dialogendline.cpp index d95a190af..d67822fca 100644 --- a/src/libs/vtools/dialogs/tools/dialogendline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogendline.cpp @@ -55,9 +55,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogendline.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogEndLine create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogendline.h b/src/libs/vtools/dialogs/tools/dialogendline.h index 58e63214b..66c61417a 100644 --- a/src/libs/vtools/dialogs/tools/dialogendline.h +++ b/src/libs/vtools/dialogs/tools/dialogendline.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogEndLine; diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.h b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.h index ac456dcc9..a8f58c9c3 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.h +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.h @@ -41,9 +41,6 @@ #include "../vmisc/def.h" -class QWidget; -class VContainer; - namespace Ui { class DialogFlippingByAxis; diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyline.h b/src/libs/vtools/dialogs/tools/dialogflippingbyline.h index 300cbb0a3..489278f89 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyline.h +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyline.h @@ -41,9 +41,6 @@ #include "../vmisc/def.h" -class QWidget; -class VContainer; - namespace Ui { class DialogFlippingByLine; diff --git a/src/libs/vtools/dialogs/tools/dialoggroup.cpp b/src/libs/vtools/dialogs/tools/dialoggroup.cpp index 31fd3e94b..9dcf45b42 100644 --- a/src/libs/vtools/dialogs/tools/dialoggroup.cpp +++ b/src/libs/vtools/dialogs/tools/dialoggroup.cpp @@ -32,9 +32,6 @@ #include "ui_dialoggroup.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogGroup::DialogGroup(const VContainer *data, const quint32 &toolId, QWidget *parent) : DialogTool(data, toolId, parent), diff --git a/src/libs/vtools/dialogs/tools/dialoggroup.h b/src/libs/vtools/dialogs/tools/dialoggroup.h index 6434ea201..9907ff734 100644 --- a/src/libs/vtools/dialogs/tools/dialoggroup.h +++ b/src/libs/vtools/dialogs/tools/dialoggroup.h @@ -38,9 +38,6 @@ #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogGroup; diff --git a/src/libs/vtools/dialogs/tools/dialogheight.cpp b/src/libs/vtools/dialogs/tools/dialogheight.cpp index 1e3127cf8..b32cfbb58 100644 --- a/src/libs/vtools/dialogs/tools/dialogheight.cpp +++ b/src/libs/vtools/dialogs/tools/dialogheight.cpp @@ -52,8 +52,6 @@ #include "dialogtool.h" #include "ui_dialogheight.h" -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogHeight create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogheight.h b/src/libs/vtools/dialogs/tools/dialogheight.h index af9b2c76b..d07334007 100644 --- a/src/libs/vtools/dialogs/tools/dialogheight.h +++ b/src/libs/vtools/dialogs/tools/dialogheight.h @@ -38,9 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogHeight; diff --git a/src/libs/vtools/dialogs/tools/dialogline.cpp b/src/libs/vtools/dialogs/tools/dialogline.cpp index 923091334..74294e895 100644 --- a/src/libs/vtools/dialogs/tools/dialogline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogline.cpp @@ -43,9 +43,6 @@ #include "dialogs/tools/dialogtool.h" #include "ui_dialogline.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogLine create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogline.h b/src/libs/vtools/dialogs/tools/dialogline.h index b0148c889..fa67e13c8 100644 --- a/src/libs/vtools/dialogs/tools/dialogline.h +++ b/src/libs/vtools/dialogs/tools/dialogline.h @@ -38,9 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogLine; diff --git a/src/libs/vtools/dialogs/tools/dialoglineintersect.cpp b/src/libs/vtools/dialogs/tools/dialoglineintersect.cpp index 3e82cd601..80171a6fa 100644 --- a/src/libs/vtools/dialogs/tools/dialoglineintersect.cpp +++ b/src/libs/vtools/dialogs/tools/dialoglineintersect.cpp @@ -50,8 +50,6 @@ #include "dialogtool.h" #include "ui_dialoglineintersect.h" -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogLineIntersect create dialog diff --git a/src/libs/vtools/dialogs/tools/dialoglineintersect.h b/src/libs/vtools/dialogs/tools/dialoglineintersect.h index af95ab2db..fc2b37876 100644 --- a/src/libs/vtools/dialogs/tools/dialoglineintersect.h +++ b/src/libs/vtools/dialogs/tools/dialoglineintersect.h @@ -38,9 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogLineIntersect; diff --git a/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.cpp b/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.cpp index 4fae732a5..2adf57691 100644 --- a/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.cpp +++ b/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.cpp @@ -58,9 +58,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialoglineintersectaxis.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogLineIntersectAxis::DialogLineIntersectAxis(const VContainer *data, const quint32 &toolId, QWidget *parent) :DialogTool(data, toolId, parent), ui(new Ui::DialogLineIntersectAxis), formulaAngle(QString()), diff --git a/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.h b/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.h index bafe67414..d43f60d5e 100644 --- a/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.h +++ b/src/libs/vtools/dialogs/tools/dialoglineintersectaxis.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogLineIntersectAxis; diff --git a/src/libs/vtools/dialogs/tools/dialogmove.cpp b/src/libs/vtools/dialogs/tools/dialogmove.cpp index eaf85799b..e1251ce6c 100644 --- a/src/libs/vtools/dialogs/tools/dialogmove.cpp +++ b/src/libs/vtools/dialogs/tools/dialogmove.cpp @@ -62,9 +62,6 @@ #include "../vwidgets/vmaingraphicsscene.h" #include "ui_dialogmove.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogMove::DialogMove(const VContainer *data, quint32 toolId, QWidget *parent) : DialogTool(data, toolId, parent), diff --git a/src/libs/vtools/dialogs/tools/dialogmove.h b/src/libs/vtools/dialogs/tools/dialogmove.h index 9608780c6..2af9762fb 100644 --- a/src/libs/vtools/dialogs/tools/dialogmove.h +++ b/src/libs/vtools/dialogs/tools/dialogmove.h @@ -40,11 +40,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogMove; diff --git a/src/libs/vtools/dialogs/tools/dialognormal.cpp b/src/libs/vtools/dialogs/tools/dialognormal.cpp index cc4f9c9a9..4daae302b 100644 --- a/src/libs/vtools/dialogs/tools/dialognormal.cpp +++ b/src/libs/vtools/dialogs/tools/dialognormal.cpp @@ -50,10 +50,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialognormal.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogNormal create dialog diff --git a/src/libs/vtools/dialogs/tools/dialognormal.h b/src/libs/vtools/dialogs/tools/dialognormal.h index dd7f1867a..8a464deeb 100644 --- a/src/libs/vtools/dialogs/tools/dialognormal.h +++ b/src/libs/vtools/dialogs/tools/dialognormal.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogNormal; diff --git a/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.cpp b/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.cpp index 7e6dc55c4..0fb883c0b 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.cpp @@ -38,9 +38,6 @@ #include "dialogs/tools/dialogtool.h" #include "ui_dialogpointfromarcandtangent.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogPointFromArcAndTangent::DialogPointFromArcAndTangent(const VContainer *data, const quint32 &toolId, QWidget *parent) diff --git a/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.h b/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.h index e9c121f5d..5659ef9d4 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.h +++ b/src/libs/vtools/dialogs/tools/dialogpointfromarcandtangent.h @@ -39,9 +39,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogPointFromArcAndTangent; diff --git a/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.cpp b/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.cpp index 605571dfd..ee204af0b 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.cpp @@ -50,10 +50,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogpointfromcircleandtangent.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogPointFromCircleAndTangent::DialogPointFromCircleAndTangent(const VContainer *data, const quint32 &toolId, QWidget *parent) diff --git a/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.h b/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.h index 503a68a78..aaef6d26b 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.h +++ b/src/libs/vtools/dialogs/tools/dialogpointfromcircleandtangent.h @@ -39,11 +39,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogPointFromCircleAndTangent; diff --git a/src/libs/vtools/dialogs/tools/dialogpointofcontact.cpp b/src/libs/vtools/dialogs/tools/dialogpointofcontact.cpp index e6112dd0b..8d401e742 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofcontact.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointofcontact.cpp @@ -49,10 +49,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogpointofcontact.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogPointOfContact create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogpointofcontact.h b/src/libs/vtools/dialogs/tools/dialogpointofcontact.h index bed5a3bff..788d2b4f5 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofcontact.h +++ b/src/libs/vtools/dialogs/tools/dialogpointofcontact.h @@ -39,10 +39,6 @@ #include "dialogtool.h" #include "ui_dialogpointofcontact.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogPointOfContact; diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersection.cpp b/src/libs/vtools/dialogs/tools/dialogpointofintersection.cpp index f9a2936ca..4913f92b6 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersection.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersection.cpp @@ -42,9 +42,6 @@ #include "dialogtool.h" #include "ui_dialogpointofintersection.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogPointOfIntersection create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersection.h b/src/libs/vtools/dialogs/tools/dialogpointofintersection.h index ff0b834de..57952dd12 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersection.h +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersection.h @@ -38,9 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogPointOfIntersection; diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.cpp b/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.cpp index 7ca16810b..12532e9a5 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.cpp @@ -40,9 +40,6 @@ #include "dialogs/tools/dialogtool.h" #include "ui_dialogpointofintersectionarcs.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogPointOfIntersectionArcs::DialogPointOfIntersectionArcs(const VContainer *data, const quint32 &toolId, QWidget *parent) diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.h b/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.h index 94339c763..59d46e0e4 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.h +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersectionarcs.h @@ -39,9 +39,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogPointOfIntersectionArcs; diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.cpp b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.cpp index fc4c56d79..01b972602 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.cpp @@ -50,10 +50,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogpointofintersectioncircles.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogPointOfIntersectionCircles::DialogPointOfIntersectionCircles(const VContainer *data, const quint32 &toolId, QWidget *parent) diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.h b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.h index 4f373c5c3..729f5c9f0 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.h +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncircles.h @@ -39,11 +39,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogPointOfIntersectionCircles; diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.cpp b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.cpp index 1beca4ce3..4e676e181 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.cpp +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.cpp @@ -41,9 +41,6 @@ #include "dialogtool.h" #include "ui_dialogpointofintersectioncurves.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- DialogPointOfIntersectionCurves::DialogPointOfIntersectionCurves(const VContainer *data, const quint32 &toolId, QWidget *parent) diff --git a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.h b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.h index 6c32f9ce1..e18f03dd0 100644 --- a/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.h +++ b/src/libs/vtools/dialogs/tools/dialogpointofintersectioncurves.h @@ -39,9 +39,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogPointOfIntersectionCurves; } diff --git a/src/libs/vtools/dialogs/tools/dialogrotation.cpp b/src/libs/vtools/dialogs/tools/dialogrotation.cpp index f130e6371..98e1a326c 100644 --- a/src/libs/vtools/dialogs/tools/dialogrotation.cpp +++ b/src/libs/vtools/dialogs/tools/dialogrotation.cpp @@ -62,9 +62,6 @@ #include "../vwidgets/vmaingraphicsscene.h" #include "ui_dialogrotation.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogRotation::DialogRotation(const VContainer *data, const quint32 &toolId, QWidget *parent) : DialogTool(data, toolId, parent), diff --git a/src/libs/vtools/dialogs/tools/dialogrotation.h b/src/libs/vtools/dialogs/tools/dialogrotation.h index 6c5938aa6..ada4857a9 100644 --- a/src/libs/vtools/dialogs/tools/dialogrotation.h +++ b/src/libs/vtools/dialogs/tools/dialogrotation.h @@ -40,11 +40,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; - namespace Ui { class DialogRotation; diff --git a/src/libs/vtools/dialogs/tools/dialogshoulderpoint.cpp b/src/libs/vtools/dialogs/tools/dialogshoulderpoint.cpp index 0b4d9ed11..c20c04977 100644 --- a/src/libs/vtools/dialogs/tools/dialogshoulderpoint.cpp +++ b/src/libs/vtools/dialogs/tools/dialogshoulderpoint.cpp @@ -50,10 +50,6 @@ #include "../vmisc/vcommonsettings.h" #include "ui_dialogshoulderpoint.h" -class QCloseEvent; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogShoulderPoint create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogshoulderpoint.h b/src/libs/vtools/dialogs/tools/dialogshoulderpoint.h index 6a6a905ec..c66f3bcdf 100644 --- a/src/libs/vtools/dialogs/tools/dialogshoulderpoint.h +++ b/src/libs/vtools/dialogs/tools/dialogshoulderpoint.h @@ -38,10 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; - namespace Ui { class DialogShoulderPoint; diff --git a/src/libs/vtools/dialogs/tools/dialogsinglepoint.cpp b/src/libs/vtools/dialogs/tools/dialogsinglepoint.cpp index a073a1eeb..12502d7bf 100644 --- a/src/libs/vtools/dialogs/tools/dialogsinglepoint.cpp +++ b/src/libs/vtools/dialogs/tools/dialogsinglepoint.cpp @@ -36,10 +36,6 @@ #include "dialogtool.h" #include "ui_dialogsinglepoint.h" -class QPointF; -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogSinglePoint create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogsinglepoint.h b/src/libs/vtools/dialogs/tools/dialogsinglepoint.h index 49723e99d..c238c38bf 100644 --- a/src/libs/vtools/dialogs/tools/dialogsinglepoint.h +++ b/src/libs/vtools/dialogs/tools/dialogsinglepoint.h @@ -38,10 +38,6 @@ #include "dialogtool.h" -class QPointF; -class QWidget; -class VContainer; - namespace Ui { class DialogSinglePoint; diff --git a/src/libs/vtools/dialogs/tools/dialogspline.cpp b/src/libs/vtools/dialogs/tools/dialogspline.cpp index e89d1db5b..ae768eb09 100644 --- a/src/libs/vtools/dialogs/tools/dialogspline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogspline.cpp @@ -56,9 +56,6 @@ #include "ui_dialogspline.h" #include "vtranslatevars.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogSpline create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogspline.h b/src/libs/vtools/dialogs/tools/dialogspline.h index fea70e017..c59960994 100644 --- a/src/libs/vtools/dialogs/tools/dialogspline.h +++ b/src/libs/vtools/dialogs/tools/dialogspline.h @@ -40,11 +40,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QTimer; -class QWidget; -class VContainer; -class VPointF; template class QSharedPointer; namespace Ui diff --git a/src/libs/vtools/dialogs/tools/dialogsplinepath.cpp b/src/libs/vtools/dialogs/tools/dialogsplinepath.cpp index ac35e9874..a7aa4baa1 100644 --- a/src/libs/vtools/dialogs/tools/dialogsplinepath.cpp +++ b/src/libs/vtools/dialogs/tools/dialogsplinepath.cpp @@ -63,9 +63,6 @@ #include "ui_dialogsplinepath.h" #include "vtranslatevars.h" -class QCloseEvent; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogSplinePath create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogsplinepath.h b/src/libs/vtools/dialogs/tools/dialogsplinepath.h index c635a5ab8..cbc463917 100644 --- a/src/libs/vtools/dialogs/tools/dialogsplinepath.h +++ b/src/libs/vtools/dialogs/tools/dialogsplinepath.h @@ -41,11 +41,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QCloseEvent; -class QWidget; -class VContainer; -class VSplinePoint; - namespace Ui { class DialogSplinePath; diff --git a/src/libs/vtools/dialogs/tools/dialogtool.cpp b/src/libs/vtools/dialogs/tools/dialogtool.cpp index 64463a4c7..8ab851f48 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtool.cpp @@ -73,9 +73,6 @@ #include "../vgeometry/vabstractcurve.h" #include "../vgeometry/vgobject.h" -class QCloseEvent; -class QKeyEvent; -class QShowEvent; template class QSharedPointer; Q_LOGGING_CATEGORY(vDialog, "v.dialog") diff --git a/src/libs/vtools/dialogs/tools/dialogtool.h b/src/libs/vtools/dialogs/tools/dialogtool.h index 460a28d18..c61f50c56 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.h +++ b/src/libs/vtools/dialogs/tools/dialogtool.h @@ -59,24 +59,14 @@ #include "../vmisc/vcommonsettings.h" #include "../vwidgets/vmaingraphicsscene.h" -class QCloseEvent; -class QEvent; -class QIcon; -class QLineEdit; -class QShowEvent; -class QTimer; -class QWidget; -class VGObject; template class QSharedPointer; Q_DECLARE_LOGGING_CATEGORY(vDialog) class QDoubleSpinBox; class QLabel; -class QListWidgetItem; class QPlainTextEdit; class VAbstractTool; -class VContainer; enum class FillComboBox : char { Whole, NoChildren}; diff --git a/src/libs/vtools/dialogs/tools/dialogtriangle.cpp b/src/libs/vtools/dialogs/tools/dialogtriangle.cpp index d9c4be59f..1a2b65bbc 100644 --- a/src/libs/vtools/dialogs/tools/dialogtriangle.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtriangle.cpp @@ -42,9 +42,6 @@ #include "dialogtool.h" #include "ui_dialogtriangle.h" -class QWidget; -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogTriangle create dialog diff --git a/src/libs/vtools/dialogs/tools/dialogtriangle.h b/src/libs/vtools/dialogs/tools/dialogtriangle.h index 07e819907..61ef19c8f 100644 --- a/src/libs/vtools/dialogs/tools/dialogtriangle.h +++ b/src/libs/vtools/dialogs/tools/dialogtriangle.h @@ -38,9 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogTriangle; diff --git a/src/libs/vtools/dialogs/tools/dialogtruedarts.cpp b/src/libs/vtools/dialogs/tools/dialogtruedarts.cpp index a0d4ba69f..348690a9d 100644 --- a/src/libs/vtools/dialogs/tools/dialogtruedarts.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtruedarts.cpp @@ -49,8 +49,6 @@ #include "dialogtool.h" #include "ui_dialogtruedarts.h" -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- DialogTrueDarts::DialogTrueDarts(const VContainer *data, const quint32 &toolId, QWidget *parent) :DialogTool(data, toolId, parent), ui(new Ui::DialogTrueDarts), d1PointName(), d2PointName(), ch1(NULL_ID), diff --git a/src/libs/vtools/dialogs/tools/dialogtruedarts.h b/src/libs/vtools/dialogs/tools/dialogtruedarts.h index 031ebd393..b63d218f1 100644 --- a/src/libs/vtools/dialogs/tools/dialogtruedarts.h +++ b/src/libs/vtools/dialogs/tools/dialogtruedarts.h @@ -38,11 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QLabel; -class QLineEdit; -class QWidget; -class VContainer; - namespace Ui { class DialogTrueDarts; diff --git a/src/libs/vtools/dialogs/tools/dialoguniondetails.cpp b/src/libs/vtools/dialogs/tools/dialoguniondetails.cpp index 8c54a9dee..966b03b92 100644 --- a/src/libs/vtools/dialogs/tools/dialoguniondetails.cpp +++ b/src/libs/vtools/dialogs/tools/dialoguniondetails.cpp @@ -38,8 +38,6 @@ #include "dialogtool.h" #include "ui_dialoguniondetails.h" -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief DialogUnionDetails create dialog diff --git a/src/libs/vtools/dialogs/tools/dialoguniondetails.h b/src/libs/vtools/dialogs/tools/dialoguniondetails.h index b1edf103c..9e5c9a6ee 100644 --- a/src/libs/vtools/dialogs/tools/dialoguniondetails.h +++ b/src/libs/vtools/dialogs/tools/dialoguniondetails.h @@ -38,9 +38,6 @@ #include "../vmisc/def.h" #include "dialogtool.h" -class QWidget; -class VContainer; - namespace Ui { class DialogUnionDetails; diff --git a/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyaxis.cpp b/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyaxis.cpp index b68296a1b..4f3f24524 100644 --- a/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyaxis.cpp +++ b/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyaxis.cpp @@ -62,11 +62,6 @@ #include "../../../vdatatool.h" #include "../../vdrawtool.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPainter; -class QStyleOptionGraphicsItem; -class QWidget; template class QSharedPointer; const QString VToolFlippingByAxis::ToolType = QStringLiteral("flippingByAxis"); diff --git a/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyline.cpp b/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyline.cpp index 55d1a7a25..b1a1417e9 100644 --- a/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyline.cpp +++ b/src/libs/vtools/tools/drawTools/operation/flipping/vtoolflippingbyline.cpp @@ -62,11 +62,6 @@ #include "../../../vdatatool.h" #include "../../vdrawtool.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPainter; -class QStyleOptionGraphicsItem; -class QWidget; template class QSharedPointer; const QString VToolFlippingByLine::ToolType = QStringLiteral("flippingByLine"); diff --git a/src/libs/vtools/tools/drawTools/operation/vabstractoperation.h b/src/libs/vtools/tools/drawTools/operation/vabstractoperation.h index fc4e49892..27d21bb59 100644 --- a/src/libs/vtools/tools/drawTools/operation/vabstractoperation.h +++ b/src/libs/vtools/tools/drawTools/operation/vabstractoperation.h @@ -49,15 +49,6 @@ struct DestinationItem qreal my; }; -class VAbstractSimple; -class VAbstractPattern; -class QDomElement; -class QPainter; -class QPointF; -class QStyleOptionGraphicsItem; -class QWidget; -class VContainer; - // FIXME. I don't know how to use QGraphicsItem properly, so just took first available finished class. // QGraphicsItem itself produce case where clicking on empty space produce call to QGraphicsItem. // And i don't know how to fix it. diff --git a/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp b/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp index e6cb24cb7..b1fb346bd 100644 --- a/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp +++ b/src/libs/vtools/tools/drawTools/operation/vtoolmove.cpp @@ -70,11 +70,6 @@ #include "../../vdatatool.h" #include "../vdrawtool.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPainter; -class QStyleOptionGraphicsItem; -class QWidget; template class QSharedPointer; const QString VToolMove::ToolType = QStringLiteral("moving"); diff --git a/src/libs/vtools/tools/drawTools/operation/vtoolmove.h b/src/libs/vtools/tools/drawTools/operation/vtoolmove.h index faa36bdcc..699debd6e 100644 --- a/src/libs/vtools/tools/drawTools/operation/vtoolmove.h +++ b/src/libs/vtools/tools/drawTools/operation/vtoolmove.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "../ifc/xml/vabstractpattern.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VFormula; diff --git a/src/libs/vtools/tools/drawTools/operation/vtoolrotation.h b/src/libs/vtools/tools/drawTools/operation/vtoolrotation.h index f46cbee00..fe64c9bb1 100644 --- a/src/libs/vtools/tools/drawTools/operation/vtoolrotation.h +++ b/src/libs/vtools/tools/drawTools/operation/vtoolrotation.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "../ifc/xml/vabstractpattern.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VFormula; diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.cpp index b075557b0..0c9dcc0a0 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.cpp @@ -54,12 +54,6 @@ #include "../../vabstracttool.h" #include "../vdrawtool.h" -class QDomElement; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VAbstractSpline::VAbstractSpline(VAbstractPattern *doc, VContainer *data, quint32 id, QGraphicsItem *parent) :VDrawTool(doc, data, id), QGraphicsPathItem(parent), controlPoints(QVector()), diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h b/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h index 2c6e7f31f..b71dd6012 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h @@ -51,16 +51,7 @@ #include "../vwidgets/vmaingraphicsscene.h" #include "../vwidgets/vmaingraphicsview.h" -class QDomElement; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; -class QPointF; -class VAbstractPattern; -class VContainer; class VControlPointSpline; -class VGObject; -class VSpline; template class QSharedPointer; class VAbstractSpline:public VDrawTool, public QGraphicsPathItem diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.cpp index 8f7d7274e..6214d3b4a 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.cpp @@ -56,9 +56,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; - const QString VToolArc::ToolType = QStringLiteral("simple"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.h index 2bca55fa8..ba774e9b7 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarc.h @@ -40,13 +40,7 @@ #include "../vmisc/def.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; class VFormula; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.cpp index 0e63d348e..142b3adde 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.cpp @@ -56,9 +56,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; - const QString VToolArcWithLength::ToolType = QStringLiteral("arcWithLength"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.h index 349bfd5b8..9d42098a0 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolarcwithlength.h @@ -40,13 +40,7 @@ #include "../vmisc/def.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; class VFormula; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolArcWithLength : public VAbstractSpline diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.cpp index dc8532c71..ec00153cc 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.cpp @@ -54,9 +54,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; - const QString VToolCubicBezier::ToolType = QStringLiteral("cubicBezier"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.h index 477b9f2b9..d34a621f9 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezier.h @@ -40,13 +40,7 @@ #include "../ifc/xml/vabstractpattern.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; class VCubicBezier; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolCubicBezier : public VAbstractSpline diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.cpp index 1996d55a7..e9950f62f 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.cpp @@ -56,9 +56,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; - const QString VToolCubicBezierPath::ToolType = QStringLiteral("cubicBezierPath"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.h index 7f09b66b5..72fbfe334 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolcubicbezierpath.h @@ -40,14 +40,7 @@ #include "../vmisc/def.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; class VCubicBezierPath; -class VGObject; -class VMainGraphicsScene; -class VPointF; template class QSharedPointer; class VToolCubicBezierPath:public VAbstractSpline diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp index 74fd655ec..1352c5de3 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp @@ -56,9 +56,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; - const QString VToolEllipticalArc::ToolType = QStringLiteral("simple"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.h index 8956ed341..4aeca75b1 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.h @@ -40,13 +40,7 @@ #include "../vmisc/def.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; class VFormula; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp index 32e0db0f0..c2aa013a2 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.cpp @@ -69,11 +69,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; - const QString VToolSpline::ToolType = QStringLiteral("simpleInteractive"); const QString VToolSpline::OldToolType = QStringLiteral("simple"); diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.h index efa7d5028..0d876c545 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolspline.h @@ -42,16 +42,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; -class VSpline; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp index bb7bb170f..41440eda1 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.cpp @@ -74,11 +74,6 @@ #include "../vdrawtool.h" #include "vabstractspline.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; - const QString VToolSplinePath::ToolType = QStringLiteral("pathInteractive"); const QString VToolSplinePath::OldToolType = QStringLiteral("path"); diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.h b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.h index a50696dd7..9c405a3ca 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolsplinepath.h @@ -43,18 +43,7 @@ #include "../ifc/xml/vabstractpattern.h" #include "vabstractspline.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; -class VSpline; class VSplinePath; -class VSplinePoint; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp index eefa4484f..afd69b858 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp @@ -53,10 +53,6 @@ #include "../../vdrawtool.h" #include "../vabstractpoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QKeyEvent; - //--------------------------------------------------------------------------------------------------------------------- VToolDoublePoint::VToolDoublePoint(VAbstractPattern *doc, VContainer *data, quint32 id, quint32 p1id, quint32 p2id, QGraphicsItem *parent) diff --git a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.h b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.h index 0b1d784d0..eec49a6b8 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.h @@ -42,15 +42,6 @@ #include "../vabstractpoint.h" #include "../vmisc/def.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QKeyEvent; -class QPointF; -class VAbstractPattern; -class VContainer; -class VGObject; -class VGraphicsSimpleTextItem; -class VPointF; class VSimplePoint; template class QSharedPointer; diff --git a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.cpp b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.cpp index d53c8376a..b530786e1 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.cpp @@ -50,9 +50,6 @@ #include "../../vdrawtool.h" #include "vtooldoublepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolTrueDarts::ToolType = QStringLiteral("trueDarts"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.h b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.h index 5f191f19c..feb7f6c45 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooltruedarts.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "vtooldoublepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolTrueDarts : public VToolDoublePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcut.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcut.h index ce4a7699c..684a2ca9d 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcut.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcut.h @@ -43,7 +43,6 @@ #include "../../../../vdatatool.h" #include "../../../../../visualization/visualization.h" -class VContainer; class VFormula; class VToolCut : public VToolSinglePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.cpp index 7358e3f69..1c6312a78 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.cpp @@ -52,9 +52,6 @@ #include "../../../vdrawtool.h" #include "vtoolcut.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VGObject; template class QSharedPointer; const QString VToolCutArc::ToolType = QStringLiteral("cutArc"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.h index 6befc19a0..910c04130 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutarc.h @@ -41,12 +41,6 @@ #include "../vmisc/def.h" #include "vtoolcut.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.cpp index 7bd86b195..80aa19cdc 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.cpp @@ -54,9 +54,6 @@ #include "../../../vdrawtool.h" #include "vtoolcut.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VGObject; template class QSharedPointer; const QString VToolCutSpline::ToolType = QStringLiteral("cutSpline"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.h index 619a8ee2d..b7d66cf2c 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutspline.h @@ -41,12 +41,6 @@ #include "../vmisc/def.h" #include "vtoolcut.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.cpp index e7f9b1acb..601791095 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.cpp @@ -57,9 +57,6 @@ #include "../../../vdrawtool.h" #include "vtoolcut.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VGObject; template class QSharedPointer; const QString VToolCutSplinePath::ToolType = QStringLiteral("cutSplinePath"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.h index 7892cab59..df6c25536 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toolcut/vtoolcutsplinepath.h @@ -41,14 +41,6 @@ #include "../vmisc/def.h" #include "vtoolcut.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VAbstractCubicBezierPath; -class VContainer; -class VGObject; -class VMainGraphicsScene; -class VPointF; class VSplinePath; template class QSharedPointer; diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.cpp index 8744c2043..2f2735fe4 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.cpp @@ -54,8 +54,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; template class QSharedPointer; const QString VToolAlongLine::ToolType = QStringLiteral("alongLine"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.h index 64dee10fc..4bb5bb7ba 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolalongline.h @@ -41,12 +41,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.cpp index a75bc8a9f..76706dce5 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.cpp @@ -52,9 +52,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolBisector::ToolType = QStringLiteral("bisector"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.h index a3e207011..a02a1f77f 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolbisector.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.cpp index 3497876db..5d4af8e18 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.cpp @@ -65,9 +65,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolCurveIntersectAxis::ToolType = QStringLiteral("curveIntersectAxis"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.h index 018d379aa..a3a36908c 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolcurveintersectaxis.h @@ -44,15 +44,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VAbstractCurve; -class VContainer; -class VGObject; -class VMainGraphicsScene; -class VPointF; template class QSharedPointer; class VToolCurveIntersectAxis : public VToolLinePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.cpp index c88e48d50..4e6add8e6 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.cpp @@ -52,9 +52,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VGObject; template class QSharedPointer; const QString VToolEndLine::ToolType = QStringLiteral("endLine"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.h index fab75209d..2502b5152 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolendline.h @@ -42,12 +42,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.cpp index 0ad049fa0..c5a9d17b7 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.cpp @@ -48,10 +48,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QLineF; -class QPointF; template class QSharedPointer; const QString VToolHeight::ToolType = QStringLiteral("height"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.h index b918ec5fc..b217e8acd 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolheight.h @@ -43,14 +43,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QLineF; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.cpp index c9c636bd9..90fde2922 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.cpp @@ -51,9 +51,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VGObject; template class QSharedPointer; const QString VToolLineIntersectAxis::ToolType = QStringLiteral("lineIntersectAxis"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.h index 396d24882..ca84af02d 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollineintersectaxis.h @@ -44,14 +44,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QLineF; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolLineIntersectAxis : public VToolLinePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.cpp index 1fd55fba5..9bf80f800 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.cpp @@ -49,7 +49,6 @@ #include "../../../vdrawtool.h" #include "../vtoolsinglepoint.h" -class QDomElement; template class QSharedPointer; //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.h index 8cb7e3b15..dd6e86f8d 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoollinepoint.h @@ -40,10 +40,6 @@ #include "../vtoolsinglepoint.h" #include "../vmisc/def.h" -class QDomElement; -class VAbstractPattern; -class VContainer; -class VGObject; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.cpp index e543e39a4..094b4fbab 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.cpp @@ -52,9 +52,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolNormal::ToolType = QStringLiteral("normal"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.h index 0c2ab225d..72619fa8f 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolnormal.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.cpp index a2606aedb..cf9e51ad1 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.cpp @@ -54,9 +54,6 @@ #include "../../../vdrawtool.h" #include "vtoollinepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolShoulderPoint::ToolType = QStringLiteral("shoulder"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.h index eb1f42366..c409d6d0b 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/toollinepoint/vtoolshoulderpoint.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "vtoollinepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp index 952e330d5..19b49e4a8 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.cpp @@ -68,11 +68,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; - const QString VToolBasePoint::ToolType = QStringLiteral("single"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.h index e865c2eb4..1a02bb8c5 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolbasepoint.h @@ -43,14 +43,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; -class VPointF; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.cpp index dad12e820..08965e7b1 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.cpp @@ -51,8 +51,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; template class QSharedPointer; const QString VToolLineIntersect::ToolType = QStringLiteral("lineIntersect"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.h index fd8c6d005..c97ec9624 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoollineintersect.h @@ -41,12 +41,6 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.cpp index 36a4181d4..4509cbbed 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.cpp @@ -50,9 +50,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolPointFromArcAndTangent::ToolType = QStringLiteral("pointFromArcAndTangent"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.h index a21abfa84..0fa94ff4e 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromarcandtangent.h @@ -42,14 +42,6 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VArc; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolPointFromArcAndTangent : public VToolSinglePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.cpp index 96ba98fcb..4ea5cb5d4 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.cpp @@ -51,9 +51,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolPointFromCircleAndTangent::ToolType = QStringLiteral("pointFromCircleAndTangent"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.h index bbe2c68e1..1617151df 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointfromcircleandtangent.h @@ -42,14 +42,7 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; class VFormula; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolPointFromCircleAndTangent : public VToolSinglePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.cpp index 8fd3a715e..eb487fc10 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.cpp @@ -56,9 +56,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolPointOfContact::ToolType = QStringLiteral("pointOfContact"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.h index 2ad91ee4c..45c0fb7d4 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofcontact.h @@ -42,14 +42,7 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; class VFormula; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.cpp index 920a2aa98..6a2189960 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.cpp @@ -49,8 +49,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; template class QSharedPointer; const QString VToolPointOfIntersection::ToolType = QStringLiteral("pointOfIntersection"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.h index f47d48f02..749091be6 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersection.h @@ -41,12 +41,6 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.cpp index fd7449b35..5a4ed2d80 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.cpp @@ -50,8 +50,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; template class QSharedPointer; const QString VToolPointOfIntersectionArcs::ToolType = QStringLiteral("pointOfIntersectionArcs"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.h index 4d2c0b462..abbaa6879 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectionarcs.h @@ -42,14 +42,6 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VArc; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolPointOfIntersectionArcs : public VToolSinglePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.cpp index 20816d8d8..f4b5dfea4 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.cpp @@ -51,9 +51,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolPointOfIntersectionCircles::ToolType = QStringLiteral("pointOfIntersectionCircles"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.h index baac46e68..bfe8f524d 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncircles.h @@ -42,14 +42,7 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; class VFormula; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolPointOfIntersectionCircles : public VToolSinglePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.cpp index b0bce324c..47758dc00 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.cpp @@ -50,9 +50,6 @@ #include "../../vdrawtool.h" #include "vtoolsinglepoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolPointOfIntersectionCurves::ToolType = QStringLiteral("pointOfIntersectionCurves"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.h index 8bb7415fb..9b5b986f1 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolpointofintersectioncurves.h @@ -43,13 +43,6 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; class VToolPointOfIntersectionCurves : public VToolSinglePoint diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.cpp index d34df795d..277b1934f 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.cpp @@ -59,12 +59,6 @@ #include "../../vdrawtool.h" #include "../vabstractpoint.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; - QT_WARNING_PUSH QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes") QT_WARNING_DISABLE_INTEL(1418) diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.h index cfb81f59c..ea10559ea 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtoolsinglepoint.h @@ -42,17 +42,6 @@ #include "../vabstractpoint.h" #include "../vmisc/def.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; -class QPointF; -class VAbstractPattern; -class VContainer; -class VGObject; -class VGraphicsSimpleTextItem; -class VPointF; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.cpp b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.cpp index c597d6dbb..cebca4ee5 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.cpp @@ -51,9 +51,6 @@ #include "vtoolsinglepoint.h" #include "../vmisc/vmath.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; template class QSharedPointer; const QString VToolTriangle::ToolType = QStringLiteral("triangle"); diff --git a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.h b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.h index 7ff33b5a2..a9dbcf7a0 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.h @@ -42,13 +42,6 @@ #include "../vmisc/def.h" #include "vtoolsinglepoint.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QPointF; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/toolpoint/vabstractpoint.h b/src/libs/vtools/tools/drawTools/toolpoint/vabstractpoint.h index c59fc0334..006cb2c97 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/vabstractpoint.h +++ b/src/libs/vtools/tools/drawTools/toolpoint/vabstractpoint.h @@ -49,9 +49,6 @@ #include "../../../visualization/visualization.h" #include "../../vabstracttool.h" -class QPointF; -class VAbstractPattern; - class VAbstractPoint: public VDrawTool { Q_OBJECT diff --git a/src/libs/vtools/tools/drawTools/vdrawtool.cpp b/src/libs/vtools/tools/drawTools/vdrawtool.cpp index db85d3d0a..fffead828 100644 --- a/src/libs/vtools/tools/drawTools/vdrawtool.cpp +++ b/src/libs/vtools/tools/drawTools/vdrawtool.cpp @@ -47,8 +47,6 @@ #include "../vmisc/logging.h" #include "../vabstracttool.h" -class QDomElement; -class VGObject; template class QSharedPointer; qreal VDrawTool::factor = 1; diff --git a/src/libs/vtools/tools/drawTools/vdrawtool.h b/src/libs/vtools/tools/drawTools/vdrawtool.h index 105e212e6..5c7df9bca 100644 --- a/src/libs/vtools/tools/drawTools/vdrawtool.h +++ b/src/libs/vtools/tools/drawTools/vdrawtool.h @@ -51,11 +51,6 @@ #include "../vwidgets/vmaingraphicsview.h" #include "../vdatatool.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class VAbstractPattern; -class VContainer; -class VGObject; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/drawTools/vtoolline.cpp b/src/libs/vtools/tools/drawTools/vtoolline.cpp index b25c10d1e..568952692 100644 --- a/src/libs/vtools/tools/drawTools/vtoolline.cpp +++ b/src/libs/vtools/tools/drawTools/vtoolline.cpp @@ -52,10 +52,6 @@ #include "../vabstracttool.h" #include "vdrawtool.h" -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QKeyEvent; template class QSharedPointer; //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/drawTools/vtoolline.h b/src/libs/vtools/tools/drawTools/vtoolline.h index e0da6010c..24bd8529a 100644 --- a/src/libs/vtools/tools/drawTools/vtoolline.h +++ b/src/libs/vtools/tools/drawTools/vtoolline.h @@ -43,14 +43,6 @@ #include "../vmisc/def.h" #include "vdrawtool.h" -class DialogTool; -class QDomElement; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QKeyEvent; -class VContainer; -class VGObject; -class VMainGraphicsScene; template class QSharedPointer; /** diff --git a/src/libs/vtools/tools/nodeDetails/vabstractnode.cpp b/src/libs/vtools/tools/nodeDetails/vabstractnode.cpp index 1fecba190..6d1ec701b 100644 --- a/src/libs/vtools/tools/nodeDetails/vabstractnode.cpp +++ b/src/libs/vtools/tools/nodeDetails/vabstractnode.cpp @@ -44,8 +44,6 @@ #include "../vpatterndb/vcontainer.h" #include "../vabstracttool.h" -class QDomElement; - const QString VAbstractNode::AttrIdTool = QStringLiteral("idTool"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/nodeDetails/vabstractnode.h b/src/libs/vtools/tools/nodeDetails/vabstractnode.h index 3bb25bbc8..cfc45919a 100644 --- a/src/libs/vtools/tools/nodeDetails/vabstractnode.h +++ b/src/libs/vtools/tools/nodeDetails/vabstractnode.h @@ -39,10 +39,6 @@ #include "../vabstracttool.h" -class QDomElement; -class VAbstractPattern; -class VContainer; - enum class ParentType : bool {Scene, Item}; /** diff --git a/src/libs/vtools/tools/nodeDetails/vnodearc.h b/src/libs/vtools/tools/nodeDetails/vnodearc.h index 4f5a6d284..e9d81714f 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodearc.h +++ b/src/libs/vtools/tools/nodeDetails/vnodearc.h @@ -40,8 +40,6 @@ #include "../vmisc/def.h" #include "vabstractnode.h" -class VContainer; - /** * @brief The VNodeArc class arc detail node. */ diff --git a/src/libs/vtools/tools/nodeDetails/vnodepoint.cpp b/src/libs/vtools/tools/nodeDetails/vnodepoint.cpp index cdc588f43..2a0a9a1a2 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodepoint.cpp +++ b/src/libs/vtools/tools/nodeDetails/vnodepoint.cpp @@ -55,10 +55,6 @@ #include "../vdatatool.h" #include "vabstractnode.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; - const QString VNodePoint::ToolType = QStringLiteral("modeling"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/nodeDetails/vnodepoint.h b/src/libs/vtools/tools/nodeDetails/vnodepoint.h index f88c405b7..89417d017 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodepoint.h +++ b/src/libs/vtools/tools/nodeDetails/vnodepoint.h @@ -42,17 +42,6 @@ #include "../vmisc/def.h" #include "vabstractnode.h" -class QGraphicsItem; -class QGraphicsLineItem; -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QPointF; -class VContainer; -class VGraphicsSimpleTextItem; -class VMainGraphicsScene; -class VPointF; - /** * @brief The VNodePoint class point detail node. */ diff --git a/src/libs/vtools/tools/nodeDetails/vnodespline.cpp b/src/libs/vtools/tools/nodeDetails/vnodespline.cpp index c59762801..dd3df98dd 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodespline.cpp +++ b/src/libs/vtools/tools/nodeDetails/vnodespline.cpp @@ -39,8 +39,6 @@ #include "../vdatatool.h" #include "vabstractnode.h" -class VContainer; - const QString VNodeSpline::ToolType = QStringLiteral("modelingSpline"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/nodeDetails/vnodespline.h b/src/libs/vtools/tools/nodeDetails/vnodespline.h index aba5c77ab..092c77522 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodespline.h +++ b/src/libs/vtools/tools/nodeDetails/vnodespline.h @@ -40,8 +40,6 @@ #include "../vmisc/def.h" #include "vabstractnode.h" -class VContainer; - /** * @brief The VNodeSpline class spline detail node. */ diff --git a/src/libs/vtools/tools/nodeDetails/vnodesplinepath.cpp b/src/libs/vtools/tools/nodeDetails/vnodesplinepath.cpp index 11d9efb0b..8e8aa4b0d 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodesplinepath.cpp +++ b/src/libs/vtools/tools/nodeDetails/vnodesplinepath.cpp @@ -39,8 +39,6 @@ #include "../vdatatool.h" #include "vabstractnode.h" -class VContainer; - const QString VNodeSplinePath::ToolType = QStringLiteral("modelingPath"); //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/tools/nodeDetails/vnodesplinepath.h b/src/libs/vtools/tools/nodeDetails/vnodesplinepath.h index 8a1b9c096..fe5d15479 100644 --- a/src/libs/vtools/tools/nodeDetails/vnodesplinepath.h +++ b/src/libs/vtools/tools/nodeDetails/vnodesplinepath.h @@ -40,8 +40,6 @@ #include "../vmisc/def.h" #include "vabstractnode.h" -class VContainer; - /** * @brief The VNodeSplinePath class spline path detail node. */ diff --git a/src/libs/vtools/tools/vabstracttool.cpp b/src/libs/vtools/tools/vabstracttool.cpp index 27e059746..57110ad48 100644 --- a/src/libs/vtools/tools/vabstracttool.cpp +++ b/src/libs/vtools/tools/vabstracttool.cpp @@ -79,8 +79,6 @@ #include "../dialogs/support/dialogundo.h" #include "../dialogs/support/dialogeditwrongformula.h" -class QGraphicsEllipseItem; -class QGraphicsLineItem; template class QSharedPointer; const QString VAbstractTool::AttrInUse = QStringLiteral("inUse"); diff --git a/src/libs/vtools/tools/vabstracttool.h b/src/libs/vtools/tools/vabstracttool.h index e4bec6a15..15b99c857 100644 --- a/src/libs/vtools/tools/vabstracttool.h +++ b/src/libs/vtools/tools/vabstracttool.h @@ -46,19 +46,7 @@ #include "../vwidgets/vmaingraphicsscene.h" #include "vdatatool.h" -class QDomElement; -class QGraphicsEllipseItem; -class QGraphicsItem; -class QGraphicsLineItem; -class QGraphicsScene; -class QGraphicsView; -class QIcon; -class QLineF; -class QPointF; -class QRectF; -class VContainer; class VGraphicsSimpleTextItem; -class Visualization; /** * @brief The VAbstractTool abstract class for all tools. diff --git a/src/libs/vtools/tools/vdatatool.h b/src/libs/vtools/tools/vdatatool.h index ff1452932..f180ef80d 100644 --- a/src/libs/vtools/tools/vdatatool.h +++ b/src/libs/vtools/tools/vdatatool.h @@ -40,8 +40,6 @@ Q_DECLARE_LOGGING_CATEGORY(vTool) -class QObject; - //We need QObject class because we use qobject_cast. /** * @brief The VDataTool class need for getting access to data container of tool. diff --git a/src/libs/vtools/tools/vtoolseamallowance.h b/src/libs/vtools/tools/vtoolseamallowance.h index 304936fd3..abbb13c13 100644 --- a/src/libs/vtools/tools/vtoolseamallowance.h +++ b/src/libs/vtools/tools/vtoolseamallowance.h @@ -38,9 +38,7 @@ #include "../vwidgets/vtextgraphicsitem.h" #include "../vwidgets/vgrainlineitem.h" -class VMainGraphicsScene; class DialogTool; -class VPiece; class VNoBrushScalePathItem; class VToolSeamAllowance : public VAbstractTool, public QGraphicsPathItem diff --git a/src/libs/vtools/tools/vtooluniondetails.cpp b/src/libs/vtools/tools/vtooluniondetails.cpp index eb05667f4..f912fd98c 100644 --- a/src/libs/vtools/tools/vtooluniondetails.cpp +++ b/src/libs/vtools/tools/vtooluniondetails.cpp @@ -71,10 +71,6 @@ #include "vnodedetail.h" #include "vtoolseamallowance.h" -class QDomElement; -class QDomNode; -class QPointF; - const QString VToolUnionDetails::ToolType = QStringLiteral("unionDetails"); const QString VToolUnionDetails::TagDetail = QStringLiteral("det"); const QString VToolUnionDetails::TagNode = QStringLiteral("node"); diff --git a/src/libs/vtools/tools/vtooluniondetails.h b/src/libs/vtools/tools/vtooluniondetails.h index a0d652bbe..552a4b0a9 100644 --- a/src/libs/vtools/tools/vtooluniondetails.h +++ b/src/libs/vtools/tools/vtooluniondetails.h @@ -46,12 +46,6 @@ #include "../vpatterndb/vpiece.h" class DialogTool; -class QDomElement; -class QDomNode; -class QPointF; -class VContainer; -class VMainGraphicsScene; -class VPointF; struct VToolUnionDetailsInitData { diff --git a/src/libs/vtools/undocommands/adddetnode.cpp b/src/libs/vtools/undocommands/adddetnode.cpp index 6349c4731..5895583d5 100644 --- a/src/libs/vtools/undocommands/adddetnode.cpp +++ b/src/libs/vtools/undocommands/adddetnode.cpp @@ -35,9 +35,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- AddDetNode::AddDetNode(const QDomElement &xml, VAbstractPattern *doc, const QString &drawName, QUndoCommand *parent) : VUndoCommand(xml, doc, parent), m_drawName(drawName) diff --git a/src/libs/vtools/undocommands/adddetnode.h b/src/libs/vtools/undocommands/adddetnode.h index abca3b84a..3a9ded5e7 100644 --- a/src/libs/vtools/undocommands/adddetnode.h +++ b/src/libs/vtools/undocommands/adddetnode.h @@ -38,10 +38,6 @@ #include "vundocommand.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - class AddDetNode : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/addgroup.cpp b/src/libs/vtools/undocommands/addgroup.cpp index 97b5405cc..2a5645044 100644 --- a/src/libs/vtools/undocommands/addgroup.cpp +++ b/src/libs/vtools/undocommands/addgroup.cpp @@ -38,9 +38,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- AddGroup::AddGroup(const QDomElement &xml, VAbstractPattern *doc, QUndoCommand *parent) : VUndoCommand(xml, doc, parent), nameActivDraw(doc->GetNameActivPP()) diff --git a/src/libs/vtools/undocommands/addgroup.h b/src/libs/vtools/undocommands/addgroup.h index 90844599c..55961ff69 100644 --- a/src/libs/vtools/undocommands/addgroup.h +++ b/src/libs/vtools/undocommands/addgroup.h @@ -38,10 +38,6 @@ #include "vundocommand.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - class AddGroup : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/addpatternpiece.cpp b/src/libs/vtools/undocommands/addpatternpiece.cpp index 9f9e89a55..aa8ea541d 100644 --- a/src/libs/vtools/undocommands/addpatternpiece.cpp +++ b/src/libs/vtools/undocommands/addpatternpiece.cpp @@ -33,9 +33,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- AddPatternPiece::AddPatternPiece(const QDomElement &xml, VAbstractPattern *doc, const QString &namePP, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/addpatternpiece.h b/src/libs/vtools/undocommands/addpatternpiece.h index 7da9e32c5..0cdc25c19 100644 --- a/src/libs/vtools/undocommands/addpatternpiece.h +++ b/src/libs/vtools/undocommands/addpatternpiece.h @@ -38,10 +38,6 @@ #include "vundocommand.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - class AddPatternPiece : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/addpiece.h b/src/libs/vtools/undocommands/addpiece.h index f04c6c7a6..85b3df3ab 100644 --- a/src/libs/vtools/undocommands/addpiece.h +++ b/src/libs/vtools/undocommands/addpiece.h @@ -40,11 +40,6 @@ #include "vpiece.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - - class AddPiece : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/addtocalc.cpp b/src/libs/vtools/undocommands/addtocalc.cpp index 85fc3ced2..72871aff4 100644 --- a/src/libs/vtools/undocommands/addtocalc.cpp +++ b/src/libs/vtools/undocommands/addtocalc.cpp @@ -37,9 +37,6 @@ #include "../vmisc/vabstractapplication.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- AddToCalc::AddToCalc(const QDomElement &xml, VAbstractPattern *doc, QUndoCommand *parent) : VUndoCommand(xml, doc, parent), nameActivDraw(doc->GetNameActivPP()), cursor(doc->getCursor()) diff --git a/src/libs/vtools/undocommands/addtocalc.h b/src/libs/vtools/undocommands/addtocalc.h index 730d75833..212439a90 100644 --- a/src/libs/vtools/undocommands/addtocalc.h +++ b/src/libs/vtools/undocommands/addtocalc.h @@ -38,10 +38,6 @@ #include "vundocommand.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - class AddToCalc : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/deletepatternpiece.cpp b/src/libs/vtools/undocommands/deletepatternpiece.cpp index c0289733c..2d0b9cf08 100644 --- a/src/libs/vtools/undocommands/deletepatternpiece.cpp +++ b/src/libs/vtools/undocommands/deletepatternpiece.cpp @@ -35,8 +35,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- DeletePatternPiece::DeletePatternPiece(VAbstractPattern *doc, const QString &namePP, QUndoCommand *parent) : VUndoCommand(QDomElement(), doc, parent), namePP(namePP), patternPiece(QDomElement()), diff --git a/src/libs/vtools/undocommands/deletepatternpiece.h b/src/libs/vtools/undocommands/deletepatternpiece.h index 513ba0d65..5f981f1a3 100644 --- a/src/libs/vtools/undocommands/deletepatternpiece.h +++ b/src/libs/vtools/undocommands/deletepatternpiece.h @@ -38,9 +38,6 @@ #include "vundocommand.h" -class QUndoCommand; -class VAbstractPattern; - class DeletePatternPiece : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/deletepiece.cpp b/src/libs/vtools/undocommands/deletepiece.cpp index fba723c2f..a466b69ea 100644 --- a/src/libs/vtools/undocommands/deletepiece.cpp +++ b/src/libs/vtools/undocommands/deletepiece.cpp @@ -41,8 +41,6 @@ #include "../vpatterndb/vpiecenode.h" #include "../vpatterndb/vpiecepath.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- DeletePiece::DeletePiece(VAbstractPattern *doc, quint32 id, const VPiece &detail, QUndoCommand *parent) : VUndoCommand(QDomElement(), doc, parent), diff --git a/src/libs/vtools/undocommands/deletepiece.h b/src/libs/vtools/undocommands/deletepiece.h index b06a77613..7f5125e72 100644 --- a/src/libs/vtools/undocommands/deletepiece.h +++ b/src/libs/vtools/undocommands/deletepiece.h @@ -35,10 +35,6 @@ #include "vpiece.h" #include "vundocommand.h" -class QGraphicsItem; -class QUndoCommand; -class VAbstractPattern; - class DeletePiece : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/delgroup.cpp b/src/libs/vtools/undocommands/delgroup.cpp index d37aca76c..7e35e0d94 100644 --- a/src/libs/vtools/undocommands/delgroup.cpp +++ b/src/libs/vtools/undocommands/delgroup.cpp @@ -39,8 +39,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- DelGroup::DelGroup(VAbstractPattern *doc, quint32 id, QUndoCommand *parent) : VUndoCommand(QDomElement(), doc, parent), nameActivDraw(doc->GetNameActivPP()) diff --git a/src/libs/vtools/undocommands/delgroup.h b/src/libs/vtools/undocommands/delgroup.h index 315aca590..4c2aeb950 100644 --- a/src/libs/vtools/undocommands/delgroup.h +++ b/src/libs/vtools/undocommands/delgroup.h @@ -37,9 +37,6 @@ #include "vundocommand.h" -class QUndoCommand; -class VAbstractPattern; - class DelGroup : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/deltool.cpp b/src/libs/vtools/undocommands/deltool.cpp index 1c55e9916..8d2f345fe 100644 --- a/src/libs/vtools/undocommands/deltool.cpp +++ b/src/libs/vtools/undocommands/deltool.cpp @@ -35,8 +35,6 @@ #include "../vmisc/logging.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- DelTool::DelTool(VAbstractPattern *doc, quint32 id, QUndoCommand *parent) : VUndoCommand(QDomElement(), doc, parent), parentNode(QDomNode()), siblingId(NULL_ID), diff --git a/src/libs/vtools/undocommands/deltool.h b/src/libs/vtools/undocommands/deltool.h index 59e25c087..83377ca80 100644 --- a/src/libs/vtools/undocommands/deltool.h +++ b/src/libs/vtools/undocommands/deltool.h @@ -38,10 +38,6 @@ #include "vundocommand.h" -class QGraphicsItem; -class QUndoCommand; -class VAbstractPattern; - class DelTool : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/label/moveabstractlabel.cpp b/src/libs/vtools/undocommands/label/moveabstractlabel.cpp index 21453384f..7f30b11b6 100644 --- a/src/libs/vtools/undocommands/label/moveabstractlabel.cpp +++ b/src/libs/vtools/undocommands/label/moveabstractlabel.cpp @@ -35,9 +35,6 @@ #include "../vwidgets/vmaingraphicsview.h" #include "../vundocommand.h" -class QUndoCommand; -class VAbstractPattern; - //--------------------------------------------------------------------------------------------------------------------- MoveAbstractLabel::MoveAbstractLabel(VAbstractPattern *doc, quint32 pointId, double x, double y, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/label/moveabstractlabel.h b/src/libs/vtools/undocommands/label/moveabstractlabel.h index b29dc8027..ae255e68b 100644 --- a/src/libs/vtools/undocommands/label/moveabstractlabel.h +++ b/src/libs/vtools/undocommands/label/moveabstractlabel.h @@ -38,9 +38,6 @@ #include "../vundocommand.h" class QGraphicsScene; -class QGraphicsView; -class QUndoCommand; -class VAbstractPattern; class MoveAbstractLabel : public VUndoCommand { diff --git a/src/libs/vtools/undocommands/label/movedoublelabel.cpp b/src/libs/vtools/undocommands/label/movedoublelabel.cpp index c8a35a7f9..55eddc744 100644 --- a/src/libs/vtools/undocommands/label/movedoublelabel.cpp +++ b/src/libs/vtools/undocommands/label/movedoublelabel.cpp @@ -38,8 +38,6 @@ #include "../vundocommand.h" #include "moveabstractlabel.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- MoveDoubleLabel::MoveDoubleLabel(VAbstractPattern *doc, const double &x, const double &y, DoublePoint type, quint32 toolId, quint32 pointId, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/label/movedoublelabel.h b/src/libs/vtools/undocommands/label/movedoublelabel.h index d9ea6900c..4a0147cbf 100644 --- a/src/libs/vtools/undocommands/label/movedoublelabel.h +++ b/src/libs/vtools/undocommands/label/movedoublelabel.h @@ -37,9 +37,6 @@ #include "moveabstractlabel.h" -class QUndoCommand; -class VAbstractPattern; - enum class DoublePoint: char { FirstPoint, SecondPoint }; class MoveDoubleLabel : public MoveAbstractLabel diff --git a/src/libs/vtools/undocommands/label/movelabel.cpp b/src/libs/vtools/undocommands/label/movelabel.cpp index 28a4e18b5..7f37ea7c8 100644 --- a/src/libs/vtools/undocommands/label/movelabel.cpp +++ b/src/libs/vtools/undocommands/label/movelabel.cpp @@ -38,8 +38,6 @@ #include "../vundocommand.h" #include "moveabstractlabel.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- MoveLabel::MoveLabel(VAbstractPattern *doc, const double &x, const double &y, const quint32 &id, QUndoCommand *parent) : MoveAbstractLabel(doc, id, x, y, parent) diff --git a/src/libs/vtools/undocommands/label/movelabel.h b/src/libs/vtools/undocommands/label/movelabel.h index a7ce5793d..d3014e85d 100644 --- a/src/libs/vtools/undocommands/label/movelabel.h +++ b/src/libs/vtools/undocommands/label/movelabel.h @@ -37,9 +37,6 @@ #include "moveabstractlabel.h" -class QUndoCommand; -class VAbstractPattern; - class MoveLabel : public MoveAbstractLabel { Q_OBJECT diff --git a/src/libs/vtools/undocommands/label/operationmovelabel.cpp b/src/libs/vtools/undocommands/label/operationmovelabel.cpp index 1d2db9c06..f93842f05 100644 --- a/src/libs/vtools/undocommands/label/operationmovelabel.cpp +++ b/src/libs/vtools/undocommands/label/operationmovelabel.cpp @@ -40,8 +40,6 @@ #include "../vundocommand.h" #include "moveabstractlabel.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- OperationMoveLabel::OperationMoveLabel(quint32 idTool, VAbstractPattern *doc, double x, double y, quint32 idPoint, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/label/operationmovelabel.h b/src/libs/vtools/undocommands/label/operationmovelabel.h index b88f57f5b..cc516025a 100644 --- a/src/libs/vtools/undocommands/label/operationmovelabel.h +++ b/src/libs/vtools/undocommands/label/operationmovelabel.h @@ -38,10 +38,6 @@ #include "moveabstractlabel.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - class OperationMoveLabel : public MoveAbstractLabel { Q_OBJECT diff --git a/src/libs/vtools/undocommands/movepiece.cpp b/src/libs/vtools/undocommands/movepiece.cpp index ac5b324ac..c294d4e31 100644 --- a/src/libs/vtools/undocommands/movepiece.cpp +++ b/src/libs/vtools/undocommands/movepiece.cpp @@ -38,9 +38,6 @@ #include "../vwidgets/vmaingraphicsview.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- MovePiece::MovePiece(VAbstractPattern *doc, const double &x, const double &y, const quint32 &id, QGraphicsScene *scene, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/movepiece.h b/src/libs/vtools/undocommands/movepiece.h index 95d0b5535..04cbd80d4 100644 --- a/src/libs/vtools/undocommands/movepiece.h +++ b/src/libs/vtools/undocommands/movepiece.h @@ -37,10 +37,7 @@ #include "vundocommand.h" -class QDomElement; class QGraphicsScene; -class QUndoCommand; -class VAbstractPattern; class MovePiece : public VUndoCommand { diff --git a/src/libs/vtools/undocommands/movespline.cpp b/src/libs/vtools/undocommands/movespline.cpp index 64de80e40..b0176a9c9 100644 --- a/src/libs/vtools/undocommands/movespline.cpp +++ b/src/libs/vtools/undocommands/movespline.cpp @@ -40,8 +40,6 @@ #include "../vgeometry/vspline.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- MoveSpline::MoveSpline(VAbstractPattern *doc, const VSpline *oldSpl, const VSpline &newSpl, const quint32 &id, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/movespline.h b/src/libs/vtools/undocommands/movespline.h index 1636da182..4b34e6344 100644 --- a/src/libs/vtools/undocommands/movespline.h +++ b/src/libs/vtools/undocommands/movespline.h @@ -39,8 +39,6 @@ #include "vundocommand.h" class QGraphicsScene; -class QUndoCommand; -class VAbstractPattern; class MoveSpline : public VUndoCommand { diff --git a/src/libs/vtools/undocommands/movesplinepath.cpp b/src/libs/vtools/undocommands/movesplinepath.cpp index 0cc0626b3..ccd7ff331 100644 --- a/src/libs/vtools/undocommands/movesplinepath.cpp +++ b/src/libs/vtools/undocommands/movesplinepath.cpp @@ -39,8 +39,6 @@ #include "../vgeometry/vsplinepath.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- MoveSplinePath::MoveSplinePath(VAbstractPattern *doc, const VSplinePath &oldSplPath, const VSplinePath &newSplPath, const quint32 &id, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/movesplinepath.h b/src/libs/vtools/undocommands/movesplinepath.h index c9198972b..aef06e5dd 100644 --- a/src/libs/vtools/undocommands/movesplinepath.h +++ b/src/libs/vtools/undocommands/movesplinepath.h @@ -39,8 +39,6 @@ #include "vundocommand.h" class QGraphicsScene; -class QUndoCommand; -class VAbstractPattern; class MoveSplinePath : public VUndoCommand { diff --git a/src/libs/vtools/undocommands/movespoint.cpp b/src/libs/vtools/undocommands/movespoint.cpp index 3180715ef..d4f621369 100644 --- a/src/libs/vtools/undocommands/movespoint.cpp +++ b/src/libs/vtools/undocommands/movespoint.cpp @@ -37,8 +37,6 @@ #include "../vmisc/def.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- MoveSPoint::MoveSPoint(VAbstractPattern *doc, const double &x, const double &y, const quint32 &id, QGraphicsScene *scene, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/movespoint.h b/src/libs/vtools/undocommands/movespoint.h index 1558c913f..8d67dce4e 100644 --- a/src/libs/vtools/undocommands/movespoint.h +++ b/src/libs/vtools/undocommands/movespoint.h @@ -38,8 +38,6 @@ #include "vundocommand.h" class QGraphicsScene; -class QUndoCommand; -class VAbstractPattern; class MoveSPoint : public VUndoCommand { diff --git a/src/libs/vtools/undocommands/renamepp.cpp b/src/libs/vtools/undocommands/renamepp.cpp index d2c53c5d9..d7eb34296 100644 --- a/src/libs/vtools/undocommands/renamepp.cpp +++ b/src/libs/vtools/undocommands/renamepp.cpp @@ -36,8 +36,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- RenamePP::RenamePP(VAbstractPattern *doc, const QString &newPPname, QComboBox *combo, QUndoCommand *parent) :VUndoCommand(QDomElement(), doc, parent), combo(combo), newPPname(newPPname), oldPPname(QString()) diff --git a/src/libs/vtools/undocommands/renamepp.h b/src/libs/vtools/undocommands/renamepp.h index cc376a083..2990e0c0d 100644 --- a/src/libs/vtools/undocommands/renamepp.h +++ b/src/libs/vtools/undocommands/renamepp.h @@ -37,10 +37,6 @@ #include "vundocommand.h" -class QComboBox; -class QUndoCommand; -class VAbstractPattern; - class RenamePP :public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/savepieceoptions.cpp b/src/libs/vtools/undocommands/savepieceoptions.cpp index daeef8aab..9328d8d40 100644 --- a/src/libs/vtools/undocommands/savepieceoptions.cpp +++ b/src/libs/vtools/undocommands/savepieceoptions.cpp @@ -44,9 +44,6 @@ #include "../tools/vtoolseamallowance.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- SavePieceOptions::SavePieceOptions(const VPiece &oldDet, const VPiece &newDet, VAbstractPattern *doc, quint32 id, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/savepieceoptions.h b/src/libs/vtools/undocommands/savepieceoptions.h index dd4b7f8cb..7560af059 100644 --- a/src/libs/vtools/undocommands/savepieceoptions.h +++ b/src/libs/vtools/undocommands/savepieceoptions.h @@ -34,9 +34,6 @@ #include "vpiece.h" #include "vundocommand.h" -class QUndoCommand; -class VAbstractPattern; - class SavePieceOptions : public VUndoCommand { public: diff --git a/src/libs/vtools/undocommands/savepiecepathoptions.cpp b/src/libs/vtools/undocommands/savepiecepathoptions.cpp index 0c1520d76..4dee60e08 100644 --- a/src/libs/vtools/undocommands/savepiecepathoptions.cpp +++ b/src/libs/vtools/undocommands/savepiecepathoptions.cpp @@ -36,9 +36,6 @@ #include "../vmisc/logging.h" #include "../tools/nodeDetails/vtoolpiecepath.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- SavePiecePathOptions::SavePiecePathOptions(const VPiecePath &oldPath, const VPiecePath &newPath, VAbstractPattern *doc, VContainer *data, quint32 id, diff --git a/src/libs/vtools/undocommands/savepiecepathoptions.h b/src/libs/vtools/undocommands/savepiecepathoptions.h index f869df012..9c48a2625 100644 --- a/src/libs/vtools/undocommands/savepiecepathoptions.h +++ b/src/libs/vtools/undocommands/savepiecepathoptions.h @@ -34,9 +34,6 @@ #include "../vpatterndb/vpiecepath.h" #include "vundocommand.h" -class QUndoCommand; -class VAbstractPattern; - class SavePiecePathOptions : public VUndoCommand { public: diff --git a/src/libs/vtools/undocommands/savetooloptions.cpp b/src/libs/vtools/undocommands/savetooloptions.cpp index 6ec7b4fed..e5ed2a76b 100644 --- a/src/libs/vtools/undocommands/savetooloptions.cpp +++ b/src/libs/vtools/undocommands/savetooloptions.cpp @@ -35,9 +35,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "vundocommand.h" -class QDomElement; -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- SaveToolOptions::SaveToolOptions(const QDomElement &oldXml, const QDomElement &newXml, VAbstractPattern *doc, const quint32 &id, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/savetooloptions.h b/src/libs/vtools/undocommands/savetooloptions.h index fda49775b..89258dd02 100644 --- a/src/libs/vtools/undocommands/savetooloptions.h +++ b/src/libs/vtools/undocommands/savetooloptions.h @@ -38,10 +38,6 @@ #include "vundocommand.h" -class QDomElement; -class QUndoCommand; -class VAbstractPattern; - class SaveToolOptions : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/togglepieceinlayout.cpp b/src/libs/vtools/undocommands/togglepieceinlayout.cpp index 7a3b65016..2e5d4cd05 100644 --- a/src/libs/vtools/undocommands/togglepieceinlayout.cpp +++ b/src/libs/vtools/undocommands/togglepieceinlayout.cpp @@ -41,8 +41,6 @@ #include "../vpatterndb/vpiece.h" #include "vundocommand.h" -class QUndoCommand; - //--------------------------------------------------------------------------------------------------------------------- TogglePieceInLayout::TogglePieceInLayout(quint32 id, bool state, VContainer *data, VAbstractPattern *doc, QUndoCommand *parent) diff --git a/src/libs/vtools/undocommands/togglepieceinlayout.h b/src/libs/vtools/undocommands/togglepieceinlayout.h index d4879968e..dd22d5fde 100644 --- a/src/libs/vtools/undocommands/togglepieceinlayout.h +++ b/src/libs/vtools/undocommands/togglepieceinlayout.h @@ -37,10 +37,6 @@ #include "vundocommand.h" -class QUndoCommand; -class VAbstractPattern; -class VContainer; - class TogglePieceInLayout : public VUndoCommand { Q_OBJECT diff --git a/src/libs/vtools/undocommands/vundocommand.cpp b/src/libs/vtools/undocommands/vundocommand.cpp index cd430d377..e2f3acc46 100644 --- a/src/libs/vtools/undocommands/vundocommand.cpp +++ b/src/libs/vtools/undocommands/vundocommand.cpp @@ -35,10 +35,6 @@ #include "../vpatterndb/vnodedetail.h" #include "../vpatterndb/vpiecenode.h" -class QDomElement; -class QDomNode; -class QUndoCommand; - Q_LOGGING_CATEGORY(vUndo, "v.undo") //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vtools/undocommands/vundocommand.h b/src/libs/vtools/undocommands/vundocommand.h index 58f5c1d32..c5f22c4de 100644 --- a/src/libs/vtools/undocommands/vundocommand.h +++ b/src/libs/vtools/undocommands/vundocommand.h @@ -41,10 +41,6 @@ #include "../ifc/xml/vabstractpattern.h" #include "../vmisc/logging.h" -class QDomElement; -class QDomNode; -class QUndoCommand; - Q_DECLARE_LOGGING_CATEGORY(vUndo) enum class UndoCommand: char { AddPatternPiece, @@ -66,7 +62,6 @@ enum class UndoCommand: char { AddPatternPiece, TogglePieceInLayout }; -class VPieceNode; class VPattern; class VUndoCommand : public QObject, public QUndoCommand diff --git a/src/libs/vtools/visualization/line/operation/vistoolmove.h b/src/libs/vtools/visualization/line/operation/vistoolmove.h index 9121395a4..e1da85f92 100644 --- a/src/libs/vtools/visualization/line/operation/vistoolmove.h +++ b/src/libs/vtools/visualization/line/operation/vistoolmove.h @@ -43,9 +43,6 @@ #include "../vmisc/def.h" #include "visoperation.h" -class QPointF; -class VContainer; - class VisToolMove : public VisOperation { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/operation/vistoolrotation.cpp b/src/libs/vtools/visualization/line/operation/vistoolrotation.cpp index 148990ebf..af122dc62 100644 --- a/src/libs/vtools/visualization/line/operation/vistoolrotation.cpp +++ b/src/libs/vtools/visualization/line/operation/vistoolrotation.cpp @@ -55,8 +55,6 @@ #include "../vwidgets/vmaingraphicsscene.h" #include "visoperation.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VisToolRotation::VisToolRotation(const VContainer *data, QGraphicsItem *parent) : VisOperation(data, parent), diff --git a/src/libs/vtools/visualization/line/operation/vistoolrotation.h b/src/libs/vtools/visualization/line/operation/vistoolrotation.h index 2f262dcc2..1c766cc1a 100644 --- a/src/libs/vtools/visualization/line/operation/vistoolrotation.h +++ b/src/libs/vtools/visualization/line/operation/vistoolrotation.h @@ -43,9 +43,6 @@ #include "../vmisc/def.h" #include "visoperation.h" -class QPointF; -class VContainer; - class VisToolRotation : public VisOperation { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/visline.cpp b/src/libs/vtools/visualization/line/visline.cpp index d66e1d9d9..1c129856e 100644 --- a/src/libs/vtools/visualization/line/visline.cpp +++ b/src/libs/vtools/visualization/line/visline.cpp @@ -39,8 +39,6 @@ #include "../vmisc/vmath.h" #include "../vpatterndb/vcontainer.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VisLine::VisLine(const VContainer *data, QGraphicsItem *parent) :Visualization(data), QGraphicsLineItem(parent) diff --git a/src/libs/vtools/visualization/line/visline.h b/src/libs/vtools/visualization/line/visline.h index 4bf49b1dd..036837b96 100644 --- a/src/libs/vtools/visualization/line/visline.h +++ b/src/libs/vtools/visualization/line/visline.h @@ -44,11 +44,6 @@ #include "../vtools/visualization/visualization.h" #include "../vmisc/def.h" - -class QLineF; -class QPointF; -class VContainer; - class VisLine: public Visualization, public QGraphicsLineItem { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolalongline.h b/src/libs/vtools/visualization/line/vistoolalongline.h index fd9a161f7..ed89fd874 100644 --- a/src/libs/vtools/visualization/line/vistoolalongline.h +++ b/src/libs/vtools/visualization/line/vistoolalongline.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolAlongLine :public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolbisector.h b/src/libs/vtools/visualization/line/vistoolbisector.h index 3bc21be09..105b13054 100644 --- a/src/libs/vtools/visualization/line/vistoolbisector.h +++ b/src/libs/vtools/visualization/line/vistoolbisector.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolBisector :public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolcurveintersectaxis.h b/src/libs/vtools/visualization/line/vistoolcurveintersectaxis.h index 6133af4c1..a6cc7628d 100644 --- a/src/libs/vtools/visualization/line/vistoolcurveintersectaxis.h +++ b/src/libs/vtools/visualization/line/vistoolcurveintersectaxis.h @@ -39,9 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QGraphicsEllipseItem; -class VContainer; - class VisToolCurveIntersectAxis : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolendline.h b/src/libs/vtools/visualization/line/vistoolendline.h index 888f4fe18..37e377da4 100644 --- a/src/libs/vtools/visualization/line/vistoolendline.h +++ b/src/libs/vtools/visualization/line/vistoolendline.h @@ -39,9 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QGraphicsEllipseItem; -class VContainer; - class VisToolEndLine : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolheight.h b/src/libs/vtools/visualization/line/vistoolheight.h index 065fea621..cc048d8bc 100644 --- a/src/libs/vtools/visualization/line/vistoolheight.h +++ b/src/libs/vtools/visualization/line/vistoolheight.h @@ -40,9 +40,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QLineF; -class VContainer; - class VisToolHeight : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolline.cpp b/src/libs/vtools/visualization/line/vistoolline.cpp index 032d3c74f..31fae46fc 100644 --- a/src/libs/vtools/visualization/line/vistoolline.cpp +++ b/src/libs/vtools/visualization/line/vistoolline.cpp @@ -41,8 +41,6 @@ #include "../visualization.h" #include "visualization/line/visline.h" -class QLineF; - //--------------------------------------------------------------------------------------------------------------------- VisToolLine::VisToolLine(const VContainer *data, QGraphicsItem *parent) :VisLine(data, parent), point2Id(NULL_ID) diff --git a/src/libs/vtools/visualization/line/vistoolline.h b/src/libs/vtools/visualization/line/vistoolline.h index 2dd4019d2..6c5d28cb1 100644 --- a/src/libs/vtools/visualization/line/vistoolline.h +++ b/src/libs/vtools/visualization/line/vistoolline.h @@ -42,9 +42,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QLineF; -class VContainer; - class VisToolLine : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoollineintersect.h b/src/libs/vtools/visualization/line/vistoollineintersect.h index 7aab10d3c..8eb710f2a 100644 --- a/src/libs/vtools/visualization/line/vistoollineintersect.h +++ b/src/libs/vtools/visualization/line/vistoollineintersect.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolLineIntersect :public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoollineintersectaxis.h b/src/libs/vtools/visualization/line/vistoollineintersectaxis.h index b8deeafcd..a23e14762 100644 --- a/src/libs/vtools/visualization/line/vistoollineintersectaxis.h +++ b/src/libs/vtools/visualization/line/vistoollineintersectaxis.h @@ -40,10 +40,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QGraphicsEllipseItem; -class QLineF; -class VContainer; - class VisToolLineIntersectAxis : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolnormal.h b/src/libs/vtools/visualization/line/vistoolnormal.h index d197835b7..697c14492 100644 --- a/src/libs/vtools/visualization/line/vistoolnormal.h +++ b/src/libs/vtools/visualization/line/vistoolnormal.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolNormal : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.cpp b/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.cpp index b269472f5..e612c52b6 100644 --- a/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.cpp +++ b/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.cpp @@ -46,8 +46,6 @@ #include "../visualization.h" #include "visline.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VisToolPointFromArcAndTangent::VisToolPointFromArcAndTangent(const VContainer *data, QGraphicsItem *parent) : VisLine(data, parent), arcId(NULL_ID), crossPoint(CrossCirclesPoint::FirstPoint), diff --git a/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.h b/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.h index 58654475e..fb084044d 100644 --- a/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.h +++ b/src/libs/vtools/visualization/line/vistoolpointfromarcandtangent.h @@ -41,10 +41,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QPointF; -class VArc; -class VContainer; - class VisToolPointFromArcAndTangent : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.cpp b/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.cpp index 655c3c57b..3bc2345af 100644 --- a/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.cpp +++ b/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.cpp @@ -42,8 +42,6 @@ #include "../visualization.h" #include "visline.h" -class QPointF; - //--------------------------------------------------------------------------------------------------------------------- VisToolPointFromCircleAndTangent::VisToolPointFromCircleAndTangent(const VContainer *data, QGraphicsItem *parent) : VisLine(data, parent), object2Id(NULL_ID), cRadius(0), crossPoint(CrossCirclesPoint::FirstPoint), diff --git a/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.h b/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.h index a9c679fb8..56707572f 100644 --- a/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.h +++ b/src/libs/vtools/visualization/line/vistoolpointfromcircleandtangent.h @@ -41,9 +41,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QPointF; -class VContainer; - class VisToolPointFromCircleAndTangent : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolpointofcontact.h b/src/libs/vtools/visualization/line/vistoolpointofcontact.h index cd6c68630..094745963 100644 --- a/src/libs/vtools/visualization/line/vistoolpointofcontact.h +++ b/src/libs/vtools/visualization/line/vistoolpointofcontact.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolPointOfContact : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolpointofintersection.h b/src/libs/vtools/visualization/line/vistoolpointofintersection.h index e333ed895..51be1e3cd 100644 --- a/src/libs/vtools/visualization/line/vistoolpointofintersection.h +++ b/src/libs/vtools/visualization/line/vistoolpointofintersection.h @@ -41,9 +41,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QLineF; -class VContainer; - class VisToolPointOfIntersection : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolpointofintersectionarcs.h b/src/libs/vtools/visualization/line/vistoolpointofintersectionarcs.h index c8237d9d1..c42a0f0e3 100644 --- a/src/libs/vtools/visualization/line/vistoolpointofintersectionarcs.h +++ b/src/libs/vtools/visualization/line/vistoolpointofintersectionarcs.h @@ -40,8 +40,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolPointOfIntersectionArcs : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolpointofintersectioncircles.h b/src/libs/vtools/visualization/line/vistoolpointofintersectioncircles.h index bcd65ab94..cdc56b5cb 100644 --- a/src/libs/vtools/visualization/line/vistoolpointofintersectioncircles.h +++ b/src/libs/vtools/visualization/line/vistoolpointofintersectioncircles.h @@ -40,8 +40,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolPointOfIntersectionCircles : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistoolshoulderpoint.h b/src/libs/vtools/visualization/line/vistoolshoulderpoint.h index 825299bef..f3c363a0e 100644 --- a/src/libs/vtools/visualization/line/vistoolshoulderpoint.h +++ b/src/libs/vtools/visualization/line/vistoolshoulderpoint.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolShoulderPoint : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistooltriangle.cpp b/src/libs/vtools/visualization/line/vistooltriangle.cpp index 4df5c29bb..d4e117e8a 100644 --- a/src/libs/vtools/visualization/line/vistooltriangle.cpp +++ b/src/libs/vtools/visualization/line/vistooltriangle.cpp @@ -45,8 +45,6 @@ #include "../visualization.h" #include "visline.h" -class QLineF; - //--------------------------------------------------------------------------------------------------------------------- VisToolTriangle::VisToolTriangle(const VContainer *data, QGraphicsItem *parent) :VisLine(data, parent), object2Id(NULL_ID), hypotenuseP1Id(NULL_ID), hypotenuseP2Id(NULL_ID), point(nullptr), diff --git a/src/libs/vtools/visualization/line/vistooltriangle.h b/src/libs/vtools/visualization/line/vistooltriangle.h index 51bb10512..2a2b632e2 100644 --- a/src/libs/vtools/visualization/line/vistooltriangle.h +++ b/src/libs/vtools/visualization/line/vistooltriangle.h @@ -42,10 +42,6 @@ #include "../vmisc/def.h" #include "visline.h" -class QLineF; -class QPainterPath; -class VContainer; - class VisToolTriangle : public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/line/vistooltruedarts.h b/src/libs/vtools/visualization/line/vistooltruedarts.h index ace642210..13058d248 100644 --- a/src/libs/vtools/visualization/line/vistooltruedarts.h +++ b/src/libs/vtools/visualization/line/vistooltruedarts.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "visline.h" -class VContainer; - class VisToolTrueDarts :public VisLine { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vispath.h b/src/libs/vtools/visualization/path/vispath.h index 3e42e952f..d1cd1e686 100644 --- a/src/libs/vtools/visualization/path/vispath.h +++ b/src/libs/vtools/visualization/path/vispath.h @@ -40,8 +40,6 @@ #include "../visualization.h" #include "../vmisc/def.h" -class VContainer; - class VisPath : public Visualization, public QGraphicsPathItem { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolarc.h b/src/libs/vtools/visualization/path/vistoolarc.h index e2a2f86c4..30155eb47 100644 --- a/src/libs/vtools/visualization/path/vistoolarc.h +++ b/src/libs/vtools/visualization/path/vistoolarc.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolArc : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolarcwithlength.h b/src/libs/vtools/visualization/path/vistoolarcwithlength.h index 9696b789e..c455a533f 100644 --- a/src/libs/vtools/visualization/path/vistoolarcwithlength.h +++ b/src/libs/vtools/visualization/path/vistoolarcwithlength.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolArcWithLength : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolcubicbezier.h b/src/libs/vtools/visualization/path/vistoolcubicbezier.h index 10f861df1..97074b806 100644 --- a/src/libs/vtools/visualization/path/vistoolcubicbezier.h +++ b/src/libs/vtools/visualization/path/vistoolcubicbezier.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolCubicBezier : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolcubicbezierpath.cpp b/src/libs/vtools/visualization/path/vistoolcubicbezierpath.cpp index d56227be1..dda866ddd 100644 --- a/src/libs/vtools/visualization/path/vistoolcubicbezierpath.cpp +++ b/src/libs/vtools/visualization/path/vistoolcubicbezierpath.cpp @@ -42,8 +42,6 @@ #include "../visualization.h" #include "vispath.h" -class VContainer; - //--------------------------------------------------------------------------------------------------------------------- VisToolCubicBezierPath::VisToolCubicBezierPath(const VContainer *data, QGraphicsItem *parent) : VisPath(data, parent), diff --git a/src/libs/vtools/visualization/path/vistoolcubicbezierpath.h b/src/libs/vtools/visualization/path/vistoolcubicbezierpath.h index e1a077d90..c70b41621 100644 --- a/src/libs/vtools/visualization/path/vistoolcubicbezierpath.h +++ b/src/libs/vtools/visualization/path/vistoolcubicbezierpath.h @@ -41,9 +41,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; -class VPointF; - class VisToolCubicBezierPath : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolcutarc.h b/src/libs/vtools/visualization/path/vistoolcutarc.h index 220117b00..df2ad6207 100644 --- a/src/libs/vtools/visualization/path/vistoolcutarc.h +++ b/src/libs/vtools/visualization/path/vistoolcutarc.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolCutArc : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolcutspline.h b/src/libs/vtools/visualization/path/vistoolcutspline.h index 324a31036..df002dd23 100644 --- a/src/libs/vtools/visualization/path/vistoolcutspline.h +++ b/src/libs/vtools/visualization/path/vistoolcutspline.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolCutSpline : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolcutsplinepath.h b/src/libs/vtools/visualization/path/vistoolcutsplinepath.h index 09aaf45e9..18053c273 100644 --- a/src/libs/vtools/visualization/path/vistoolcutsplinepath.h +++ b/src/libs/vtools/visualization/path/vistoolcutsplinepath.h @@ -39,8 +39,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolCutSplinePath : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolellipticalarc.h b/src/libs/vtools/visualization/path/vistoolellipticalarc.h index cf8967456..9a27b32c7 100644 --- a/src/libs/vtools/visualization/path/vistoolellipticalarc.h +++ b/src/libs/vtools/visualization/path/vistoolellipticalarc.h @@ -38,8 +38,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolEllipticalArc : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolpointofintersectioncurves.h b/src/libs/vtools/visualization/path/vistoolpointofintersectioncurves.h index ab5485d20..a3d691088 100644 --- a/src/libs/vtools/visualization/path/vistoolpointofintersectioncurves.h +++ b/src/libs/vtools/visualization/path/vistoolpointofintersectioncurves.h @@ -40,8 +40,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class VContainer; - class VisToolPointOfIntersectionCurves : public VisPath { Q_OBJECT diff --git a/src/libs/vtools/visualization/path/vistoolspline.h b/src/libs/vtools/visualization/path/vistoolspline.h index f80a8e9ed..11d480ce7 100644 --- a/src/libs/vtools/visualization/path/vistoolspline.h +++ b/src/libs/vtools/visualization/path/vistoolspline.h @@ -41,8 +41,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class QPointF; -class VContainer; class VControlPointSpline; class VisToolSpline : public VisPath diff --git a/src/libs/vtools/visualization/path/vistoolsplinepath.h b/src/libs/vtools/visualization/path/vistoolsplinepath.h index c5ce2fb48..b4c402920 100644 --- a/src/libs/vtools/visualization/path/vistoolsplinepath.h +++ b/src/libs/vtools/visualization/path/vistoolsplinepath.h @@ -42,8 +42,6 @@ #include "../vmisc/def.h" #include "vispath.h" -class QPointF; -class VContainer; class VControlPointSpline; class VisToolSplinePath : public VisPath diff --git a/src/libs/vtools/visualization/visualization.cpp b/src/libs/vtools/visualization/visualization.cpp index 50bcb6954..dd2d8d2a2 100644 --- a/src/libs/vtools/visualization/visualization.cpp +++ b/src/libs/vtools/visualization/visualization.cpp @@ -54,9 +54,6 @@ #include "../vpatterndb/vcontainer.h" #include "../vwidgets/vmaingraphicsscene.h" -class QLineF; -class QPainterPath; -class QPointF; template class QHash; Q_LOGGING_CATEGORY(vVis, "v.visualization") diff --git a/src/libs/vwidgets/vabstractmainwindow.cpp b/src/libs/vwidgets/vabstractmainwindow.cpp index 778947577..350c1e98d 100644 --- a/src/libs/vwidgets/vabstractmainwindow.cpp +++ b/src/libs/vwidgets/vabstractmainwindow.cpp @@ -28,8 +28,6 @@ #include "vabstractmainwindow.h" -class QWidget; - VAbstractMainWindow::VAbstractMainWindow(QWidget *parent) : QMainWindow(parent) {} diff --git a/src/libs/vwidgets/vabstractmainwindow.h b/src/libs/vwidgets/vabstractmainwindow.h index 2ba6c5f9d..d7002c76c 100644 --- a/src/libs/vwidgets/vabstractmainwindow.h +++ b/src/libs/vwidgets/vabstractmainwindow.h @@ -35,8 +35,6 @@ #include #include -class QWidget; - class VAbstractMainWindow : public QMainWindow { Q_OBJECT diff --git a/src/libs/vwidgets/vabstractsimple.h b/src/libs/vwidgets/vabstractsimple.h index fa1decd95..9c6a24cda 100644 --- a/src/libs/vwidgets/vabstractsimple.h +++ b/src/libs/vwidgets/vabstractsimple.h @@ -41,7 +41,6 @@ #include "../vgeometry/vgeometrydef.h" #include "../vmisc/def.h" -class QGraphicsItem; class QGraphicsSceneContextMenuEvent; class VAbstractSimple : public QObject diff --git a/src/libs/vwidgets/vcontrolpointspline.cpp b/src/libs/vwidgets/vcontrolpointspline.cpp index a0b63df36..afcf0a4a8 100644 --- a/src/libs/vwidgets/vcontrolpointspline.cpp +++ b/src/libs/vwidgets/vcontrolpointspline.cpp @@ -48,10 +48,6 @@ #include "vmaingraphicsscene.h" #include "vmaingraphicsview.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; - //--------------------------------------------------------------------------------------------------------------------- VControlPointSpline::VControlPointSpline(const qint32 &indexSpline, SplinePointPosition position, Unit patternUnit, QGraphicsItem *parent) diff --git a/src/libs/vwidgets/vcontrolpointspline.h b/src/libs/vwidgets/vcontrolpointspline.h index 288a416a7..38fb3415f 100644 --- a/src/libs/vwidgets/vcontrolpointspline.h +++ b/src/libs/vwidgets/vcontrolpointspline.h @@ -43,11 +43,6 @@ #include "../vgeometry/vsplinepath.h" #include "../vmisc/def.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QPointF; - /** * @brief The VControlPointSpline class control spline point. */ diff --git a/src/libs/vwidgets/vgrainlineitem.h b/src/libs/vwidgets/vgrainlineitem.h index 7f4217d54..613119033 100644 --- a/src/libs/vwidgets/vgrainlineitem.h +++ b/src/libs/vwidgets/vgrainlineitem.h @@ -32,11 +32,6 @@ #include "vpieceitem.h" #include "../vpatterndb/vgrainlinegeometry.h" -class QGraphicsObject; -class QPainter; -class QStyleOptionGraphicsItem; -class QWidget; - class VGrainlineItem : public VPieceItem { Q_OBJECT diff --git a/src/libs/vwidgets/vgraphicssimpletextitem.cpp b/src/libs/vwidgets/vgraphicssimpletextitem.cpp index 270ac192c..1062c3257 100644 --- a/src/libs/vwidgets/vgraphicssimpletextitem.cpp +++ b/src/libs/vwidgets/vgraphicssimpletextitem.cpp @@ -46,11 +46,6 @@ #include "vmaingraphicsscene.h" #include "vmaingraphicsview.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief VGraphicsSimpleTextItem default constructor. diff --git a/src/libs/vwidgets/vgraphicssimpletextitem.h b/src/libs/vwidgets/vgraphicssimpletextitem.h index e6d66f50c..52092f3b2 100644 --- a/src/libs/vwidgets/vgraphicssimpletextitem.h +++ b/src/libs/vwidgets/vgraphicssimpletextitem.h @@ -41,12 +41,6 @@ #include "../vmisc/def.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; -class QPointF; - /** * @brief The VGraphicsSimpleTextItem class pointer label. */ diff --git a/src/libs/vwidgets/vmaingraphicsscene.cpp b/src/libs/vwidgets/vmaingraphicsscene.cpp index f87a1648a..3681b83d1 100644 --- a/src/libs/vwidgets/vmaingraphicsscene.cpp +++ b/src/libs/vwidgets/vmaingraphicsscene.cpp @@ -44,9 +44,6 @@ #include "../ifc/ifcdef.h" -class QGraphicsSceneMouseEvent; -class QRectF; - //--------------------------------------------------------------------------------------------------------------------- /** * @brief VMainGraphicsScene default constructor. diff --git a/src/libs/vwidgets/vmaingraphicsscene.h b/src/libs/vwidgets/vmaingraphicsscene.h index fc581bd1e..416525fcd 100644 --- a/src/libs/vwidgets/vmaingraphicsscene.h +++ b/src/libs/vwidgets/vmaingraphicsscene.h @@ -42,11 +42,6 @@ #include "../vmisc/def.h" -class QGraphicsItem; -class QGraphicsSceneMouseEvent; -class QPointF; -class QRectF; - /** * @brief The VMainGraphicsScene class main scene. */ diff --git a/src/libs/vwidgets/vmaingraphicsview.cpp b/src/libs/vwidgets/vmaingraphicsview.cpp index 936afd478..19a0ebf97 100644 --- a/src/libs/vwidgets/vmaingraphicsview.cpp +++ b/src/libs/vwidgets/vmaingraphicsview.cpp @@ -52,9 +52,6 @@ #include "vmaingraphicsscene.h" #include "vsimplecurve.h" -class QMouseEvent; -class QWheelEvent; - const int GraphicsViewZoom::duration = 300; const int GraphicsViewZoom::updateInterval = 40; diff --git a/src/libs/vwidgets/vmaingraphicsview.h b/src/libs/vwidgets/vmaingraphicsview.h index 310bb1356..253c4d251 100644 --- a/src/libs/vwidgets/vmaingraphicsview.h +++ b/src/libs/vwidgets/vmaingraphicsview.h @@ -39,14 +39,6 @@ #include #include -class QEvent; -class QGraphicsItem; -class QGraphicsScene; -class QMouseEvent; -class QRectF; -class QWheelEvent; -class QWidget; - /*! * This class adds ability to zoom QGraphicsView using mouse wheel. The point under cursor * remains motionless while it's possible. diff --git a/src/libs/vwidgets/vnobrushscalepathitem.cpp b/src/libs/vwidgets/vnobrushscalepathitem.cpp index 56e971890..30b2ed581 100644 --- a/src/libs/vwidgets/vnobrushscalepathitem.cpp +++ b/src/libs/vwidgets/vnobrushscalepathitem.cpp @@ -32,10 +32,6 @@ #include #include -class QGraphicsItem; -class QStyleOptionGraphicsItem; -class QWidget; - //--------------------------------------------------------------------------------------------------------------------- VNoBrushScalePathItem::VNoBrushScalePathItem(QGraphicsItem *parent) : QGraphicsPathItem(parent) diff --git a/src/libs/vwidgets/vnobrushscalepathitem.h b/src/libs/vwidgets/vnobrushscalepathitem.h index 09bb9c363..4c3712c5d 100644 --- a/src/libs/vwidgets/vnobrushscalepathitem.h +++ b/src/libs/vwidgets/vnobrushscalepathitem.h @@ -33,11 +33,6 @@ #include #include -class QGraphicsItem; -class QPainter; -class QStyleOptionGraphicsItem; -class QWidget; - class VNoBrushScalePathItem : public QGraphicsPathItem { public: diff --git a/src/libs/vwidgets/vsimplecurve.cpp b/src/libs/vwidgets/vsimplecurve.cpp index 79dd55d9d..b6a980c38 100644 --- a/src/libs/vwidgets/vsimplecurve.cpp +++ b/src/libs/vwidgets/vsimplecurve.cpp @@ -42,10 +42,6 @@ #include "../ifc/ifcdef.h" #include "../vgeometry/vabstractcurve.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; template class QSharedPointer; //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vwidgets/vsimplecurve.h b/src/libs/vwidgets/vsimplecurve.h index d0847ed16..aa6df649e 100644 --- a/src/libs/vwidgets/vsimplecurve.h +++ b/src/libs/vwidgets/vsimplecurve.h @@ -43,10 +43,6 @@ #include "../vmisc/def.h" #include "vabstractsimple.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; class VAbstractCurve; template class QSharedPointer; diff --git a/src/libs/vwidgets/vsimplepoint.cpp b/src/libs/vwidgets/vsimplepoint.cpp index 8d1980e3a..e8170f3b2 100644 --- a/src/libs/vwidgets/vsimplepoint.cpp +++ b/src/libs/vwidgets/vsimplepoint.cpp @@ -46,11 +46,6 @@ #include "../vgeometry/vpointf.h" #include "vgraphicssimpletextitem.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; - //--------------------------------------------------------------------------------------------------------------------- VSimplePoint::VSimplePoint(quint32 id, const QColor ¤tColor, Unit patternUnit, qreal *factor, QObject *parent) : VAbstractSimple(id, currentColor, patternUnit, factor, parent), diff --git a/src/libs/vwidgets/vsimplepoint.h b/src/libs/vwidgets/vsimplepoint.h index 7378f5362..127e4e5eb 100644 --- a/src/libs/vwidgets/vsimplepoint.h +++ b/src/libs/vwidgets/vsimplepoint.h @@ -43,11 +43,6 @@ #include "../vmisc/def.h" #include "vabstractsimple.h" -class QGraphicsSceneContextMenuEvent; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QKeyEvent; -class QPointF; class VGraphicsSimpleTextItem; class VPointF; diff --git a/src/libs/vwidgets/vtextgraphicsitem.cpp b/src/libs/vwidgets/vtextgraphicsitem.cpp index 80dde1ec0..7a12002f1 100644 --- a/src/libs/vwidgets/vtextgraphicsitem.cpp +++ b/src/libs/vwidgets/vtextgraphicsitem.cpp @@ -43,13 +43,6 @@ #include "../vmisc/vmath.h" #include "vtextgraphicsitem.h" -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QStyleOptionGraphicsItem; -class QWidget; -class VAbstractPattern; -class VPatternPieceData; - const qreal resizeSquare = (3./*mm*/ / 25.4) * PrintDPI; const qreal rotateCircle = (2./*mm*/ / 25.4) * PrintDPI; #define ROTATE_RECT 60 diff --git a/src/libs/vwidgets/vtextgraphicsitem.h b/src/libs/vwidgets/vtextgraphicsitem.h index 1748ddc9c..7d5d77ed9 100644 --- a/src/libs/vwidgets/vtextgraphicsitem.h +++ b/src/libs/vwidgets/vtextgraphicsitem.h @@ -43,18 +43,6 @@ #include "vpieceitem.h" #include "../vlayout/vtextmanager.h" -class QFont; -class QGraphicsItem; -class QGraphicsSceneHoverEvent; -class QGraphicsSceneMouseEvent; -class QPainter; -class QPointF; -class QRectF; -class QStyleOptionGraphicsItem; -class QWidget; -class VAbstractPattern; -class VPatternPieceData; - /** * @brief The VTextGraphicsItem class. This class implements text graphics item, * which can be dragged around, resized and rotated within the parent item. The text font diff --git a/src/libs/vwidgets/vwidgetpopup.h b/src/libs/vwidgets/vwidgetpopup.h index 72b097a4a..c12401b39 100644 --- a/src/libs/vwidgets/vwidgetpopup.h +++ b/src/libs/vwidgets/vwidgetpopup.h @@ -35,9 +35,6 @@ #include #include -class QPoint; -class QWidget; - /** \brief Class showing a widget as popup window.