diff options
Diffstat (limited to 'examples/declarative/tutorials/extending/chapter2-methods/piechart.h')
-rw-r--r-- | examples/declarative/tutorials/extending/chapter2-methods/piechart.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/tutorials/extending/chapter2-methods/piechart.h b/examples/declarative/tutorials/extending/chapter2-methods/piechart.h index 38f5c0553f..5205151a0a 100644 --- a/examples/declarative/tutorials/extending/chapter2-methods/piechart.h +++ b/examples/declarative/tutorials/extending/chapter2-methods/piechart.h @@ -40,11 +40,11 @@ #ifndef PIECHART_H #define PIECHART_H -#include <QtDeclarative/QSGPaintedItem> +#include <QtDeclarative/QQuickPaintedItem> #include <QColor> //![0] -class PieChart : public QSGPaintedItem +class PieChart : public QQuickPaintedItem { //![0] Q_OBJECT @@ -55,7 +55,7 @@ class PieChart : public QSGPaintedItem public: //![1] - PieChart(QSGItem *parent = 0); + PieChart(QQuickItem *parent = 0); QString name() const; void setName(const QString &name); |