]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDialog.h
Handle correctly zero table special arguments.
[lyx.git] / src / frontends / qt4 / GuiDialog.h
index 04878e2981d4ef4fe17fddbc6c86f169554067b2..b579e3f038ad091273f659a941692550d79ae12d 100644 (file)
@@ -22,9 +22,9 @@ namespace lyx {
 namespace frontend {
 
 /// Base class for historical LyX dialogs.
-/** 
+/**
   * \warning New dialogs should use the leaner classes \c DialogView or
-  * \c DockView depending on the intent. Eventally, old dialog should be
+  * \c DockView depending on the intent. Eventually, old dialogs should be
   * converted to \c DialogView too.
   */
 class GuiDialog : public QDialog, public Dialog
@@ -52,11 +52,16 @@ public Q_SLOTS:
        void slotOK();
        // Apply button clicked
        void slotApply();
+       // AutoApply checkbox clicked
+       void slotAutoApply();
        // Close button clicked or closed from WindowManager
        void slotClose();
        ///
        void closeEvent(QCloseEvent * e);
 
+protected Q_SLOTS:
+       void onBufferViewChanged() {};//override
+
 public:
        /** Check whether we may apply our data.
         *
@@ -93,6 +98,9 @@ public:
         */
        bool isClosing() const { return is_closing_; }
 
+       ///
+       bool needBufferOpen() const { return isBufferDependent(); }
+
        /// Update the display of the dialog whilst it is still visible.
        virtual void updateView();