mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -39,7 +39,7 @@ class PropertiesEditorDialog : public QDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
template<typename T>
|
||||
PropertiesEditorDialog(T editor, QWidget *parent = 0) :
|
||||
PropertiesEditorDialog(T editor, QWidget *parent = nullptr) :
|
||||
QDialog (parent)
|
||||
{
|
||||
//Set dialog title
|
||||
|
||||
@@ -31,7 +31,7 @@ class PropertiesEditorDockWidget : public QDockWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PropertiesEditorDockWidget(QWidget *parent = 0);
|
||||
explicit PropertiesEditorDockWidget(QWidget *parent = nullptr);
|
||||
~PropertiesEditorDockWidget();
|
||||
|
||||
virtual void clear();
|
||||
|
||||
@@ -31,7 +31,7 @@ class PropertiesEditorWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PropertiesEditorWidget(QWidget *parent = 0);
|
||||
explicit PropertiesEditorWidget(QWidget *parent = nullptr);
|
||||
|
||||
virtual void apply() {}
|
||||
virtual void reset() {}
|
||||
|
||||
Reference in New Issue
Block a user