diff options
Diffstat (limited to 'examples/widgets/graphicsview/chip/chip.h')
-rw-r--r-- | examples/widgets/graphicsview/chip/chip.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/widgets/graphicsview/chip/chip.h b/examples/widgets/graphicsview/chip/chip.h index 7e98b24502..c90d314e7d 100644 --- a/examples/widgets/graphicsview/chip/chip.h +++ b/examples/widgets/graphicsview/chip/chip.h @@ -42,8 +42,8 @@ #ifndef CHIP_H #define CHIP_H -#include <QtGui/QColor> -#include <QtWidgets/QGraphicsItem> +#include <QColor> +#include <QGraphicsItem> class Chip : public QGraphicsItem { @@ -60,9 +60,10 @@ protected: void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); private: - int x, y; + int x; + int y; QColor color; QVector<QPointF> stuff; }; -#endif +#endif // CHIP_H |