@@ -30,7 +30,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
30 | 30 | |
|
31 | 31 | class QBarModelMapperPrivate; |
|
32 | 32 | class QAbstractBarSeries; |
|
33 | class QChart; | |
|
34 | 33 | |
|
35 | 34 | class QTCOMMERCIALCHART_EXPORT QBarModelMapper : public QObject |
|
36 | 35 | { |
@@ -30,7 +30,6 | |||
|
30 | 30 | #ifndef QBARMODELMAPPER_P_H |
|
31 | 31 | #define QBARMODELMAPPER_P_H |
|
32 | 32 | |
|
33 | #include "qchartglobal.h" | |
|
34 | 33 | #include <QObject> |
|
35 | 34 | #include "qbarmodelmapper.h" |
|
36 | 35 |
@@ -36,7 +36,7 class QTCOMMERCIALCHART_EXPORT QPieModelMapper : public QObject | |||
|
36 | 36 | Q_OBJECT |
|
37 | 37 | |
|
38 | 38 | protected: |
|
39 | QPieModelMapper(QObject *parent = 0); | |
|
39 | explicit QPieModelMapper(QObject *parent = 0); | |
|
40 | 40 | |
|
41 | 41 | QAbstractItemModel* model() const; |
|
42 | 42 | void setModel(QAbstractItemModel *model); |
@@ -30,16 +30,13 | |||
|
30 | 30 | #ifndef QPIEMODELMAPPER_P_H |
|
31 | 31 | #define QPIEMODELMAPPER_P_H |
|
32 | 32 | |
|
33 | #include "qpiemodelmapper.h" | |
|
34 | 33 | #include <QObject> |
|
34 | #include "qpiemodelmapper.h" | |
|
35 | 35 | |
|
36 | 36 | class QModelIndex; |
|
37 | class QAbstractItemModel; | |
|
38 | 37 | |
|
39 | 38 | QTCOMMERCIALCHART_BEGIN_NAMESPACE |
|
40 | 39 | |
|
41 | class QPieModelMapper; | |
|
42 | class QPieSeries; | |
|
43 | 40 | class QPieSlice; |
|
44 | 41 | |
|
45 | 42 | class QPieModelMapperPrivate : public QObject |
@@ -47,7 +44,7 class QPieModelMapperPrivate : public QObject | |||
|
47 | 44 | Q_OBJECT |
|
48 | 45 | |
|
49 | 46 | public: |
|
50 | QPieModelMapperPrivate(QPieModelMapper *q); | |
|
47 | explicit QPieModelMapperPrivate(QPieModelMapper *q); | |
|
51 | 48 | |
|
52 | 49 | public Q_SLOTS: |
|
53 | 50 | // for the model |
@@ -95,7 +92,6 private: | |||
|
95 | 92 | |
|
96 | 93 | QPieModelMapper *q_ptr; |
|
97 | 94 | Q_DECLARE_PUBLIC(QPieModelMapper) |
|
98 | friend class QPieSeriesPrivate; | |
|
99 | 95 | }; |
|
100 | 96 | |
|
101 | 97 | QTCOMMERCIALCHART_END_NAMESPACE |
General Comments 0
You need to be logged in to leave comments.
Login now