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.
20 #include "insets/InsetCommandParams.h"
22 #include "TocBackend.h"
30 class GuiToc : public DockView
37 GuiView & parent, ///< the main window where to dock.
38 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
39 Qt::WindowFlags flags = 0);
44 bool initialiseParams(std::string const & data);
46 void enableView(bool enable);
47 bool wantInitialFocus() const { return false; }
48 void closeEvent(QCloseEvent * event);
49 bool isClosing() const { return is_closing_; }
55 void dispatchParams();
57 bool isBufferDependent() const { return true; }
59 void doDispatch(Cursor & cur, FuncRequest const & fr);
61 bool getStatus(Cursor & cur, FuncRequest const & fr, FuncStatus & fs) const;
70 } // namespace frontend