[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri Jul 9 23:09:22 CEST 2004
CVS commit by staikos:
KstSharedPtr usage
M +7 -7 kstdatamanager_i.cpp 1.58
--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp #1.57:1.58
@@ -31,7 +31,7 @@
#include <klistview.h>
#include <klocale.h>
+#include <kmdimainfrm.h>
#include <kmessagebox.h>
#include <kpopupmenu.h>
-#include <kmdimainfrm.h>
// application specific includes
@@ -40,17 +40,17 @@
#include "kstcurvedialog_i.h"
#include "kstdatacollection.h"
+#include "kstdatamanager_i.h"
#include "kstdoc.h"
#include "ksteqdialog_i.h"
+#include "ksteventmonitor_i.h"
#include "kstfilteredvector.h"
#include "ksthsdialog_i.h"
-#include "kstplugin.h"
#include "kstplotdialog_i.h"
+#include "kstplugin.h"
#include "kstplugindialog_i.h"
-#include "ksteventmonitor_i.h"
#include "kstpsddialog_i.h"
#include "kstrvector.h"
#include "kstvectordialog_i.h"
#include "kstviewwindow.h"
-#include "kstdatamanager_i.h"
#include "vectorselector.h"
@@ -240,5 +240,5 @@ void KstObjectItem::applyFilter(int id)
void KstObjectItem::addToPlot(int id) {
Kst2DPlotPtr p = PlotMap[id];
- KstBaseCurve *c = dynamic_cast<KstBaseCurve*>(dataObject().data());
+ KstBaseCurvePtr c = dynamic_cast<KstBaseCurve*>(dataObject().data());
if (p && c) {
p->addCurve(c);
@@ -249,5 +249,5 @@ void KstObjectItem::addToPlot(int id) {
void KstObjectItem::removeFromPlot(int id) {
Kst2DPlotPtr p = PlotMap[id];
- KstBaseCurve *c = dynamic_cast<KstBaseCurve*>(dataObject().data());
+ KstBaseCurvePtr c = dynamic_cast<KstBaseCurve*>(dataObject().data());
if (p && c) {
p->removeCurve(c);
@@ -447,5 +447,5 @@ void KstDataManagerI::contextMenu(QListV
Q_UNUSED(col)
KstObjectItem *koi = static_cast<KstObjectItem*>(i);
- KstBaseCurve *c;
+ KstBaseCurvePtr c;
KPopupMenu *m = new KPopupMenu(this);
More information about the Kst
mailing list