diff options
author | Michal Klocek <michal.klocek@digia.com> | 2012-07-24 15:22:55 +0300 |
---|---|---|
committer | Michal Klocek <michal.klocek@digia.com> | 2012-07-24 15:22:55 +0300 |
commit | cb991e4e355ff6183adf82940ef6efb99a6005bc (patch) | |
tree | e3ce3119266cd23cbb5c18ed54920ef4f11c47a6 /src/chartitem_p.h | |
parent | 0a19606ca1b107080e247a6d5054844d77597ba6 (diff) |
Refactors Chart to ChartElement
Diffstat (limited to 'src/chartitem_p.h')
-rw-r--r-- | src/chartitem_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chartitem_p.h b/src/chartitem_p.h index 884f7ab0..4637bb9b 100644 --- a/src/chartitem_p.h +++ b/src/chartitem_p.h @@ -30,17 +30,17 @@ #ifndef CHARTITEM_H #define CHARTITEM_H -#include "chart_p.h" +#include "chartelement_p.h" #include "chartpresenter_p.h" #include <QGraphicsItem> QTCOMMERCIALCHART_BEGIN_NAMESPACE -class ChartItem : public QGraphicsItem, public Chart +class ChartItem : public QGraphicsItem, public ChartElement { enum ChartItemTypes{ AXIS_ITEM = UserType + 1, XYLINE_ITEM }; public: - ChartItem(ChartPresenter *presenter) : QGraphicsItem(presenter ? presenter->rootItem() : 0), Chart(presenter) {} + ChartItem(ChartPresenter *presenter) : QGraphicsItem(presenter ? presenter->rootItem() : 0), ChartElement(presenter) {} }; QTCOMMERCIALCHART_END_NAMESPACE |