[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue Jul 27 08:40:15 CEST 2004


CVS commit by staikos: 

I think this works for the data dialog base class.  Now to test it with one of
the dialogs.


  A            kstdatadialog.ui.h   1.1 [no copyright]
  M +2 -0      Makefile.am   1.129
  M +24 -0     kstdatadialog.ui   1.2


--- kdeextragear-2/kst/kst/Makefile.am  #1.128:1.129
@@ -39,4 +39,5 @@
         kstiface.skel \
         kstiface_impl.cpp \
+        kstdatadialog.ui \
         draggablelistbox.cpp \
         plotlistbox.cpp \
@@ -208,4 +209,5 @@
 datawizard.o: datawizard.ui.h datawizard.ui
 debugdialog.o: debugdialog.ui.h debugdialog.ui
+kstdatadialog.o: kstdatadialog.ui.h kstdatadialog.ui
 
 

--- kdeextragear-2/kst/kst/kstdatadialog.ui  #1.1:1.2
@@ -13,4 +13,7 @@
         </rect>
     </property>
+    <property name="caption">
+        <string>KstDataDialog</string>
+    </property>
     <grid>
         <property name="name">
@@ -108,8 +111,29 @@
     </connection>
 </connections>
+<includes>
+    <include location="local" impldecl="in declaration">kstdataobject.h</include>
+    <include location="global" impldecl="in implementation">klocale.h</include>
+    <include location="local" impldecl="in implementation">kstdatadialog.ui.h</include>
+</includes>
+<variables>
+    <variable>bool _newDialog;</variable>
+    <variable>KstDataObjectPtr _dp;</variable>
+</variables>
 <slots>
     <slot>ok()</slot>
     <slot>close()</slot>
+    <slot>reject()</slot>
+    <slot>init()</slot>
+    <slot>showNew()</slot>
+    <slot>showEdit( const QString &amp; field )</slot>
+    <slot returnType="bool">newObject()</slot>
+    <slot returnType="bool">editObject()</slot>
 </slots>
+<functions>
+    <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" returnType="KstDataObjectPtr">findObject( const QString &amp; name )</function>
+</functions>
 <layoutdefaults spacing="6" margin="11"/>
 </UI>





More information about the Kst mailing list