summaryrefslogtreecommitdiffstats
path: root/examples/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus')
-rw-r--r--examples/dbus/chat/chat.h2
-rw-r--r--examples/dbus/remotecontrolledcar/car/car.h2
-rw-r--r--examples/dbus/remotecontrolledcar/controller/controller.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/dbus/chat/chat.h b/examples/dbus/chat/chat.h
index 7faebe63fd..444d6c9d80 100644
--- a/examples/dbus/chat/chat.h
+++ b/examples/dbus/chat/chat.h
@@ -85,7 +85,7 @@ class NicknameDialog: public QDialog, public Ui::NicknameDialog
{
Q_OBJECT
public:
- NicknameDialog(QWidget *parent = 0);
+ NicknameDialog(QWidget *parent = nullptr);
};
#endif // CHAT_H
diff --git a/examples/dbus/remotecontrolledcar/car/car.h b/examples/dbus/remotecontrolledcar/car/car.h
index 92fc1ccdcb..e843786e5b 100644
--- a/examples/dbus/remotecontrolledcar/car/car.h
+++ b/examples/dbus/remotecontrolledcar/car/car.h
@@ -71,7 +71,7 @@ Q_SIGNALS:
void crashed();
protected:
- void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
+ void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr);
void timerEvent(QTimerEvent *event);
private:
diff --git a/examples/dbus/remotecontrolledcar/controller/controller.h b/examples/dbus/remotecontrolledcar/controller/controller.h
index 74776f2638..87359661ba 100644
--- a/examples/dbus/remotecontrolledcar/controller/controller.h
+++ b/examples/dbus/remotecontrolledcar/controller/controller.h
@@ -59,7 +59,7 @@ class Controller : public QWidget
Q_OBJECT
public:
- Controller(QWidget *parent = 0);
+ Controller(QWidget *parent = nullptr);
protected:
void timerEvent(QTimerEvent *event);