]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathNest.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathNest.h
index 3770bccd0d3b00a23f1d7eb09d3d42e8795188e4..3e8e1a7087904a898e6504930d9fc5dae39eea67 100644 (file)
@@ -28,7 +28,7 @@ public:
        /// nestinsets have a fixed size to start with
        explicit InsetMathNest(idx_type ncells);
        ///
-       virtual ~InsetMathNest() { destroyed(); }
+       virtual ~InsetMathNest() {}
 
        /// the size is usually some sort of convex hull of the cells
        /// hides inset::metrics() intentionally!
@@ -105,9 +105,10 @@ public:
        ///
        int latex(Buffer const &, odocstream & os,
                        OutputParams const & runparams) const;
-
-       /// This signal is emitted when the inset is destroyed.
-       boost::signal<void()> * destroyedSignal() { return &destroyed; }
+       ///
+       bool setMouseHover(bool mouse_hover);
+       ///
+       bool mouseHovered() const { return mouse_hover_; }
 
 protected:
        ///
@@ -156,10 +157,8 @@ protected:
        cells_type cells_;
        /// if the inset is locked, it can't be entered with the cursor
        bool lock_;
-
-private:
-       /// This signal is emitted when the inset is destroyed.
-       boost::signal<void()> destroyed;
+       ///
+       bool mouse_hover_;
 };