4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
9 * \author Angus Leeming
10 * \author Abdelrazak Younes
12 * Full author contact details are available in file CREDITS.
26 class GuiToc : public DockView
33 GuiView & parent, ///< the main window where to dock.
34 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
35 Qt::WindowFlags flags = nullptr);
38 bool initialiseParams(std::string const & data);
40 void enableView(bool enable);
41 bool wantInitialFocus() const { return false; }
42 void closeEvent(QCloseEvent * event);
43 bool isClosing() const { return is_closing_; }
49 void dispatchParams();
51 bool isBufferDependent() const { return true; }
53 void doDispatch(Cursor & cur, FuncRequest const & fr, DispatchResult & dr);
55 bool getStatus(Cursor & cur, FuncRequest const & fr, FuncStatus & fs) const;
64 } // namespace frontend