[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Sun May 16 19:36:02 CEST 2004
CVS commit by staikos:
compile
M +7 -5 datawizard.ui.h 1.23
--- kdeextragear-2/kst/kst/datawizard.ui.h #1.22:1.23
@@ -197,8 +197,7 @@ void DataWizard::updatePlotBox()
}
- KstViewObjectList plots = v->view()->findChildrenType<Kst2DPlot>();
- for (KstViewObjectList::Iterator i = plots.begin(); i != plots.end(); ++i) {
- Kst2DPlotPtr plot = static_cast<Kst2DPlot*>((*i).data());
- _existingPlotName->insertItem(plot->tagName());
+ Kst2DPlotList plots = v->view()->findChildrenType<Kst2DPlot>();
+ for (Kst2DPlotList::Iterator i = plots.begin(); i != plots.end(); ++i) {
+ _existingPlotName->insertItem((*i)->tagName());
}
@@ -374,5 +373,8 @@ void DataWizard::finished()
relayout = false;
} else if (_cycleExisting->isChecked()) {
- plots = QDeepCopy<KstViewObjectList>(w->view()->findChildrenType<Kst2DPlot>());
+ Kst2DPlotList pl = QDeepCopy<Kst2DPlotList>(w->view()->findChildrenType<Kst2DPlot>());
+ for (Kst2DPlotList::Iterator i = pl.begin(); i != pl.end(); ++i) {
+ plots += (*i).data();
+ }
relayout = false;
} else { /* cycle */
More information about the Kst
mailing list