[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Mon Nov 29 22:03:35 CET 2004


CVS commit by staikos: 

fix build - use dialog launcher


  M +8 -2      dialoglauncher-gui.cpp   1.3
  M +5 -0      dialoglauncher-nogui.cpp   1.3
  M +2 -0      dialoglauncher.h   1.3
  M +2 -2      kstvcurve.cpp   1.52


--- kdeextragear-2/kst/kst/kstvcurve.cpp  #1.51:1.52
@@ -21,6 +21,6 @@
 #include <qstylesheet.h>
 
+#include "dialoglauncher.h"
 #include "kstcolorsequence.h"
-#include "kstcurvedialog_i.h"
 #include "kstdatacollection.h"
 #include "kstdebug.h"
@@ -338,5 +338,5 @@ QString KstVCurve::propertyString() cons
 
 void KstVCurve::_showDialog() {
-  KstCurveDialogI::globalInstance()->show_Edit(tagName());
+  KstDialogs::showCurveDialog(tagName());
 }
 

--- kdeextragear-2/kst/kst/dialoglauncher.h  #1.2:1.3
@@ -32,4 +32,6 @@ namespace KstDialogs {
 
   void showImageDialog(const QString& name);
+
+  void showCurveDialog(const QString& name);
 };
 #endif

--- kdeextragear-2/kst/kst/dialoglauncher-nogui.cpp  #1.2:1.3
@@ -49,4 +49,9 @@ namespace KstDialogs {
 
 
+  void showCurveDialog(const QString& name) {
+    Q_UNUSED(name)
+  }
+
+
 };
 

--- kdeextragear-2/kst/kst/dialoglauncher-gui.cpp  #1.2:1.3
@@ -19,8 +19,9 @@
 #include "ksteqdialog_i.h"
 #include "ksthsdialog_i.h"
+#include "kstimagedialog_i.h"
+#include "kstmatrixdialog_i.h"
 #include "kstplugindialog_i.h"
 #include "kstpsddialog_i.h"
-#include "kstmatrixdialog_i.h"
-#include "kstimagedialog_i.h"
+#include "kstcurvedialog_i.h"
 
 namespace KstDialogs {
@@ -55,4 +56,9 @@ namespace KstDialogs {
 
 
+  void showCurveDialog(const QString& name) {
+    KstCurveDialogI::globalInstance()->show_Edit(name);
+  }
+
+
 };
 





More information about the Kst mailing list