X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiToc.h;h=5e759895a5168fb90d83e868e8d564c34547d161;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=2031465613b8aa5854c527ed181a67df3139d681;hpb=ffa722e0b7cefbbdc6f7e387a50fefb889bcb7d9;p=lyx.git diff --git a/src/frontends/qt4/GuiToc.h b/src/frontends/qt4/GuiToc.h index 2031465613..5e759895a5 100644 --- a/src/frontends/qt4/GuiToc.h +++ b/src/frontends/qt4/GuiToc.h @@ -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