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 = 0);
40 bool initialiseParams(std::string const & data);
42 void enableView(bool enable);
43 bool wantInitialFocus() const { return false; }
44 void closeEvent(QCloseEvent * event);
45 bool isClosing() const { return is_closing_; }
51 void dispatchParams();
53 bool isBufferDependent() const { return true; }
55 void doDispatch(Cursor & cur, FuncRequest const & fr);
57 bool getStatus(Cursor & cur, FuncRequest const & fr, FuncStatus & fs) const;
66 } // namespace frontend