Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines which breaks travis rules And by the way deprecations are real All file contains the same modification replace 0 to Qt::WindowFlags() when needed as the class needs to be instantiated Signed-off-by: vejmarie <jmverdun3@gmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ class CrossSections : public QDialog
|
||||
enum Plane { XY, XZ, YZ };
|
||||
|
||||
public:
|
||||
CrossSections(const Base::BoundBox3d& bb, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
CrossSections(const Base::BoundBox3d& bb, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~CrossSections();
|
||||
void accept();
|
||||
void apply();
|
||||
|
||||
@@ -39,7 +39,7 @@ class DlgExtrusion : public QDialog, public Gui::SelectionObserver
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgExtrusion(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgExtrusion(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgExtrusion();
|
||||
void accept();
|
||||
void apply();
|
||||
|
||||
@@ -81,7 +81,7 @@ class DlgFilletEdges : public QWidget, public Gui::SelectionObserver
|
||||
public:
|
||||
enum FilletType { FILLET, CHAMFER };
|
||||
|
||||
DlgFilletEdges(FilletType type, Part::FilletBase*, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgFilletEdges(FilletType type, Part::FilletBase*, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgFilletEdges();
|
||||
bool accept();
|
||||
|
||||
@@ -121,7 +121,7 @@ class FilletEdgesDialog : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
FilletEdgesDialog(DlgFilletEdges::FilletType type, Part::FilletBase* fillet, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
FilletEdgesDialog(DlgFilletEdges::FilletType type, Part::FilletBase* fillet, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~FilletEdgesDialog();
|
||||
void accept();
|
||||
|
||||
@@ -134,7 +134,7 @@ class DlgChamferEdges : public DlgFilletEdges
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgChamferEdges(Part::FilletBase*, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgChamferEdges(Part::FilletBase*, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgChamferEdges();
|
||||
|
||||
protected:
|
||||
|
||||
@@ -34,7 +34,7 @@ class DlgPartBoxImp : public Gui::LocationDialogUiImp
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgPartBoxImp(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgPartBoxImp(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgPartBoxImp();
|
||||
};
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class DlgPartCylinderImp : public Gui::LocationDialogUiImp
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgPartCylinderImp(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgPartCylinderImp(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgPartCylinderImp();
|
||||
|
||||
double getRadius() const;
|
||||
|
||||
@@ -33,7 +33,7 @@ class DlgPartImportIgesImp : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgPartImportIgesImp( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
|
||||
DlgPartImportIgesImp( QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags() );
|
||||
~DlgPartImportIgesImp();
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
@@ -34,7 +34,7 @@ class DlgPartImportStepImp : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgPartImportStepImp( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
|
||||
DlgPartImportStepImp( QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags() );
|
||||
~DlgPartImportStepImp();
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
@@ -36,7 +36,7 @@ class DlgRevolution : public QDialog, public Gui::SelectionObserver
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgRevolution(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgRevolution(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgRevolution();
|
||||
void accept();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user