void KstViewLegend::removeCurve(KstBaseCurvePtr incurve) { if (_curves.contains(incurve)) { _curves.remove(incurve); disconnect(incurve,SIGNAL(modifiedLegendEntry()), this, SLOT(modifiedLegendEntry())); setDirty(); } }
void KstViewLegend::addCurve(KstBaseCurvePtr incurve) { if (!_curves.contains(incurve)) { _curves.append(incurve); connect(incurve, SIGNAL(modifiedLegendEntry()), this, SLOT(modifiedLegendEntry())); setDirty(); } }
void KstBaseCurve::setLegendText(const QString& theValue) { _legendText = theValue; updateParsedLegendTag(); emit modifiedLegendEntry(); }
void Relation::setLegendText(const QString& theValue) { _legendText = theValue; updateParsedLegendTag(); emit modifiedLegendEntry(); }