summaryrefslogtreecommitdiffstats
path: root/src/qchart_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qchart_p.h')
-rw-r--r--src/qchart_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qchart_p.h b/src/qchart_p.h
index f26a3600..e715bc63 100644
--- a/src/qchart_p.h
+++ b/src/qchart_p.h
@@ -31,10 +31,10 @@
#define QCHART_P_H
#include "qchartglobal.h"
+#include "qchart.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
-class QChart;
class ChartThemeManager;
class ChartPresenter;
class QLegend;
@@ -44,14 +44,16 @@ class QChartPrivate
{
public:
- QChartPrivate(QChart *q);
+ QChartPrivate(QChart *q, QChart::ChartType type);
~QChartPrivate();
QChart *q_ptr;
QLegend *m_legend;
ChartDataSet *m_dataset;
ChartPresenter *m_presenter;
ChartThemeManager *m_themeManager;
+ QChart::ChartType m_type;
+ void init();
void zoomIn(qreal factor);
void zoomOut(qreal factor);
void zoomIn(const QRectF &rect);