]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Tooltips.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / Tooltips.h
index b32ba923214b0a5d5ebd09e47f07deaa1e17573f..5b7624a098e3486b72a5bce71bb0becaa1f9140e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 /* Tooltips for xforms. xforms 0.89 supports them directly, but 0.88 needs
 #ifndef TOOLTIPS_H
 #define TOOLTIPS_H
 
-
-#include "LString.h"
-
-#include <boost/utility.hpp>
 #include <boost/signals/signal0.hpp>
 #include <boost/signals/trackable.hpp>
 
 
 #include <map>
 
+
 class Tooltips : boost::noncopyable, public boost::signals::trackable {
 public:
        ///
        Tooltips();
 
        /// Initialise a tooltip for this ob.
-       void init(FL_OBJECT * ob, string const & tip);
+       void init(FL_OBJECT * ob, std::string const & tip);
 
        /// Are the tooltips on or off?
        static bool enabled() { return enabled_; }
@@ -59,7 +56,7 @@ private:
        static boost::signal0<void> toggled;
 
        /// The tooltips are stored so that they can be turned on and off.
-       typedef std::map<FL_OBJECT *, string> TooltipsMap;
+       typedef std::map<FL_OBJECT *, std::string> TooltipsMap;
 
        TooltipsMap tooltipsMap;
 };