Removed redundant forward declaration.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-02-18 11:22:59 +02:00
parent 8f0f2399e2
commit 38abf5c9a0
404 changed files with 24 additions and 1456 deletions

View File

@ -42,8 +42,6 @@ namespace Ui
class TMainWindow; class TMainWindow;
} }
class QComboBox;
class QTableWidgetItem;
class QLabel; class QLabel;
class TMainWindow : public QMainWindow class TMainWindow : public QMainWindow

View File

@ -37,9 +37,7 @@
#include "vcmdexport.h" #include "vcmdexport.h"
class VApplication;// use in define class VApplication;// use in define
class VMainGraphicsView;
class VPattern; class VPattern;
class QFile;
#if defined(qApp) #if defined(qApp)
#undef qApp #undef qApp

View File

@ -33,6 +33,7 @@
#include "../vformat/vmeasurements.h" #include "../vformat/vmeasurements.h"
#include "../vmisc/commandoptions.h" #include "../vmisc/commandoptions.h"
#include "../vmisc/vsettings.h" #include "../vmisc/vsettings.h"
#include "../vlayout/vlayoutgenerator.h"
#include <QDebug> #include <QDebug>
VCommandLinePtr VCommandLine::instance = nullptr; VCommandLinePtr VCommandLine::instance = nullptr;

View File

@ -46,6 +46,7 @@
class VCommandLine; class VCommandLine;
typedef std::shared_ptr<VCommandLine> VCommandLinePtr; typedef std::shared_ptr<VCommandLine> VCommandLinePtr;
typedef QList<QCommandLineOption *> VCommandLineOptions; typedef QList<QCommandLineOption *> VCommandLineOptions;
typedef std::shared_ptr<VLayoutGenerator> VLayoutGeneratorPtr;
//@brief: class used to install export command line options and parse their values //@brief: class used to install export command line options and parse their values
//QCommandLineParser* object must exists until this object alive //QCommandLineParser* object must exists until this object alive

View File

