]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.h
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insettoc.h
index 142c8de333980a9e093d5e33382ad266ece9c496..bb3b5ca00312a66069270ec69679279b6e371806 100644 (file)
 class InsetTOC : public InsetCommand {
 public:
        ///
-       InsetTOC(InsetCommandParams const &, bool same_id = false);
+       InsetTOC(InsetCommandParams const &);
        ///
        ~InsetTOC();
        ///
-       virtual Inset * clone(Buffer const &, bool same_id = false) const {
-               return new InsetTOC(params(), same_id);
+       virtual Inset * clone() const {
+               return new InsetTOC(params());
        }
        ///
-       string const getScreenLabel(Buffer const *) const;
-       ///
-       void edit(BufferView * bv, int, int, mouse_button::state);
+       dispatch_result localDispatch(FuncRequest const & cmd);
        ///
-       void edit(BufferView * bv, bool front = true);
+       string const getScreenLabel(Buffer const *) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///