remove label()/setLabel(), use directly the points as returned by points()
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=634561
delete d;
}
-QString KPlotObject::label( int i ) const
-{
- if ( i < 0 || i >= d->pList.count() )
- return QString();
-
- return d->pList.at( i )->label();
-}
-
-void KPlotObject::setLabel( int i, const QString &n )
-{
- if ( i < 0 || i >= d->pList.count() )
- return;
-
- d->pList.at(i)->setLabel( n );
-}
-
KPlotObject::PlotTypes KPlotObject::plotTypes() const
{
return d->type;
*/
~KPlotObject();
- /**
- * @return the label of point i
- * @param i the index of the point
- */
- QString label( int i ) const;
-
- /**
- * Set the label text for point i
- * @param i the index of the point
- * @param n the new name
- */
- void setLabel( int i, const QString &n );
-
/**
* @return the plot flags of the object
*/