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