summaryrefslogtreecommitdiffstats
path: root/examples/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus')
-rw-r--r--examples/dbus/remotecontrolledcar/car/car.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/car.h b/examples/dbus/remotecontrolledcar/car/car.h
index 5ef046e..c611018 100644
--- a/examples/dbus/remotecontrolledcar/car/car.h
+++ b/examples/dbus/remotecontrolledcar/car/car.h
@@ -41,14 +41,12 @@
#ifndef CAR_H
#define CAR_H
-#include <QGraphicsItem>
-#include <QObject>
+#include <QGraphicsObject>
#include <QBrush>
-class Car : public QObject, public QGraphicsItem
+class Car : public QGraphicsObject
{
Q_OBJECT
-
public:
Car();
QRectF boundingRect() const;