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:
@@ -36,7 +36,7 @@ class DlgDecimating : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgDecimating(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgDecimating(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgDecimating();
|
||||
void setNumberOfTriangles(int);
|
||||
double tolerance() const;
|
||||
|
||||
@@ -68,7 +68,7 @@ class DlgEvaluateMeshImp : public QDialog, public App::DocumentObserver
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgEvaluateMeshImp(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgEvaluateMeshImp(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgEvaluateMeshImp();
|
||||
|
||||
void setMesh(Mesh::Feature*);
|
||||
@@ -146,7 +146,7 @@ class DockEvaluateMeshImp : public DlgEvaluateMeshImp
|
||||
Q_OBJECT
|
||||
|
||||
protected:
|
||||
DockEvaluateMeshImp( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
|
||||
DockEvaluateMeshImp( QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags() );
|
||||
~DockEvaluateMeshImp();
|
||||
void closeEvent(QCloseEvent* e);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class DlgEvaluateSettings : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgEvaluateSettings(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgEvaluateSettings(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgEvaluateSettings();
|
||||
|
||||
void setNonmanifoldPointsChecked(bool);
|
||||
|
||||
@@ -34,7 +34,7 @@ class DlgRegularSolidImp : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DlgRegularSolidImp(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
DlgRegularSolidImp(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~DlgRegularSolidImp();
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
@@ -73,7 +73,7 @@ class MeshGuiExport SmoothingDialog : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SmoothingDialog(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
SmoothingDialog(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~SmoothingDialog();
|
||||
|
||||
int iterations() const
|
||||
|
||||
@@ -52,7 +52,7 @@ class MeshGuiExport GmshWidget : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
GmshWidget(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
GmshWidget(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~GmshWidget();
|
||||
void accept();
|
||||
void reject();
|
||||
@@ -90,7 +90,7 @@ class MeshGuiExport RemeshGmsh : public GmshWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RemeshGmsh(Mesh::Feature* mesh, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
RemeshGmsh(Mesh::Feature* mesh, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~RemeshGmsh();
|
||||
|
||||
protected:
|
||||
|
||||
@@ -42,7 +42,7 @@ class MeshGuiExport RemoveComponents : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RemoveComponents(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
RemoveComponents(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~RemoveComponents();
|
||||
void reject();
|
||||
void deleteSelection();
|
||||
@@ -78,7 +78,7 @@ class MeshGuiExport RemoveComponentsDialog : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RemoveComponentsDialog(QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
RemoveComponentsDialog(QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~RemoveComponentsDialog();
|
||||
void reject();
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class Ui_Segmentation;
|
||||
class MeshGuiExport Segmentation : public QWidget
|
||||
{
|
||||
public:
|
||||
Segmentation(Mesh::Feature* mesh, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
Segmentation(Mesh::Feature* mesh, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~Segmentation();
|
||||
void accept();
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ class MeshGuiExport SegmentationBestFit : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SegmentationBestFit(Mesh::Feature* mesh, QWidget* parent = 0, Qt::WindowFlags fl = 0);
|
||||
SegmentationBestFit(Mesh::Feature* mesh, QWidget* parent = 0, Qt::WindowFlags fl = Qt::WindowFlags());
|
||||
~SegmentationBestFit();
|
||||
void accept();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user