##// END OF EJS Templates
Removed few commeneted out lines and documented few funtions
Marek Rosa -
r879:f5fdb845366c
parent child
Show More
@@ -274,6 +274,10 BarChartModel& QBarSeries::modelInternal()
274 274 return *m_internalModel;
275 275 }
276 276
277 /*!
278 \fn bool QBarSeries::setModel(QAbstractItemModel *model)
279 Sets the \a model to be used as a data source
280 */
277 281 bool QBarSeries::setModel(QAbstractItemModel *model)
278 282 {
279 283 // disconnect signals from old model
@@ -58,7 +58,6 public:
58 58 void setLabelsVisible(bool visible = true);
59 59
60 60 bool setModel(QAbstractItemModel *model);
61 // QAbstractItemModel *modelExt() { return m_model; }
62 61 void setModelMapping(int categories, int bottomBoundry, int topBoundry, Qt::Orientation orientation = Qt::Vertical);
63 62 void setModelMappingShift(int first, int count);
64 63
@@ -630,6 +630,10 qreal QPieSeries::total() const
630 630 \sa pieSize(), setPieSize()
631 631 */
632 632
633 /*!
634 \fn bool QPieSeries::setModel(QAbstractItemModel *model)
635 Sets the \a model to be used as a data source
636 */
633 637 bool QPieSeries::setModel(QAbstractItemModel* model)
634 638 {
635 639 Q_D(QPieSeries);
@@ -54,6 +54,7 public:
54 54 // TODO
55 55 virtual bool setModel(QAbstractItemModel* /*model*/) { return false; }
56 56 QAbstractItemModel* model() const { return m_model; }
57
57 58 void setName(QString name) { m_name = name; }
58 59 QString name() const { return m_name; }
59 60
@@ -62,7 +62,6 public:
62 62 QBrush brush() const {return m_brush;}
63 63
64 64 bool setModel(QAbstractItemModel *model);
65 // QAbstractItemModel* model() const { return m_model; }
66 65
67 66 virtual void setModelMapping(int modelX, int modelY, Qt::Orientation orientation = Qt::Vertical);
68 67 virtual void setModelMappingRange(int first, int count = 0);
General Comments 0
You need to be logged in to leave comments. Login now