@ -34,7 +34,6 @@
#include <QDomElement> #include <QDomElement>
class VPattern; class VPattern;
class VToolRecord;
namespace Ui namespace Ui
{ {

View File

@ -34,8 +34,6 @@
#include "../vmisc/vtablesearch.h" #include "../vmisc/vtablesearch.h"
class VIndividualMeasurements; class VIndividualMeasurements;
class QTableWidget;
class QTableWidgetItem;
namespace Ui namespace Ui
{ {

View File

@ -32,6 +32,7 @@
#include "../ifc/xml/vdomdocument.h" #include "../ifc/xml/vdomdocument.h"
#include "../vmisc/vsettings.h" #include "../vmisc/vsettings.h"
#include "../vmisc/vmath.h" #include "../vmisc/vmath.h"
#include "../vlayout/vlayoutgenerator.h"
#include <QMessageBox> #include <QMessageBox>
#include <QPushButton> #include <QPushButton>

View File

@ -34,7 +34,6 @@
#include "../vlayout/vbank.h" #include "../vlayout/vbank.h"
#include "../ifc/ifcdef.h" #include "../ifc/ifcdef.h"
#include "../vlayout/vlayoutgenerator.h"
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
# include "../vmisc/backport/qmarginsf.h" # include "../vmisc/backport/qmarginsf.h"
@ -67,7 +66,7 @@ public:
Roll44in = 11, Roll44in = 11,
Custom = 12}; Custom = 12};
explicit DialogLayoutSettings(VLayoutGenerator *generator, QWidget *parent = nullptr, bool disableSettings = false); explicit DialogLayoutSettings(VLayoutGenerator *generator, QWidget *parent = nullptr, bool disableSettings = false);
~DialogLayoutSettings(); virtual ~DialogLayoutSettings();
qreal GetPaperHeight() const; qreal GetPaperHeight() const;
void SetPaperHeight(qreal value); void SetPaperHeight(qreal value);

View File

@ -42,7 +42,6 @@ namespace Ui
class VToolOptionsPropertyBrowser; class VToolOptionsPropertyBrowser;
class VMeasurements; class VMeasurements;
class VMainGraphicsScene;
class QFileSystemWatcher; class QFileSystemWatcher;
class QLabel; class QLabel;
class DialogIncrements; class DialogIncrements;

View File

@ -38,9 +38,7 @@
#include "../vlayout/vlayoutgenerator.h" #include "../vlayout/vlayoutgenerator.h"
#include "../vwidgets/vabstractmainwindow.h" #include "../vwidgets/vabstractmainwindow.h"
class QGraphicsScene; class QGraphicsScene;
class QPrinter;
struct PosterData; struct PosterData;
class MainWindowsNoGUI : public VAbstractMainWindow class MainWindowsNoGUI : public VAbstractMainWindow

View File

@ -44,9 +44,6 @@
#endif /*Q_OS_WIN32*/ #endif /*Q_OS_WIN32*/
class QString;
class QStringList;
enum class Contour : char { OpenContour, CloseContour }; enum class Contour : char { OpenContour, CloseContour };
#endif // OPTIONS_H #endif // OPTIONS_H

View File

@ -34,7 +34,6 @@
#include "../vpatterndb/vcontainer.h" #include "../vpatterndb/vcontainer.h"
#include "../ifc/xml/vpatternconverter.h" #include "../ifc/xml/vpatternconverter.h"
class VDataTool;
class VMainGraphicsScene; class VMainGraphicsScene;
class VNodeDetail; class VNodeDetail;

View File

@ -35,10 +35,6 @@
#include "fvavailableupdate.h" #include "fvavailableupdate.h"
#include "fvupdatewindow.h" #include "fvupdatewindow.h"
class FvAvailableUpdate;
class FvUpdateWindow;
class QNetworkReply;
extern const QString defaultFeedURL; extern const QString defaultFeedURL;
class FvUpdater : public QObject class FvUpdater : public QObject

View File

@ -31,8 +31,6 @@
#include "fvupdater.h" #include "fvupdater.h"
#include "ui_fvupdatewindow.h" #include "ui_fvupdatewindow.h"
class QWidget;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
FvUpdateWindow::FvUpdateWindow(QWidget *parent) FvUpdateWindow::FvUpdateWindow(QWidget *parent)
: QDialog(parent), : QDialog(parent),

View File

@ -29,7 +29,6 @@
#include <QtGlobal> #include <QtGlobal>
class QGraphicsScene; class QGraphicsScene;
class QWidget;
namespace Ui namespace Ui
{ {

View File

@ -43,7 +43,6 @@
#include "qmuparsertoken.h" #include "qmuparsertoken.h"
#include "qmuparsertokenreader.h" #include "qmuparsertokenreader.h"
class QStringList;
template <class T> class QStack; template <class T> class QStack;
namespace qmu namespace qmu

View File

@ -46,8 +46,6 @@
#endif #endif
class DL_CreationInterface; class DL_CreationInterface;
class DL_WriterA;
#define DL_VERSION "3.12.2.0" #define DL_VERSION "3.12.2.0"

View File

@ -46,10 +46,6 @@
#include "dl_attributes.h" #include "dl_attributes.h"
#include "dl_codes.h" #include "dl_codes.h"
class DL_Attributes;
/** /**
* Defines interface for writing low level DXF constructs to * Defines interface for writing low level DXF constructs to
* a file. Implementation is defined in derived classes that write * a file. Implementation is defined in derived classes that write

View File

@ -54,16 +54,6 @@
#include "dxflib/dl_entities.h" #include "dxflib/dl_entities.h"
#include "dxflib/dl_writer_ascii.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() static inline QPaintEngine::PaintEngineFeatures svgEngineFeatures()
{ {

View File

@ -43,17 +43,6 @@
#include "dxfdef.h" #include "dxfdef.h"
#include "dxflib/dl_dxf.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 QTextStream;
class VDxfEngine : public QPaintEngine class VDxfEngine : public QPaintEngine

View File

@ -33,8 +33,6 @@
#include "vdxfengine.h" #include "vdxfengine.h"
class QPaintEngine;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VDxfPaintDevice::VDxfPaintDevice() VDxfPaintDevice::VDxfPaintDevice()
:QPaintDevice(), engine(new VDxfEngine()), fileName() :QPaintDevice(), engine(new VDxfEngine()), fileName()

View File

@ -38,7 +38,6 @@
#include "dxfdef.h" #include "dxfdef.h"
#include "dxflib/../dxfdef.h" #include "dxflib/../dxfdef.h"
class QPaintEngine;
class VDxfEngine; class VDxfEngine;
class VDxfPaintDevice : public QPaintDevice class VDxfPaintDevice : public QPaintDevice

View File

@ -53,8 +53,6 @@
#include "../vpatterndb/variables/vmeasurement.h" #include "../vpatterndb/variables/vmeasurement.h"
#include "../vpatterndb/vcontainer.h" #include "../vpatterndb/vcontainer.h"
class QDate;
const QString VMeasurements::TagVST = QStringLiteral("vst"); const QString VMeasurements::TagVST = QStringLiteral("vst");
const QString VMeasurements::TagVIT = QStringLiteral("vit"); const QString VMeasurements::TagVIT = QStringLiteral("vit");
const QString VMeasurements::TagBodyMeasurements = QStringLiteral("body-measurements"); const QString VMeasurements::TagBodyMeasurements = QStringLiteral("body-measurements");

View File

@ -40,10 +40,6 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../vpatterndb/vcontainer.h" #include "../vpatterndb/vcontainer.h"
class QDate;
class QDomElement;
class VContainer;
enum class GenderType : char { Male, Female, Unknown }; enum class GenderType : char { Male, Female, Unknown };
class VMeasurements : public VDomDocument class VMeasurements : public VDomDocument

View File

@ -39,7 +39,6 @@
#include "vabstractbezier.h" #include "vabstractbezier.h"
#include "vgeometrydef.h" #include "vgeometrydef.h"
class QPointF;
class VPointF; class VPointF;
class VAbstractCubicBezier : public VAbstractBezier class VAbstractCubicBezier : public VAbstractBezier

View File

@ -36,8 +36,6 @@
#include "vpointf.h" #include "vpointf.h"
#include "vspline.h" #include "vspline.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VAbstractCubicBezierPath::VAbstractCubicBezierPath(const GOType &type, const quint32 &idObject, const Draw &mode) VAbstractCubicBezierPath::VAbstractCubicBezierPath(const GOType &type, const quint32 &idObject, const Draw &mode)
: VAbstractBezier(type, idObject, mode) : VAbstractBezier(type, idObject, mode)

View File

@ -39,8 +39,6 @@
#include "vabstractbezier.h" #include "vabstractbezier.h"
#include "vgeometrydef.h" #include "vgeometrydef.h"
class QPainterPath;
class QPointF;
class VPointF; class VPointF;
class VSpline; class VSpline;
class VSplinePoint; class VSplinePoint;

View File

@ -42,11 +42,8 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vgobject.h" #include "vgobject.h"
class QPointF;
enum class PathDirection : char { Hide, Show }; enum class PathDirection : char { Hide, Show };
class QLineF;
class QPainterPath; class QPainterPath;
class VAbstractCurveData; class VAbstractCurveData;

View File

@ -38,8 +38,6 @@
#include "varc_p.h" #include "varc_p.h"
#include "vspline.h" #include "vspline.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
/** /**
* @brief VArc default constructor. * @brief VArc default constructor.

View File

@ -42,8 +42,6 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vpointf.h" #include "vpointf.h"
class QPainterPath;
class QPointF;
class VArcData; class VArcData;
/** /**

View File

@ -32,8 +32,6 @@
#include "vcubicbezier_p.h" #include "vcubicbezier_p.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VCubicBezier::VCubicBezier() VCubicBezier::VCubicBezier()
: VAbstractCubicBezier(GOType::CubicBezier), d(new VCubicBezierData) : VAbstractCubicBezier(GOType::CubicBezier), d(new VCubicBezierData)

View File

@ -41,7 +41,6 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vpointf.h" #include "vpointf.h"
class QPointF;
class VCubicBezierData; class VCubicBezierData;
class VCubicBezier : public VAbstractCubicBezier class VCubicBezier : public VAbstractCubicBezier

View File

@ -42,10 +42,7 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vpointf.h" #include "vpointf.h"
class QPointF;
class VCubicBezierPathData; class VCubicBezierPathData;
class VSpline;
class VSplinePoint;
class VCubicBezierPath : public VAbstractCubicBezierPath class VCubicBezierPath : public VAbstractCubicBezierPath
{ {

View File

@ -42,7 +42,6 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vpointf.h" #include "vpointf.h"
class QPointF;
class VEllipticalArcData; class VEllipticalArcData;
class VEllipticalArc : public VAbstractArc class VEllipticalArc : public VAbstractArc

View File

@ -40,8 +40,6 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vgobject.h" #include "vgobject.h"
class QPointF;
class QString;
class VPointFData; class VPointFData;
QT_WARNING_PUSH QT_WARNING_PUSH

View File

@ -34,8 +34,6 @@
#include "vspline_p.h" #include "vspline_p.h"
#include "../vmisc/vmath.h" #include "../vmisc/vmath.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
/** /**
* @brief VSpline default constructor * @brief VSpline default constructor

View File

@ -43,8 +43,6 @@
#include "vgeometrydef.h" #include "vgeometrydef.h"
#include "vpointf.h" #include "vpointf.h"
class QPainterPath;
class QPointF;
class VSplineData; class VSplineData;
/** /**

View File

@ -45,7 +45,6 @@
#include "vspline.h" #include "vspline.h"
#include "vsplinepoint.h" #include "vsplinepoint.h"
class QPointF;
class VSplinePathData; class VSplinePathData;
/** /**

View File

@ -41,7 +41,6 @@
template <class T> class QVector; template <class T> class QVector;
class VAbstractPieceData; class VAbstractPieceData;
class QLineF;
QT_WARNING_PUSH QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Weffc++") QT_WARNING_DISABLE_GCC("-Weffc++")

View File

@ -42,7 +42,6 @@
#undef small #undef small
#endif #endif
class QPointF;
class VLayoutPiece; class VLayoutPiece;
enum class Cases : char { CaseThreeGroup = 0, CaseTwoGroup, CaseDesc, UnknownCase}; enum class Cases : char { CaseThreeGroup = 0, CaseTwoGroup, CaseDesc, UnknownCase};

View File

@ -30,8 +30,6 @@
#include <QMatrix> #include <QMatrix>
class QSizeF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VBestSquare::VBestSquare(const QSizeF &sheetSize, bool saveLength) VBestSquare::VBestSquare(const QSizeF &sheetSize, bool saveLength)
:resI(0), resJ(0), resMatrix(QMatrix()), bestSize(QSizeF(sheetSize.width()+10, sheetSize.height()+10)), :resI(0), resJ(0), resMatrix(QMatrix()), bestSize(QSizeF(sheetSize.width()+10, sheetSize.height()+10)),

View File

@ -35,8 +35,6 @@
#include "vlayoutdef.h" #include "vlayoutdef.h"
class QSizeF;
class VBestSquare class VBestSquare
{ {
public: public:

View File

@ -37,12 +37,11 @@
#include "vlayoutdef.h" #include "vlayoutdef.h"
class QLineF;
class QPainterPath;
class QPointF;
class QRectF;
class QSizeF;
class VContourData; class VContourData;
class QPointF;
class QLineF;
class QRectF;
class QPainterPath;
class VLayoutPiece; class VLayoutPiece;
class VContour class VContour

View File

@ -37,8 +37,6 @@
#include "vlayoutpiece.h" #include "vlayoutpiece.h"
#include "vlayoutpaper.h" #include "vlayoutpaper.h"
class QMarginsF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VLayoutGenerator::VLayoutGenerator(QObject *parent) VLayoutGenerator::VLayoutGenerator(QObject *parent)
:QObject(parent), papers(QVector<VLayoutPaper>()), bank(new VBank()), paperHeight(0), paperWidth(0), margins(), :QObject(parent), papers(QVector<VLayoutPaper>()), bank(new VBank()), paperHeight(0), paperWidth(0), margins(),

View File

@ -50,7 +50,6 @@ class QMarginsF;
#endif #endif
class QGraphicsItem; class QGraphicsItem;
class VLayoutPiece;
class VLayoutPaper; class VLayoutPaper;
class VLayoutGenerator :public QObject class VLayoutGenerator :public QObject

View File

@ -49,8 +49,6 @@
#include "vlayoutpaper_p.h" #include "vlayoutpaper_p.h"
#include "vposition.h" #include "vposition.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VLayoutPaper::VLayoutPaper() VLayoutPaper::VLayoutPaper()
:d(new VLayoutPaperData) :d(new VLayoutPaperData)

View File

@ -36,12 +36,12 @@
#include "vlayoutdef.h" #include "vlayoutdef.h"
class QGraphicsItem; class VBestSquare;
class VLayoutPaperData;
class VLayoutPiece;
class QGraphicsRectItem; class QGraphicsRectItem;
class QRectF; class QRectF;
class VBestSquare; class QGraphicsItem;
class VLayoutPiece;
class VLayoutPaperData;
template <typename T> class QList; template <typename T> class QList;
template <typename T> class QVector; template <typename T> class QVector;

View File

@ -53,10 +53,6 @@
#include "vtextmanager.h" #include "vtextmanager.h"
#include "vgraphicsfillitem.h" #include "vgraphicsfillitem.h"
class QGraphicsPathItem;
class QLineF;
class VAbstractPattern;
namespace namespace
{ {
QVector<VLayoutPiecePath> ConvertInternalPaths(const VPiece &piece, const VContainer *pattern) QVector<VLayoutPiecePath> ConvertInternalPaths(const VPiece &piece, const VContainer *pattern)

View File

@ -47,19 +47,9 @@
#include "../vpatterndb/vcontainer.h" #include "../vpatterndb/vcontainer.h"
#include "vabstractpiece.h" #include "vabstractpiece.h"
class QFont;
class QGraphicsItem;
class QLineF;
class QPainterPath;
class QPointF;
class QRectF;
class QTransform;
class VAbstractPattern;
class VLayoutPieceData; class VLayoutPieceData;
class VPatternInfoGeometry;
class VPatternPieceData;
class VGrainlineGeometry;
class VLayoutPiecePath; class VLayoutPiecePath;
class QGraphicsItem;
class VLayoutPiece :public VAbstractPiece class VLayoutPiece :public VAbstractPiece
{ {

View File

@ -39,12 +39,6 @@
#include "vlayoutdef.h" #include "vlayoutdef.h"
#include "vlayoutpiece.h" #include "vlayoutpiece.h"
class QLineF;
class QPainterPath;
class QPointF;
class QPolygonF;
class QRectF;
class VPosition : public QRunnable class VPosition : public QRunnable
{ {
public: public:

View File

@ -38,9 +38,8 @@
#include <QtGlobal> #include <QtGlobal>
#include <QCoreApplication> #include <QCoreApplication>
class QFontMetrics;
class VAbstractPattern;
class VPatternPieceData; class VPatternPieceData;
class VAbstractPattern;
#define MIN_FONT_SIZE 5 #define MIN_FONT_SIZE 5
#define MAX_FONT_SIZE 128 #define MAX_FONT_SIZE 128

View File

@ -50,8 +50,6 @@
#include "logging.h" #include "logging.h"
#include "vsysexits.h" #include "vsysexits.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
AbstractTest::AbstractTest(QObject *parent) : AbstractTest::AbstractTest(QObject *parent) :
QObject(parent) QObject(parent)

View File

@ -33,8 +33,6 @@
#include <QObject> #include <QObject>
#include <QString> #include <QString>
class QPointF;
class QStringList;
template <class T> class QVector; template <class T> class QVector;
#ifdef Q_CC_MSVC #ifdef Q_CC_MSVC

View File

@ -38,9 +38,6 @@
#include <QTypeInfo> #include <QTypeInfo>
#include <QtGlobal> #include <QtGlobal>
class QDataStream;
class QDebug;
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
#include <QMargins> #include <QMargins>

View File

@ -31,8 +31,6 @@
#include <QString> #include <QString>
class QStringList;
extern const QString LONG_OPTION_BASENAME; extern const QString LONG_OPTION_BASENAME;
extern const QString SINGLE_OPTION_BASENAME; extern const QString SINGLE_OPTION_BASENAME;

View File

@ -42,7 +42,6 @@
#include "debugbreak.h" #include "debugbreak.h"
class QPixmap;
template <class T> class QSharedPointer; template <class T> class QSharedPointer;
#ifdef Q_CC_MSVC #ifdef Q_CC_MSVC

View File

@ -42,8 +42,6 @@
#include "../vmisc/diagnostic.h" #include "../vmisc/diagnostic.h"
class QModelIndex;
class QxtCsvModelPrivate : public QxtPrivate<QxtCsvModel> class QxtCsvModelPrivate : public QxtPrivate<QxtCsvModel>
{ {
public: public:

View File

@ -48,9 +48,6 @@
#include "def.h" #include "def.h"
class QIODevice;
class QModelIndex;
class QTextCodec;
class QxtCsvModelPrivate; class QxtCsvModelPrivate;
class QxtCsvModel : public QAbstractTableModel class QxtCsvModel : public QAbstractTableModel

View File

@ -41,9 +41,6 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../vmisc/logging.h" #include "../vmisc/logging.h"
class QGraphicsScene;
class QWidget;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VAbstractApplication::VAbstractApplication(int &argc, char **argv) VAbstractApplication::VAbstractApplication(int &argc, char **argv)
:QApplication(argc, argv), :QApplication(argc, argv),

View File

@ -47,14 +47,10 @@
#include "vlockguard.h" #include "vlockguard.h"
#include "vsettings.h" #include "vsettings.h"
class QGraphicsScene;
class QTranslator;
class QUndoStack; class QUndoStack;
class QWidget;
class VAbstractApplication;// use in define class VAbstractApplication;// use in define
class VAbstractPattern; class VAbstractPattern;
class VMainGraphicsView; class VMainGraphicsView;
class VTranslateVars;
#if defined(qApp) #if defined(qApp)
#undef qApp #undef qApp

View File

@ -42,8 +42,6 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../vmisc/vmath.h" #include "../vmisc/vmath.h"
class QDate;
const QString VCommonSettings::SettingPathsIndividualMeasurements = QStringLiteral("paths/individual_measurements"); const QString VCommonSettings::SettingPathsIndividualMeasurements = QStringLiteral("paths/individual_measurements");
const QString VCommonSettings::SettingPathsStandardMeasurements = QStringLiteral("paths/standard_measurements"); const QString VCommonSettings::SettingPathsStandardMeasurements = QStringLiteral("paths/standard_measurements");
const QString VCommonSettings::SettingPathsTemplates = QStringLiteral("paths/templates"); const QString VCommonSettings::SettingPathsTemplates = QStringLiteral("paths/templates");

View File

@ -40,8 +40,6 @@
#include "../vlayout/vbank.h" #include "../vlayout/vbank.h"
class QDate;
class VCommonSettings : public QSettings class VCommonSettings : public QSettings
{ {
Q_OBJECT Q_OBJECT

View File

@ -42,8 +42,6 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../vmisc/vmath.h" #include "../vmisc/vmath.h"
class QMarginsF;
Q_DECLARE_METATYPE(QMarginsF) Q_DECLARE_METATYPE(QMarginsF)
const QString VSettings::SettingConfigurationLabelLanguage = QStringLiteral("configuration/label_language"); const QString VSettings::SettingConfigurationLabelLanguage = QStringLiteral("configuration/label_language");

View File

@ -38,8 +38,6 @@
#include "../vlayout/vbank.h" #include "../vlayout/vbank.h"
#include "vcommonsettings.h" #include "vcommonsettings.h"
class QMarginsF;
class QPrinter;
template <class T> class QSharedPointer; template <class T> class QSharedPointer;
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)

View File

@ -35,9 +35,6 @@
#include <QTableWidget> #include <QTableWidget>
#include <QtGlobal> #include <QtGlobal>
class QTableWidget;
class QTableWidgetItem;
class VTableSearch: public QObject class VTableSearch: public QObject
{ {
Q_OBJECT Q_OBJECT

View File

@ -40,14 +40,6 @@
#include "delaunay.h" #include "delaunay.h"
class QIODevice;
class QPaintDevice;
class QPainterPath;
class QPixmap;
class QPoint;
class QPointF;
class QPolygonF;
class QRectF;
class QTextStream; class QTextStream;
#define MAX_POINTS 512 #define MAX_POINTS 512

View File

@ -35,8 +35,6 @@
#include "vobjengine.h" #include "vobjengine.h"
class QPaintEngine;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VObjPaintDevice::VObjPaintDevice() VObjPaintDevice::VObjPaintDevice()
:QPaintDevice(), engine(new VObjEngine()), fileName(), owns_iodevice(1) :QPaintDevice(), engine(new VObjEngine()), fileName(), owns_iodevice(1)

View File

@ -37,7 +37,6 @@
#include <QtGlobal> #include <QtGlobal>
class QIODevice; class QIODevice;
class QPaintEngine;
class VObjEngine; class VObjEngine;
class VObjPaintDevice : public QPaintDevice class VObjPaintDevice : public QPaintDevice

View File

@ -36,7 +36,6 @@
#include "vinternalvariable.h" #include "vinternalvariable.h"
class VAbstractCurve;
class VCurveVariableData; class VCurveVariableData;
class VCurveVariable : public VInternalVariable class VCurveVariable : public VInternalVariable

View File

@ -37,8 +37,8 @@
#include "vvariable.h" #include "vvariable.h"
class VContainer;
class VIncrementData; class VIncrementData;
class VContainer;
/** /**
* @brief The VIncrement class keep data row of increment table * @brief The VIncrement class keep data row of increment table

View File

@ -57,19 +57,7 @@
#include "vpiecepath.h" #include "vpiecepath.h"
#include "vtranslatevars.h" #include "vtranslatevars.h"
class VAbstractCubicBezierPath;
class VAbstractCurve;
class VArc;
class VEllipticalArc; 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_PUSH
QT_WARNING_DISABLE_GCC("-Weffc++") QT_WARNING_DISABLE_GCC("-Weffc++")

View File

@ -32,8 +32,6 @@
#include <QtGlobal> #include <QtGlobal>
#include <QString> #include <QString>
class QPointF;
/** /**
* @brief The VGrainlineGeometry class holds information about a grainline like * @brief The VGrainlineGeometry class holds information about a grainline like
* position, size, rotation and visibility * position, size, rotation and visibility

View File

@ -28,8 +28,6 @@
#include "vpatterninfogeometry.h" #include "vpatterninfogeometry.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
VPatternInfoGeometry::VPatternInfoGeometry() VPatternInfoGeometry::VPatternInfoGeometry()
:m_ptPos(0, 0), m_dLabelWidth(0), m_dLabelHeight(0), m_iFontSize(0), :m_ptPos(0, 0), m_dLabelWidth(0), m_dLabelHeight(0), m_iFontSize(0),

View File

@ -32,8 +32,6 @@
#include <QPointF> #include <QPointF>
#include <QtGlobal> #include <QtGlobal>
class QPointF;
/** /**
* @brief The VPatternInfoGeometry class holds the information about pattern info label geometry * @brief The VPatternInfoGeometry class holds the information about pattern info label geometry
*/ */

View File

@ -28,8 +28,6 @@
#include "vpatternpiecedata.h" #include "vpatternpiecedata.h"
class QPointF;
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
MaterialCutPlacement::MaterialCutPlacement() MaterialCutPlacement::MaterialCutPlacement()
:m_eMaterial(MaterialType::mtFabric), m_qsMaterialUserDef(), m_iCutNumber(0), m_ePlacement(PlacementType::ptNone) :m_eMaterial(MaterialType::mtFabric), m_qsMaterialUserDef(), m_iCutNumber(0), m_ePlacement(PlacementType::ptNone)

View File

@ -36,8 +36,6 @@
#include <QVector> #include <QVector>
#include <QtGlobal> #include <QtGlobal>
class QPointF;
enum class MaterialType : char enum class MaterialType : char
{ {
mtFabric = 0, mtFabric = 0,

View File

@ -34,19 +34,17 @@
#include "../vlayout/vabstractpiece.h" #include "../vlayout/vabstractpiece.h"
class QPainterPath;
class VPieceData; class VPieceData;
class VPieceNode; class VPieceNode;
class QPointF;
class VPointF;
class VContainer;
template <class T> class QVector; template <class T> class QVector;
template <class T>class QSharedPointer; template <class T>class QSharedPointer;
class VAbstractCurve;
class VPiecePath; class VPiecePath;
class VPatternInfoGeometry; class VPatternInfoGeometry;
class VPatternPieceData; class VPatternPieceData;
class VGrainlineGeometry; class VGrainlineGeometry;
class VContainer;
class QPainterPath;
class VPointF;
class VPiece : public VAbstractPiece class VPiece : public VAbstractPiece
{ {

View File

@ -36,7 +36,6 @@
#include "../vmisc/def.h" #include "../vmisc/def.h"
class VPieceNodeData; class VPieceNodeData;
class QDataStream;
class VContainer; class VContainer;
class VPieceNode class VPieceNode

View File

@ -33,15 +33,14 @@
#include <QSharedDataPointer> #include <QSharedDataPointer>
#include "../vmisc/def.h" #include "../vmisc/def.h"
#include "../vgeometry/vabstractcurve.h"
class VPiecePathData; class VPiecePathData;
class VPieceNode;
class QPointF;
class VPointF;
class VContainer;
class VSAPoint; class VSAPoint;
class VContainer;
class QPainterPath; class QPainterPath;
class VAbstractCurve; class VPointF;
class VPieceNode;
class VPiecePath class VPiecePath
{ {

View File

@ -35,10 +35,6 @@
#include "../qmuparser/qmutranslation.h" #include "../qmuparser/qmutranslation.h"
namespace qmu {
class QmuTranslation;
} // namespace qmu
class VTranslateMeasurements class VTranslateMeasurements
{ {
public: public:

View File

@ -33,11 +33,6 @@
#include <QVariant> #include <QVariant>
#include <Qt> #include <Qt>
class QHBoxLayout;
class QSpacerItem;
class QVBoxLayout;
class QWidget;
static const char kDoNotAskAgainKey[] = "DoNotAskAgain"; static const char kDoNotAskAgainKey[] = "DoNotAskAgain";
namespace Utils namespace Utils

View File

@ -31,10 +31,7 @@
#include "vpropertyexplorer_global.h" #include "vpropertyexplorer_global.h"
class QAbstractButton;
class QPushButton;
class QSettings; class QSettings;
class QWidget;
namespace Utils namespace Utils
{ {

View File

@ -28,9 +28,6 @@
#include "../vproperty_p.h" #include "../vproperty_p.h"
#include "vcolorpropertyeditor.h" #include "vcolorpropertyeditor.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
VPE::VColorProperty::VColorProperty(const QString &name) : VPE::VColorProperty::VColorProperty(const QString &name) :
VProperty(name, QVariant::Color) VProperty(name, QVariant::Color)
{ {

View File

@ -34,10 +34,6 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE namespace VPE
{ {

View File

@ -33,8 +33,6 @@
#include "../vproperty.h" #include "../vproperty.h"
class QHBoxLayout;
VPE::VColorPropertyEditor::VColorPropertyEditor(QWidget *parent) VPE::VColorPropertyEditor::VColorPropertyEditor(QWidget *parent)
: QWidget(parent), Color(), ToolButton(nullptr), TextLabel(nullptr), ColorLabel(nullptr), Spacer(nullptr) : QWidget(parent), Color(), ToolButton(nullptr), TextLabel(nullptr), ColorLabel(nullptr), Spacer(nullptr)
{ {

View File

@ -36,11 +36,6 @@
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QEvent;
class QLabel;
class QSpacerItem;
class QToolButton;
namespace VPE namespace VPE
{ {

View File

@ -28,9 +28,6 @@
#include "../vproperty.h" #include "../vproperty.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE { namespace VPE {
class VPropertyPrivate; class VPropertyPrivate;
} // namespace VPE } // namespace VPE

View File

@ -33,10 +33,8 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate; namespace VPE
class QStyleOptionViewItem; {
class QWidget;
namespace VPE {
class VPropertyPrivate; class VPropertyPrivate;
} // namespace VPE } // namespace VPE

View File

@ -27,9 +27,6 @@
#include "../vproperty_p.h" #include "../vproperty_p.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
VPE::VEnumProperty::VEnumProperty(const QString& name) VPE::VEnumProperty::VEnumProperty(const QString& name)
: VProperty(name, QVariant::Int), EnumerationLiterals() : VProperty(name, QVariant::Int), EnumerationLiterals()
{ {

View File

@ -34,10 +34,6 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE namespace VPE
{ {

View File

@ -29,8 +29,6 @@
#include "vfilepropertyeditor.h" #include "vfilepropertyeditor.h"
#include "../vproperty_p.h" #include "../vproperty_p.h"
class QStyleOptionViewItem;
VPE::VFileProperty::VFileProperty(const QString& name) VPE::VFileProperty::VFileProperty(const QString& name)
: VProperty(new VFilePropertyPrivate(name, QVariant::String)) : VProperty(new VFilePropertyPrivate(name, QVariant::String))
{ {

View File

@ -35,10 +35,6 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE namespace VPE
{ {

View File

@ -39,12 +39,6 @@
#include <QUrl> #include <QUrl>
#include <Qt> #include <Qt>
class QDragEnterEvent;
class QDragLeaveEvent;
class QDragMoveEvent;
class QDropEvent;
class QHBoxLayout;
VPE::VFileEditWidget::VFileEditWidget(QWidget *parent, bool is_directory) VPE::VFileEditWidget::VFileEditWidget(QWidget *parent, bool is_directory)
: QWidget(parent), CurrentFilePath(), ToolButton(nullptr), FileLineEdit(nullptr), FileDialogFilter(), FilterList(), : QWidget(parent), CurrentFilePath(), ToolButton(nullptr), FileLineEdit(nullptr), FileDialogFilter(), FilterList(),
Directory(is_directory) Directory(is_directory)

View File

@ -34,15 +34,6 @@
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QDragEnterEvent;
class QDragLeaveEvent;
class QDragMoveEvent;
class QDropEvent;
class QEvent;
class QLineEdit;
class QMimeData;
class QToolButton;
namespace VPE namespace VPE
{ {

View File

@ -42,9 +42,6 @@
#include "../vproperty_p.h" #include "../vproperty_p.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
VPE::VLineColorProperty::VLineColorProperty(const QString &name) VPE::VLineColorProperty::VLineColorProperty(const QString &name)
: VProperty(name, QVariant::Int), colors(), indexList() : VProperty(name, QVariant::Int), colors(), indexList()
{ {

View File

@ -43,10 +43,6 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE namespace VPE
{ {

View File

@ -39,9 +39,6 @@
#include "../vproperty_p.h" #include "../vproperty_p.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
VPE::VLineTypeProperty::VLineTypeProperty(const QString &name) VPE::VLineTypeProperty::VLineTypeProperty(const QString &name)
: VProperty(name, QVariant::Int), styles(), indexList() : VProperty(name, QVariant::Int), styles(), indexList()
{ {

View File

@ -44,10 +44,6 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE namespace VPE
{ {

View File

@ -30,9 +30,6 @@
#include "../vproperty_p.h" #include "../vproperty_p.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
const int VPE::VIntegerProperty::StandardMin = -1000000; const int VPE::VIntegerProperty::StandardMin = -1000000;
const int VPE::VIntegerProperty::StandardMax = 1000000; const int VPE::VIntegerProperty::StandardMax = 1000000;

View File

@ -35,10 +35,6 @@
#include "../vproperty.h" #include "../vproperty.h"
#include "../vpropertyexplorer_global.h" #include "../vpropertyexplorer_global.h"
class QAbstractItemDelegate;
class QStyleOptionViewItem;
class QWidget;
namespace VPE namespace VPE
{ {

Some files were not shown because too many files have changed in this diff Show More