aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/painteditem/textballoons/textballoon.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/painteditem/textballoons/textballoon.h')
-rw-r--r--examples/declarative/painteditem/textballoons/textballoon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/painteditem/textballoons/textballoon.h b/examples/declarative/painteditem/textballoons/textballoon.h
index 272e5f51c1..064d20bd7e 100644
--- a/examples/declarative/painteditem/textballoons/textballoon.h
+++ b/examples/declarative/painteditem/textballoons/textballoon.h
@@ -45,13 +45,13 @@
#include <QtDeclarative>
//! [0]
-class TextBalloon : public QSGPaintedItem
+class TextBalloon : public QQuickPaintedItem
{
Q_OBJECT
Q_PROPERTY(bool rightAligned READ isRightAligned WRITE setRightAligned NOTIFY rightAlignedChanged)
public:
- TextBalloon(QSGItem *parent = 0);
+ TextBalloon(QQuickItem *parent = 0);
void paint(QPainter *painter);
bool isRightAligned();