##// END OF EJS Templates
removed QPieSeries::setData()
Jani Honkonen -
r384:dea6d72e2878
parent child
Show More
@@ -150,19 +150,6 QSeries::QSeriesType QPieSeries::type() const
150 }
150 }
151
151
152 /*!
152 /*!
153 \internal \a data
154 */
155 bool QPieSeries::setData(QList<qreal> data)
156 {
157 // TODO: remove this function
158 QList<QPieSlice*> slices;
159 foreach (qreal value, data)
160 slices << new QPieSlice(value, QString::number(value));
161 replace(slices);
162 return true;
163 }
164
165 /*!
166 Sets an array of \a slices to the series replacing the existing slices.
153 Sets an array of \a slices to the series replacing the existing slices.
167 Slice ownership is passed to the series.
154 Slice ownership is passed to the series.
168 */
155 */
@@ -56,7 +56,6 public:
56
56
57 public: // from QChartSeries
57 public: // from QChartSeries
58 QSeriesType type() const;
58 QSeriesType type() const;
59 virtual bool setData(QList<qreal> data); // TODO: remove this
60
59
61 public:
60 public:
62 void replace(QList<QPieSlice*> slices);
61 void replace(QList<QPieSlice*> slices);
General Comments 0
You need to be logged in to leave comments. Login now