]> git.lyx.org Git - features.git/blobdiff - src/frontends/kde/FormVCLog.h
Update to MVC. Ref,Toc and citation don't work at all currently.
[features.git] / src / frontends / kde / FormVCLog.h
index 193a550e67f5f7799c931495d9f9722601a3197a..4d5060de9bc9129ba0ea8a1c98cabeef28d43204 100644 (file)
@@ -6,50 +6,26 @@
  * \author John Levon
  */
 
 #ifndef FORMVCLOG_H
 #define FORMVCLOG_H
 
-#include "DialogBase.h"
-#include "LString.h"
-#include "boost/utility.hpp"
+#include "KFormBase.h"
 
-class Dialogs;
-class LyXView;
-class LogDialog;
+class ControlVCLog;
+class VCLogDialog;
 
-class FormVCLog : public DialogBase {
+class FormVCLog : public KFormBase<ControlVCLog, VCLogDialog> {
 public: 
-       FormVCLog(LyXView *, Dialogs *);
+       FormVCLog(ControlVCLog & c); 
 
-       ~FormVCLog();
-
-       /// close the connections
-       virtual void close();
-       /// Update the dialog
+       /// update the dialog
        virtual void update();
-       /// Update the dialog from slot
-       virtual void supdate(bool = false);
-protected: 
-       /// Create the dialog if necessary, update it and display it
-       virtual void show();
-       /// Hide the dialog
-       virtual void hide();
-
-       /// Real GUI implementation.
-       LogDialog * dialog_;
-
-       /// the LyXView we belong to
-       LyXView * lv_;
-       /// the Dialogs object we belong to
-       Dialogs * d_;
-       
-       /// Hide connection.
-       Connection h_;
-       /// Update connection.
-       Connection u_;
+
+       /// apply
+       virtual void apply() {};
+
+       /// build dialog
+       virtual void build(); 
 };
 
 #endif // FORMVCLOG_H