]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDialog.h
Some improvements to the graphics dialog
[lyx.git] / src / frontends / qt4 / GuiDialog.h
index 44c7596f3c6fcb047d0b2ca309c243cc85dac896..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
@@ -59,6 +59,9 @@ public Q_SLOTS:
        ///
        void closeEvent(QCloseEvent * e);
 
+protected Q_SLOTS:
+       void onBufferViewChanged() {};//override
+
 public:
        /** Check whether we may apply our data.
         *
@@ -94,7 +97,7 @@ public:
         *  to close or not (no point refreshing the display for example).
         */
        bool isClosing() const { return is_closing_; }
-       
+
        ///
        bool needBufferOpen() const { return isBufferDependent(); }