]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QTabular.h
Get rid of the static_casts.
[lyx.git] / src / frontends / qt2 / QTabular.h
index 572d6ccce095ea88003b5644f0351241c0dbb19f..154731acbe66ce5adae382a574676e20c6170812 100644 (file)
@@ -6,6 +6,8 @@
  *
  * \author John Levon
  * \author Kalle Dalheimer
+ * \author Juergen Spitzmueller
+ * \author Herbert Voss
  *
  * Full author contact details are available in file CREDITS
  */
 #ifndef QTABULAR_H
 #define QTABULAR_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "Qt2Base.h"
+#include "QDialogView.h"
+
 
 class ControlTabular;
 class QTabularDialog;
 
 
 class QTabular :
-       public Qt2CB<ControlTabular, Qt2DB<QTabularDialog> >
+       public QController<ControlTabular, QView<QTabularDialog> >
 {
 public:
        friend class QTabularDialog;
 
-       QTabular();
+       QTabular(Dialog &);
+
 protected:
        virtual bool isValid();
+
 private:
        /// We can't use this ...
        virtual void apply() {}
+       /// update borders
+       virtual void update_borders();
        /// update
        virtual void update_contents();
        /// build the dialog
        virtual void build_dialog();
+       /// save some values before closing the gui
+       virtual void closeGUI();
 };
 
 #endif // QTABULAR_H