X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiToc.h;h=5e759895a5168fb90d83e868e8d564c34547d161;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=5007fe5636fecb7984afb868e309970b11af669f;hpb=42cb86adb9cff335c9735b2b3526336dd0366638;p=lyx.git diff --git a/src/frontends/qt4/GuiToc.h b/src/frontends/qt4/GuiToc.h index 5007fe5636..5e759895a5 100644 --- a/src/frontends/qt4/GuiToc.h +++ b/src/frontends/qt4/GuiToc.h @@ -49,6 +49,8 @@ public: 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. @@ -57,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