]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Dialog.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / Dialog.h
index e68812ca83fe8a612c68a9a2149c05e95560d22c..57e63c1022bd1588f935bfd4b47af6cd88ebe076 100644 (file)
@@ -121,9 +121,12 @@ public:
        /// Hide the dialog from sight
        void hideView();
 
-       /// Create the dialog if necessary, update it and display it.
+       /// Prepare dialog and display it.
        void showView();
 
+       /// Prepare dialog before view.
+       void prepareView();
+
        /// Decide wether the dialog should grab thekeyboard focus when shown.
        /// This method defaults to true, override if a different behaviour
        /// is wanted.
@@ -195,11 +198,6 @@ public:
         */
        virtual bool disconnectOnApply() const { return false; }
 
-       /** \return true if Dialog::View::show() should not display the dialog
-        *   after running update. Currently, only ControlSpellchecker
-        *   makes use of that.
-       */
-       virtual bool exitEarly() const { return false; }
        //@}
 
        /** \c Kernel part: a wrapper making the LyX kernel available to the dialog.
@@ -248,13 +246,8 @@ public:
         *  We should aim to reduce/remove these from the interface.
         */
        //@{
-       GuiView & lyxview() { return *lyxview_; }
        GuiView const & lyxview() const { return *lyxview_; }
-
-       Buffer & buffer();
        Buffer const & buffer() const;
-
-       BufferView * bufferview();
        BufferView const * bufferview() const;
        //@}