]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToc.h
Whitespace.
[lyx.git] / src / frontends / qt4 / GuiToc.h
index 2031465613b8aa5854c527ed181a67df3139d681..5e759895a5168fb90d83e868e8d564c34547d161 100644 (file)
@@ -48,6 +48,9 @@ public:
        bool initialiseParams(std::string const & data);
        void updateView();
        void enableView(bool enable);
+       bool wantInitialFocus() const { return false; }
+       void closeEvent(QCloseEvent * event);
+       bool isClosing() const { return is_closing_; }
 
 public:
        /// clean-up on hide.
@@ -56,10 +59,16 @@ public:
        void dispatchParams();
        ///
        bool isBufferDependent() const { return true; }
+       ///
+       void doDispatch(Cursor & cur, FuncRequest const & fr);
+       ///
+       bool getStatus(Cursor & cur, FuncRequest const & fr, FuncStatus & fs) const;
 
 private:
        ///
        TocWidget * widget_;
+       ///
+       bool is_closing_;
 };
 
 } // namespace frontend