]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.h
merge controllers/Makefile.am and controllers/tests/Makefile.am
[lyx.git] / src / frontends / Dialogs.h
index 323deee995ccad3ad703a37f8c88db883325afee..f179ec56d71e0b3fddc5dc7689e3c52a9bc8fd4b 100644 (file)
@@ -87,14 +87,12 @@ public:
        /** All Dialogs of the given \param name will be closed if they are
            connected to the given \param inset.
        */
-       static void hide(std::string const & name, Inset * inset);
+       void hide(std::string const & name, Inset * inset);
        ///
        void disconnect(std::string const & name);
        ///
        Inset * getOpenInset(std::string const & name) const;
 private:
-       ///
-       void hideSlot(std::string const & name, Inset * inset);
        ///
        void redraw() const;
        ///
@@ -116,6 +114,9 @@ private:
 
        /// flag against a race condition due to multiclicks in Qt frontend, see bug #1119
        bool in_show_;
+
+       ///
+       boost::signals::connection connection_;
 };
 
 } // namespace lyx