KstBindCurveCollection::KstBindCurveCollection(KJS::ExecState *exec, KstViewLegendPtr p) : KstBindCollection(exec, "CurveCollection", false) { _isPlot = false; p->readLock(); _legend = p.data(); p->readUnlock(); }