[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Jun 25 06:29:38 CEST 2003


CVS commit by staikos: 

remove some code that has lost its usefulness


  M +0 -7      kst.cpp   1.32
  M +0 -2      kst.h   1.15
  M +1 -1      kstdatamanager_i.cpp   1.16
  M +0 -1      kstdatamanager_i.h   1.6


--- kdeextragear-2/kst/kst/kst.cpp  #1.31:1.32
@@ -137,7 +137,4 @@ KstApp::KstApp(QWidget *parent, const ch
           KstVectorDialogI::globalInstance(), SLOT(show_I(const QString &)));
 
-  connect(dataManager, SIGNAL(editDataObject(KstDataObjectPtr)),
-          this, SLOT(showDialogFor(KstDataObjectPtr)));
-
   connect(dataManager->OpenPlotDialog, SIGNAL(clicked()),
           this, SLOT(showPlotDialog()));
@@ -790,8 +787,4 @@ void KstApp::showPluginManager() {
 
   KstPluginDialogI::globalInstance()->updatePluginList();
-}
-
-void KstApp::showDialogFor(KstDataObjectPtr obj) {
-  obj->showDialog();
 }
 

--- kdeextragear-2/kst/kst/kst.h  #1.14:1.15
@@ -239,6 +239,4 @@ public slots:
   void registerDocChange();
 
-  void showDialogFor(KstDataObjectPtr obj);
-
 private:
   /** the configuration object of the application */

--- kdeextragear-2/kst/kst/kstdatamanager_i.cpp  #1.15:1.16
@@ -153,5 +153,5 @@ void KstDataManagerI::edit_I() {
 
   if (qi->rtti() == RTTI_OBJ_OBJECT) {
-    emit editDataObject(static_cast<KstObjectItem*>(qi)->dataObject());
+    static_cast<KstObjectItem*>(qi)->dataObject()->showDialog();
   }
 }

--- kdeextragear-2/kst/kst/kstdatamanager_i.h  #1.5:1.6
@@ -27,5 +27,4 @@ private:
 signals:
   void editDataVector(const QString &);
-  void editDataObject(KstDataObjectPtr);
 };
 




More information about the Kst mailing list