[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Sun Oct 30 18:14:53 CET 2005


SVN commit 475807 by staikos:

create a designer plugin for kst widgets.  They don't all work yet.


 M  +7 -0      Makefile.am  
 M  +6 -6      kstdatadialog.ui  
 M  +0 -6      kstdatadialog.ui.h  
 A             kstwidgets.cpp   [License: no copyright]
 D             kstwidgets.cw  


--- trunk/extragear/graphics/kst/kst/Makefile.am #475806:475807
@@ -17,6 +17,9 @@
 bin_PROGRAMS = kst d2asc
 
 lib_LTLIBRARIES = libkst.la libkstmath.la libkstguiapp.la libkstapp.la
+
+kde_widget_LTLIBRARIES = kstwidgets.la
+
 libkst_la_SOURCES = \
 	kdebugdcopiface.cpp \
 	ksdebug.cpp \
@@ -239,6 +242,10 @@
 kst_LDADD = libkstapp.la
 kst_LDFLAGS = $(all_libraries) $(KDE_RPATH)
 
+kstwidgets_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries)
+kstwidgets_la_LIBADD = libkstapp.la
+kstwidgets_la_SOURCES = kstwidgets.cpp
+
 KDE_ICON = kst
 
 services_DATA = kstplugin.desktop kstdatasourceplugin.desktop kstfilter.desktop kstextension.desktop
--- trunk/extragear/graphics/kst/kst/kstdatadialog.ui #475806:475807
@@ -133,12 +133,12 @@
 <functions>
     <function access="protected">setMultiple(bool multiple)</function>
     <function access="protected">closeEvent(QCloseEvent *e)</function>
-    <function access="protected" specifier="pure virtual">cleanup()</function>
-    <function access="protected" specifier="pure virtual" returnType="QString">objectName()</function>
-    <function access="protected" specifier="pure virtual">fillFieldsForEdit()</function>
-    <function access="protected" specifier="pure virtual">fillFieldsForNew()</function>
-    <function access="protected" specifier="pure virtual">populateEditMultiple()</function>
-    <function access="protected" specifier="pure virtual" returnType="KstDataObjectPtr">findObject( const QString &amp; name )</function>
+    <function access="protected" specifier="virtual">cleanup()</function>
+    <function access="protected" specifier="virtual" returnType="QString">objectName()</function>
+    <function access="protected" specifier="virtual">fillFieldsForEdit()</function>
+    <function access="protected" specifier="virtual">fillFieldsForNew()</function>
+    <function access="protected" specifier="virtual">populateEditMultiple()</function>
+    <function access="protected" specifier="virtual" returnType="KstDataObjectPtr">findObject( const QString &amp; name )</function>
 </functions>
 <layoutdefaults spacing="6" margin="11"/>
 </UI>
--- trunk/extragear/graphics/kst/kst/kstdatadialog.ui.h #475806:475807
@@ -115,20 +115,17 @@
 
 QString KstDataDialog::objectName()
 {
-    // Designer support for pure virtuals appears to be broken
     return QString::null;
 }
 
 
 void KstDataDialog::fillFieldsForEdit()
 {
-    // Designer support for pure virtuals appears to be broken
 }
 
 
 void KstDataDialog::fillFieldsForNew()
 {
-    // Designer support for pure virtuals appears to be broken
 }
 
 
@@ -140,21 +137,18 @@
 
 bool KstDataDialog::newObject()
 {
-    // Designer support for pure virtuals appears to be broken
     return false;
 }
 
 
 bool KstDataDialog::editObject()
 {
-    // Designer support for pure virtuals appears to be broken
     return false;
 }
 
 
 void KstDataDialog::populateEditMultiple()
 {
-    // Designer support for pure virtuals appears to be broken
 }
 
 


More information about the Kst mailing list