use nullptr instead of Q_NULLPTR (#2246)
This commit is contained in:
parent
c834f180d8
commit
fb35734678
3 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
class GLWidgetForHighDpi : public QOpenGLWidget, protected QOpenGLFunctions {
|
||||
public:
|
||||
GLWidgetForHighDpi(QWidget *parent = Q_NULLPTR,
|
||||
GLWidgetForHighDpi(QWidget *parent = nullptr,
|
||||
Qt::WindowFlags f = Qt::WindowFlags())
|
||||
: QOpenGLWidget(parent, f) {}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ class NewWordDialog : public QDialog {
|
|||
QLineEdit *m_lineEdit;
|
||||
|
||||
public:
|
||||
NewWordDialog(QWidget *parent = Q_NULLPTR);
|
||||
NewWordDialog(QWidget *parent = nullptr);
|
||||
QString getName();
|
||||
};
|
||||
|
||||
|
@ -33,7 +33,7 @@ public:
|
|||
class WordButton : public QPushButton {
|
||||
Q_OBJECT
|
||||
public:
|
||||
WordButton(const QString &text, QWidget *parent = Q_NULLPTR);
|
||||
WordButton(const QString &text, QWidget *parent = nullptr);
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent *) override;
|
||||
|
@ -54,7 +54,7 @@ class AddWordButton final : public WordButton {
|
|||
int m_column;
|
||||
|
||||
public:
|
||||
AddWordButton(const int col, QWidget *parent = Q_NULLPTR);
|
||||
AddWordButton(const int col, QWidget *parent = nullptr);
|
||||
|
||||
protected slots:
|
||||
void onClicked() override;
|
||||
|
|
|
@ -603,7 +603,7 @@ protected:
|
|||
void mouseReleaseEvent(QMouseEvent *) override;
|
||||
|
||||
public:
|
||||
ClickableLabel(const QString &text, QWidget *parent = Q_NULLPTR,
|
||||
ClickableLabel(const QString &text, QWidget *parent = nullptr,
|
||||
Qt::WindowFlags f = Qt::WindowFlags());
|
||||
~ClickableLabel();
|
||||
|
||||
|
|
Loading…
Reference in a new issue