]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Tooltips.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / Tooltips.C
index ae9c8be635cbb991136220cf8cc4b00abb023ac0..cca71af6cdf255ad3a243202d3fed26948743130 100644 (file)
 
 #include <boost/bind.hpp>
 
-using namespace lyx::support;
+using std::string;
+
+
+namespace lyx {
+
+using support::trim;
+
+namespace frontend {
 
 
 bool Tooltips::enabled_ = true;
 
-boost::signal0<void> Tooltips::toggled;
+boost::signal<void()> Tooltips::toggled;
 
 
 Tooltips::Tooltips()
@@ -74,3 +81,6 @@ void Tooltips::init(FL_OBJECT * ob, string const & tip)
        char const * const c_str = enabled_ ? str.c_str() : 0;
        fl_set_object_helper(ob, c_str);
 }
+
+} // namespace frontend
+} // namespace lyx