#include "DockView.h"
-#include "insets/InsetCommandParams.h"
-
-#include "TocBackend.h"
-
-#include <QStandardItemModel>
-
-#include <vector>
-
namespace lyx {
namespace frontend {
Qt::DockWidgetArea area = Qt::LeftDockWidgetArea, ///< Position of the dock (and also drawer)
Qt::WindowFlags flags = 0);
- ~GuiToc();
-
///
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_; }
public:
/// clean-up on hide.
void dispatchParams();
///
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