#include "DockView.h"
namespace lyx {
+
+class Cursor;
+class DispatchResult;
+class FuncStatus;
+
namespace frontend {
-class TocModel;
class TocWidget;
class GuiToc : public DockView
GuiToc(
GuiView & parent, ///< the main window where to dock.
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
- Qt::WindowFlags flags = 0);
+ Qt::WindowFlags flags = {});
///
- bool initialiseParams(std::string const & data);
- void updateView();
- void enableView(bool enable);
- bool wantInitialFocus() const { return false; }
- void closeEvent(QCloseEvent * event);
- bool isClosing() const { return is_closing_; }
+ bool initialiseParams(std::string const & data) override;
+ void updateView() override;
+ void enableView(bool enable) override;
+ bool wantInitialFocus() const override { return true; }
+ void closeEvent(QCloseEvent * event) override;
+ bool isClosing() const override { return is_closing_; }
public:
/// clean-up on hide.
- void clearParams() {}
+ void clearParams() override {}
///
- void dispatchParams();
+ void dispatchParams() override;
///
- bool isBufferDependent() const { return true; }
+ bool isBufferDependent() const override { return true; }
///
void doDispatch(Cursor & cur, FuncRequest const & fr, DispatchResult & dr);
///