]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
* src/insets/InsetSpace.cpp:
[lyx.git] / src / insets / InsetRef.h
index 9bb4521aa271f6b45a790d4fc13cb161ffa20fd1..78ddbbdbeb44a6615c3e9d23efe0b0e26886c935 100644 (file)
@@ -38,11 +38,8 @@ public:
 
        InsetRef(Buffer const & buffer, InsetCommandParams const &);
 
-       /// verify label and reference.
-       /**
-         * Overloaded from Inset::initView.
-         **/
-       void initView();
+       ///
+       bool isLabeled() const { return true; }
        ///
        docstring screenLabel() const;
        ///
@@ -70,12 +67,10 @@ public:
        ///
        void updateLabels(ParIterator const & it);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
 protected:
        ///
        InsetRef(InsetRef const &);
-       ///
-       void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
        ///
        Inset * clone() const { return new InsetRef(*this); }