]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / insets / InsetRef.h
index 9ba7895d86bb624aed5db59f2ee0e0a72e72da6d..1af31fa3f808d904b3fe7e8d55349bc436cbcf0f 100644 (file)
@@ -36,13 +36,10 @@ public:
        static std::string const & getName(int type);
 
 
-       InsetRef(InsetCommandParams const &, Buffer const &);
+       InsetRef(Buffer const & buffer, InsetCommandParams const &);
 
-       /// verify label and reference.
-       /**
-         * Overloaded from Inset::initView.
-         **/
-       void initView();
+       ///
+       bool isLabeled() const { return true; }
        ///
        docstring screenLabel() const;
        ///
@@ -74,8 +71,6 @@ public:
 protected:
        ///
        InsetRef(InsetRef const &);
-       ///
-       void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
        ///
        Inset * clone() const { return new InsetRef(*this); }