]> git.lyx.org Git - lyx.git/blobdiff - src/FuncStatus.C
Allows editing when the Prefs dialog is opened; fix bug 3140:
[lyx.git] / src / FuncStatus.C
index 2f0cf8e064bd3792cc37e6bdd91fd2c595f7f247..530b8e893a04c0bd35710b699ca7e88d755890b9 100644 (file)
 
 #include "FuncStatus.h"
 
-using std::string;
 
-FuncStatus::FuncStatus() : v_(OK)
+namespace lyx {
+
+FuncStatus::FuncStatus()
+       : v_(OK)
 {
 }
 
@@ -80,13 +82,16 @@ bool FuncStatus::onoff(bool b) const
 }
 
 
-void FuncStatus::message(string const & m)
+void FuncStatus::message(docstring const & m)
 {
        message_ = m;
 }
 
 
-string const & FuncStatus::message() const
+docstring const & FuncStatus::message() const
 {
        return message_;
 }
+
+
+} // namespace lyx