examples/dbus/remotecontrolledcar/car/car.h
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    39 ****************************************************************************/
    39 ****************************************************************************/
    40 
    40 
    41 #ifndef CAR_H
    41 #ifndef CAR_H
    42 #define CAR_H
    42 #define CAR_H
    43 
    43 
    44 #include <QGraphicsItem>
    44 #include <QGraphicsObject>
    45 #include <QObject>
       
    46 #include <QBrush>
    45 #include <QBrush>
    47 
    46 
    48 class Car : public QObject, public QGraphicsItem
    47 class Car : public QGraphicsObject
    49 {
    48 {
    50     Q_OBJECT
    49     Q_OBJECT
    51 
       
    52 public:
    50 public:
    53     Car();
    51     Car();
    54     QRectF boundingRect() const;
    52     QRectF boundingRect() const;
    55 
    53 
    56 public Q_SLOTS:
    54 public Q_SLOTS: