[Kst] extragear/graphics/kst/kst

Marc-Antoine Miville-Deschenes mamd at cita.utoronto.ca
Mon Dec 12 22:41:42 CET 2005


SVN commit 488019 by mamd:

remove unused code and make it compile with KDE 3.1


 M  +0 -1      Makefile.am  
 D             kdebugdcopiface.cpp  
 D             kdebugdcopiface.h  
 M  +0 -10     ksdebug.cpp  
 M  +3 -2      viewlabelwidget.ui  


--- trunk/extragear/graphics/kst/kst/Makefile.am #488018:488019
@@ -20,7 +20,6 @@
 kde_widget_LTLIBRARIES = kstwidgets.la
 
 libkst_la_SOURCES = \
-	kdebugdcopiface.cpp \
 	ksdebug.cpp \
 	kstobject.cpp \
 	kstdatasource.cpp \
--- trunk/extragear/graphics/kst/kst/ksdebug.cpp #488018:488019
@@ -25,8 +25,6 @@
 #undef kstdBacktrace
 #endif
 
-#include "kdebugdcopiface.h"
-
 #include <kapplication.h>
 #include <kglobal.h>
 #include <kinstance.h>
@@ -171,8 +169,6 @@
 
 static kstDebugPrivate *kstDebug_data = 0;
 static KStaticDeleter<kstDebugPrivate> pcd;
-static KStaticDeleter<KDebugDCOPIface> dcopsd;
-static KDebugDCOPIface* kstDebugDCOPIface = 0;
 
 static void kstDebugBackend( unsigned short nLevel, unsigned int nArea, const char *data)
 {
@@ -182,12 +178,6 @@
       pcd.setObject(kstDebug_data, new kstDebugPrivate());
       // Do not call this deleter from ~KApplication
       KGlobal::unregisterStaticDeleter(&pcd);
-
-      // create the dcop interface if it has not been created yet
-      if (!kstDebugDCOPIface)
-      {
-          kstDebugDCOPIface = dcopsd.setObject(kstDebugDCOPIface, new KDebugDCOPIface);
-      }
   }
 
   if (!kstDebug_data->config && KGlobal::_instance )
--- trunk/extragear/graphics/kst/kst/viewlabelwidget.ui #488018:488019
@@ -410,8 +410,9 @@
     </connection>
 </connections>
 <includes>
-    <include location="global" impldecl="in implementation">scalarselector.h</include>
-    <include location="global" impldecl="in declaration">kst_export.h</include>
+    <include location="global" impldecl="in implementation">knuminput.h</include>
+    <include location="local" impldecl="in implementation">scalarselector.h</include>
+    <include location="local" impldecl="in declaration">kst_export.h</include>
     <include location="local" impldecl="in implementation">viewlabelwidget.ui.h</include>
 </includes>
 <slots>


More information about the Kst mailing list