mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Replace Q_NULLPTR by nullptr
This commit is contained in:
@@ -11,7 +11,7 @@ class ForeignKeyEditor : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ForeignKeyEditor(QWidget* parent = Q_NULLPTR)
|
||||
explicit ForeignKeyEditor(QWidget* parent = nullptr)
|
||||
: QWidget(parent)
|
||||
, tablesComboBox(new QComboBox(this))
|
||||
, idsComboBox(new QComboBox(this))
|
||||
|
||||
@@ -18,7 +18,7 @@ class ForeignKeyEditorDelegate : public QStyledItemDelegate
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ForeignKeyEditorDelegate(const DBBrowserDB& db, sqlb::Table& table, QObject* parent = Q_NULLPTR);
|
||||
explicit ForeignKeyEditorDelegate(const DBBrowserDB& db, sqlb::Table& table, QObject* parent = nullptr);
|
||||
|
||||
QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const Q_DECL_OVERRIDE;
|
||||
void setEditorData(QWidget* editor, const QModelIndex& index) const Q_DECL_OVERRIDE;
|
||||
|
||||
@@ -17,7 +17,7 @@ class SqlExecutionArea : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SqlExecutionArea(DBBrowserDB& _db, QWidget* parent = Q_NULLPTR);
|
||||
explicit SqlExecutionArea(DBBrowserDB& _db, QWidget* parent = nullptr);
|
||||
~SqlExecutionArea();
|
||||
|
||||
QString getSql() const;
|
||||
|
||||
Reference in New Issue
Block a user