summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/chip/chip.h')
-rw-r--r--examples/widgets/graphicsview/chip/chip.h9
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