]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Tooltips.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / Tooltips.h
index 5b7624a098e3486b72a5bce71bb0becaa1f9140e..2cc357ffd57b1999d1d28135e0cc1d9c08ea610c 100644 (file)
 #ifndef TOOLTIPS_H
 #define TOOLTIPS_H
 
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
 #include <boost/signals/trackable.hpp>
 
 #include "forms_fwd.h" // Can't forward-declare FL_OBJECT
 
 #include <map>
 
+namespace lyx {
+namespace frontend {
 
 class Tooltips : boost::noncopyable, public boost::signals::trackable {
 public:
@@ -53,7 +55,7 @@ private:
        /** Once enabled_ is changed, then this signal is emitted to update
         *  all the tooltips.
         */
-       static boost::signal0<void> toggled;
+       static boost::signal<void()> toggled;
 
        /// The tooltips are stored so that they can be turned on and off.
        typedef std::map<FL_OBJECT *, std::string> TooltipsMap;
@@ -61,4 +63,7 @@ private:
        TooltipsMap tooltipsMap;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // TOOLTIPS_H