[Kst] branches/work/kst/pluginify/kst/src

Adam Treat treat at kde.org
Sat Sep 16 00:38:15 CEST 2006


SVN commit 584967 by treat:

* Add skel of future KstBasicDialog.  This will be the base
class for basic plugins to make it very easy to create dialogs.
* Remove some bogus debug lines... 


 M  +1 -0      libkstapp/Makefile.am  
 A             libkstapp/kstbasicdialog.cpp   [License: GPL (v2+)]
 A             libkstapp/kstbasicdialog.h   [License: GPL (v2+)]
 M  +0 -4      plugins/crossspectrum/crossspectrumdialog_i.cpp  
 M  +0 -1      plugins/linefit/linefitdialog_i.cpp  


--- branches/work/kst/pluginify/kst/src/libkstapp/Makefile.am #584966:584967
@@ -103,6 +103,7 @@
 	plotdialog.ui \
 	extensiondlg.ui \
 	kstdatadialog.ui \
+	kstbasicdialog.cpp \
 	choosecolordialog.ui \
 	debugdialog.ui \
 	datawizard.ui \
--- branches/work/kst/pluginify/kst/src/plugins/crossspectrum/crossspectrumdialog_i.cpp #584966:584967
@@ -70,7 +70,6 @@
 CrossSpectrumDialogI::~CrossSpectrumDialogI() {
 }
 
-#include <kdebug.h>
 void CrossSpectrumDialogI::update()
 {
   //called upon showing the dialog either in 'edit' mode or 'new' mode
@@ -173,7 +172,6 @@
   return true;
 }
 
-#include <kdebug.h>
 bool CrossSpectrumDialogI::editSingleObject(CrossPowerSpectrumPtr cps)
 {
   KST::vectorList.lock().readLock();
@@ -196,7 +194,6 @@
     if (it2 != KST::scalarList.end()) {
       cps->setFFT(*it2);
     } else {
-      kdDebug() << "fft new" << endl;
       //Deal with direct entry
       bool ok;
       double val = _w->_fft->_scalar->currentText().toDouble(&ok);
@@ -212,7 +209,6 @@
     if (it2 != KST::scalarList.end()) {
       cps->setSample(*it2);
     } else {
-      kdDebug() << "sample new" << endl;
       //Deal with direct entry
       bool ok;
       double val = _w->_sample->_scalar->currentText().toDouble(&ok);
--- branches/work/kst/pluginify/kst/src/plugins/linefit/linefitdialog_i.cpp #584966:584967
@@ -65,7 +65,6 @@
 LineFitDialogI::~LineFitDialogI() {
 }
 
-#include <kdebug.h>
 void LineFitDialogI::update()
 {
   //called upon showing the dialog either in 'edit' mode or 'new' mode


More information about the Kst mailing list