]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/kde/FormTabularCreate.h
Update to MVC. Ref,Toc and citation don't work at all currently.
[lyx.git] / src / frontends / kde / FormTabularCreate.h
index 1339fcebdead87315500247fea6cb932e08d4d72..82a3e4370ad8946d0903af2e6664661093184cc0 100644 (file)
@@ -9,40 +9,24 @@
 #ifndef FORMTABULARCREATE_H
 #define FORMTABULARCREATE_H
 
-#include "DialogBase.h"
+#include "KFormBase.h"
 
-class Dialogs;
-class LyXView; 
+class ControlTabularCreate; 
 class TabularCreateDialog;
 
-class FormTabularCreate : public DialogBase {
+///
+class FormTabularCreate : public KFormBase<ControlTabularCreate, TabularCreateDialog> {
 public: 
-       FormTabularCreate(LyXView *, Dialogs *);
-       ~FormTabularCreate();
-
-       /// create the table 
-       void apply(unsigned int rows, unsigned int cols);
-       /// close the connections
-       void close();
+       ///
+       FormTabularCreate(ControlTabularCreate & c); 
  
 private:
-       /// Create the dialog if necessary, update it and display it.
-       void show();
-       /// Hide the dialog.
-       void hide();
-       /// Real GUI implementation.
-       TabularCreateDialog * dialog_;
-
-       /// the LyXView we belong to
-       LyXView * lv_;
-       /// Dialogs object
-       Dialogs * d_;
-       
-       /// Hide connection.
-       Connection h_;
+       /// apply dialog 
+       virtual void apply();
+       /// build dialog
+       virtual void build();
+       /// not used
+       virtual void update() {};
 };
 
 #endif // FORMTABULARCREATE_H