##// END OF EJS Templates
Remove QPieSeries::replace(). The function does not really make sense with the pie.
Jani Honkonen -
r1013:bd5d49d1f7af
parent child
Show More
@@ -136,16 +136,6 QAbstractSeries::QSeriesType QPieSeries::type() const
136 }
136 }
137
137
138 /*!
138 /*!
139 Sets an array of \a slices to the series replacing the existing slices.
140 Slice ownership is passed to the series.
141 */
142 void QPieSeries::replace(QList<QPieSlice*> slices)
143 {
144 clear();
145 append(slices);
146 }
147
148 /*!
149 Appends an array of \a slices to the series.
139 Appends an array of \a slices to the series.
150 Slice ownership is passed to the series.
140 Slice ownership is passed to the series.
151 */
141 */
@@ -47,7 +47,6 public:
47 QPieSeries& operator << (QPieSlice* slice);
47 QPieSeries& operator << (QPieSlice* slice);
48 QPieSlice* append(qreal value, QString name);
48 QPieSlice* append(qreal value, QString name);
49 void insert(int index, QPieSlice* slice);
49 void insert(int index, QPieSlice* slice);
50 void replace(QList<QPieSlice*> slices);
51 void remove(QPieSlice* slice);
50 void remove(QPieSlice* slice);
52 void clear();
51 void clear();
53
52
@@ -55,7 +55,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
55 /*!
55 /*!
56 Constructs an empty slice with a \a parent.
56 Constructs an empty slice with a \a parent.
57
57
58 \sa QPieSeries::append(), QPieSeries::insert(), QPieSeries::replace()
58 \sa QPieSeries::append(), QPieSeries::insert()
59 */
59 */
60 QPieSlice::QPieSlice(QObject *parent)
60 QPieSlice::QPieSlice(QObject *parent)
61 :QObject(parent),
61 :QObject(parent),
@@ -66,7 +66,7 QPieSlice::QPieSlice(QObject *parent)
66
66
67 /*!
67 /*!
68 Constructs an empty slice with given \a value, \a label and a \a parent.
68 Constructs an empty slice with given \a value, \a label and a \a parent.
69 \sa QPieSeries::append(), QPieSeries::insert(), QPieSeries::replace()
69 \sa QPieSeries::append(), QPieSeries::insert()
70 */
70 */
71 QPieSlice::QPieSlice(qreal value, QString label, QObject *parent)
71 QPieSlice::QPieSlice(qreal value, QString label, QObject *parent)
72 :QObject(parent),
72 :QObject(parent),
General Comments 0
You need to be logged in to leave comments. Login now