]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
float2string #4 (Spacing)
[lyx.git] / src / mathed / math_gridinset.h
index 225051b7f2a70bc0521665d702c15bdbad08a88d..7b0b329552cf40efaeb3b22545c92c69f01e50be 100644 (file)
@@ -20,7 +20,6 @@
  *  This is the base to all grid-like editable math objects
  */
 class MathGridInset : public MathNestInset {
-
 public:
 
        /// additional per-cell information
@@ -94,8 +93,6 @@ public:
        /// Ensures that the dialog is closed.
        ~MathGridInset();
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi) const;
        ///
        void metrics(MetricsInfo & mi, Dimension &) const;
@@ -211,8 +208,7 @@ public:
        //void octave(OctaveStream &) const;
 
 protected:
-       ///
-       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
        ///
        bool getStatus(LCursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
@@ -238,6 +234,8 @@ public:
        std::vector<CellInfo> cellinfo_;
        ///
        char v_align_; // add approp. type
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif