X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiToc.h;h=5e759895a5168fb90d83e868e8d564c34547d161;hb=ee7dd4a11ea21851e7e32164c66b37d3bc8ac31d;hp=efbb818f750bd07cc0e22488387d57c0e3de6a0d;hpb=a465fcb55e268417dfce3d8ef2a4755724087c4f;p=lyx.git diff --git a/src/frontends/qt4/GuiToc.h b/src/frontends/qt4/GuiToc.h index efbb818f75..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. @@ -59,10 +61,14 @@ public: 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