[Kst] kdeextragear-2/kst/kst (silent)
George Staikos
staikos at kde.org
Thu Mar 17 23:07:32 CET 2005
CVS commit by staikos:
CVS_SILENT
M +132 -117 kstdatamanager_i.cpp 1.96
--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp #1.95:1.96
@@ -221,5 +228,6 @@ void KstObjectItem::makeImage() {
}
- void KstObjectItem::applyFilter(int id) {
+
+void KstObjectItem::applyFilter(int id) {
/* Replace with new filtering logic
KST::filterSetList.lock().readLock();
@@ -234,7 +242,8 @@ void KstObjectItem::makeImage() {
}
*/
- }
+}
- void KstObjectItem::activateHint(int id) {
+
+void KstObjectItem::activateHint(int id) {
KstDataObjectPtr d = dataObject();
const KstCurveHintList* hints = d->curveHints();
@@ -256,7 +265,8 @@ void KstObjectItem::makeImage() {
cnt++;
}
- }
+}
- void KstObjectItem::addToPlot(int id) {
+
+void KstObjectItem::addToPlot(int id) {
Kst2DPlotPtr p = PlotMap[id];
KstBaseCurvePtr c = kst_cast<KstBaseCurve>(dataObject());
@@ -267,7 +277,8 @@ void KstObjectItem::makeImage() {
emit updated();
}
- }
+}
- void KstObjectItem::removeFromPlot(int id) {
+
+void KstObjectItem::removeFromPlot(int id) {
Kst2DPlotPtr p = PlotMap[id];
KstBaseCurvePtr c = kst_cast<KstBaseCurve>(dataObject());
@@ -278,7 +289,8 @@ void KstObjectItem::makeImage() {
emit updated();
}
- }
+}
- void KstObjectItem::addImageToPlot(int id) {
+
+void KstObjectItem::addImageToPlot(int id) {
Kst2DPlotPtr p = PlotMap[id];
KstImagePtr img = kst_cast<KstImage>(dataObject());
@@ -289,7 +301,8 @@ void KstObjectItem::makeImage() {
emit updated();
}
- }
+}
- void KstObjectItem::removeImageFromPlot(int id) {
+
+void KstObjectItem::removeImageFromPlot(int id) {
Kst2DPlotPtr p = PlotMap[id];
KstImagePtr img = kst_cast<KstImage>(dataObject());
@@ -300,12 +313,13 @@ void KstObjectItem::makeImage() {
emit updated();
}
- }
+}
- void KstObjectItem::paintPlot(Kst2DPlotPtr p) {
+
+void KstObjectItem::paintPlot(Kst2DPlotPtr p) {
KstApp *app = KstApp::inst();
KMdiIterator<KMdiChildView*> *it = app->createIterator();
while (it->currentItem()) {
KstViewWindow *v = dynamic_cast<KstViewWindow*>(it->currentItem());
- if (v && v->view()->contains(static_cast<KstViewObject*>(p))) {
+ if (v && v->view()->contains(kst_cast<KstViewObject>(p))) {
v->view()->paint(P_PLOT);
break;
@@ -314,8 +328,9 @@ void KstObjectItem::makeImage() {
}
app->deleteIterator(it);
- }
+}
- KstDataManagerI::KstDataManagerI(KstDoc *in_doc, QWidget* parent, const char* name, bool modal, WFlags fl)
- : KstDataManager(parent, name, modal, fl) {
+
+KstDataManagerI::KstDataManagerI(KstDoc *in_doc, QWidget* parent, const char* name, bool modal, WFlags fl)
+: KstDataManager(parent, name, modal, fl) {
doc = in_doc;
@@ -353,6 +368,6 @@ void KstObjectItem::makeImage() {
KstMatrixDialogI::globalInstance(), SLOT(show_New()));
-// FIXME: Filters disabled for now...
-// connect(Filter, SIGNAL(clicked()), this, SLOT(filter_I()));
+ // FIXME: Filters disabled for now...
+ // connect(Filter, SIGNAL(clicked()), this, SLOT(filter_I()));
connect(DataView, SIGNAL(contextMenuRequested(QListViewItem*, const QPoint&, int)), this, SLOT(contextMenu(QListViewItem*, const QPoint&, int)));
More information about the Kst
mailing list