##// END OF EJS Templates
ModelMappers dosc update
Marek Rosa -
r1347:573b982b92ef
parent child
Show More
@@ -8,6 +8,9
8
8
9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
10
10
11 /*!
12 Constructs a mapper object which is a child of \a parent.
13 */
11 QBarModelMapper::QBarModelMapper(QObject *parent) :
14 QBarModelMapper::QBarModelMapper(QObject *parent) :
12 QObject(parent),
15 QObject(parent),
13 d_ptr(new QBarModelMapperPrivate(this))
16 d_ptr(new QBarModelMapperPrivate(this))
@@ -10,6 +10,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
10 Nothing here yet
10 Nothing here yet
11 */
11 */
12
12
13 /*!
14 Constructs a mapper object which is a child of \a parent.
15 */
13 QHBarModelMapper::QHBarModelMapper(QObject *parent) :
16 QHBarModelMapper::QHBarModelMapper(QObject *parent) :
14 QBarModelMapper(parent)
17 QBarModelMapper(parent)
15 {
18 {
@@ -10,6 +10,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
10 Nothing here yet
10 Nothing here yet
11 */
11 */
12
12
13 /*!
14 Constructs a mapper object which is a child of \a parent.
15 */
13 QVBarModelMapper::QVBarModelMapper(QObject *parent) :
16 QVBarModelMapper::QVBarModelMapper(QObject *parent) :
14 QBarModelMapper(parent)
17 QBarModelMapper(parent)
15 {
18 {
@@ -46,6 +46,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
46 Default value is: -1 (invalid mapping)
46 Default value is: -1 (invalid mapping)
47 */
47 */
48
48
49 /*!
50 Constructs a mapper object which is a child of \a parent.
51 */
49 QHPieModelMapper::QHPieModelMapper(QObject *parent) :
52 QHPieModelMapper::QHPieModelMapper(QObject *parent) :
50 QPieModelMapper(parent)
53 QPieModelMapper(parent)
51 {
54 {
@@ -63,6 +63,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
63 NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells.
63 NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells.
64 */
64 */
65
65
66 /*!
67 Constructs a mapper object which is a child of \a parent.
68 */
66 QPieModelMapper::QPieModelMapper(QObject *parent) :
69 QPieModelMapper::QPieModelMapper(QObject *parent) :
67 QObject(parent),
70 QObject(parent),
68 d_ptr(new QPieModelMapperPrivate(this))
71 d_ptr(new QPieModelMapperPrivate(this))
@@ -18,7 +18,6
18 **
18 **
19 ****************************************************************************/
19 ****************************************************************************/
20
20
21 #include "qpiemodelmapper_p.h"
22 #include "qvpiemodelmapper.h"
21 #include "qvpiemodelmapper.h"
23
22
24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
23 QTCOMMERCIALCHART_BEGIN_NAMESPACE
@@ -47,6 +46,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
47 Default value is: -1 (invalid mapping)
46 Default value is: -1 (invalid mapping)
48 */
47 */
49
48
49 /*!
50 Constructs a mapper object which is a child of \a parent.
51 */
50 QVPieModelMapper::QVPieModelMapper(QObject *parent) :
52 QVPieModelMapper::QVPieModelMapper(QObject *parent) :
51 QPieModelMapper(parent)
53 QPieModelMapper(parent)
52 {
54 {
@@ -23,6 +23,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
23 Default value is: -1 (invalid mapping)
23 Default value is: -1 (invalid mapping)
24 */
24 */
25
25
26 /*!
27 Constructs a mapper object which is a child of \a parent.
28 */
26 QHXYModelMapper::QHXYModelMapper(QObject *parent) :
29 QHXYModelMapper::QHXYModelMapper(QObject *parent) :
27 QXYModelMapper(parent)
30 QXYModelMapper(parent)
28 {
31 {
@@ -24,6 +24,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 Default value is: -1 (invalid mapping)
24 Default value is: -1 (invalid mapping)
25 */
25 */
26
26
27 /*!
28 Constructs a mapper object which is a child of \a parent.
29 */
27 QVXYModelMapper::QVXYModelMapper(QObject *parent) :
30 QVXYModelMapper::QVXYModelMapper(QObject *parent) :
28 QXYModelMapper(parent)
31 QXYModelMapper(parent)
29 {
32 {
@@ -38,10 +38,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
38 \mainclass
38 \mainclass
39
39
40 The instance of this class cannot be created directly. QHXYModelMapper of QVXYModelMapper should be used instead. This class is used to create a connection between QXYSeries and QAbstractItemModel derived model object.
40 The instance of this class cannot be created directly. QHXYModelMapper of QVXYModelMapper should be used instead. This class is used to create a connection between QXYSeries and QAbstractItemModel derived model object.
41 It is possible to use both QAbstractItemModel and QPieSeries model API. QPieModelMapper makes sure that QXYSeries and the model are kept in sync.
41 It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync.
42 NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells.
42 NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells.
43 */
43 */
44
44
45 /*!
46 Constructs a mapper object which is a child of \a parent.
47 */
45 QXYModelMapper::QXYModelMapper(QObject *parent):
48 QXYModelMapper::QXYModelMapper(QObject *parent):
46 QObject(parent),
49 QObject(parent),
47 d_ptr(new QXYModelMapperPrivate(this))
50 d_ptr(new QXYModelMapperPrivate(this))
General Comments 0
You need to be logged in to leave comments. Login now