[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Thu Aug 12 06:21:14 CEST 2004
CVS commit by staikos:
KstSharedPtrs
M +18 -18 main.cpp 1.73
--- kdeextragear-2/kst/kst/main.cpp #1.72:1.73
@@ -340,11 +340,11 @@ int main(int argc, char *argv[]) {
/* temp variables: these all get stuck into list objects */
KstDataSourcePtr file;
- KstRVector *xvector=NULL;
- KstRVector *yvector;
- KstRVector *evector;
- KstVCurve *curve;
- KstPSDCurve *psdcurve;
- KstEquationCurve *eqcurve;
- KstHistogram *hscurve;
+ KstRVectorPtr xvector;
+ KstRVectorPtr yvector;
+ KstRVectorPtr evector;
+ KstVCurvePtr curve;
+ KstPSDCurvePtr psdcurve;
+ KstEquationCurvePtr eqcurve;
+ KstHistogramPtr hscurve;
Kst2DPlotPtr plot;
@@ -410,10 +410,10 @@ int main(int argc, char *argv[]) {
"-" + eqS,
eqS,
- min,max,n, KstColorSequence::next());
+ min, max, n, KstColorSequence::next());
KST::dataObjectList.lock().writeLock();
- KST::dataObjectList.append(eqcurve);
+ KST::dataObjectList.append(eqcurve.data());
KST::dataObjectList.lock().writeUnlock();
- plot->addCurve(eqcurve);
+ plot->addCurve(eqcurve.data());
if (in.sep_plots) {
@@ -475,7 +475,7 @@ int main(int argc, char *argv[]) {
KST::dataObjectList.lock().writeLock();
- KST::dataObjectList.append(curve);
+ KST::dataObjectList.append(curve.data());
KST::dataObjectList.lock().writeUnlock();
- plot->addCurve(curve);
+ plot->addCurve(curve.data());
if (in.sep_plots) {
@@ -514,7 +514,7 @@ int main(int argc, char *argv[]) {
}
KST::dataObjectList.lock().writeLock();
- KST::dataObjectList.append(eqcurve);
+ KST::dataObjectList.append(eqcurve.data());
KST::dataObjectList.lock().writeUnlock();
- plot->addCurve(eqcurve);
+ plot->addCurve(eqcurve.data());
if (in.sep_plots) {
@@ -543,7 +543,7 @@ int main(int argc, char *argv[]) {
}
KST::dataObjectList.lock().writeLock();
- KST::dataObjectList.append(psdcurve);
+ KST::dataObjectList.append(psdcurve.data());
KST::dataObjectList.lock().writeUnlock();
- plot->addCurve(psdcurve);
+ plot->addCurve(psdcurve.data());
if (in.sep_plots) {
@@ -574,7 +574,7 @@ int main(int argc, char *argv[]) {
color);
KST::dataObjectList.lock().writeLock();
- KST::dataObjectList.append(KstDataObjectPtr(hscurve));
+ KST::dataObjectList.append(hscurve.data());
KST::dataObjectList.lock().writeUnlock();
- plot->addCurve(hscurve);
+ plot->addCurve(hscurve.data());
if (in.sep_plots) {
More information about the Kst
mailing list