]> git.lyx.org Git - lyx.git/blobdiff - src/FuncStatus.cpp
* OutputUi.ui - Reorganize Output pane so it takes less vertical space.
[lyx.git] / src / FuncStatus.cpp
index f7b529b856056094394910345459edbdfa9b7b05..9b936869ac5280777abc38d21c8a70e1d0450518 100644 (file)
@@ -17,8 +17,7 @@ namespace lyx {
 
 FuncStatus::FuncStatus()
        : v_(OK)
-{
-}
+{}
 
 
 void FuncStatus::clear()
@@ -28,15 +27,7 @@ void FuncStatus::clear()
 }
 
 
-void FuncStatus::operator|=(FuncStatus const & f)
-{
-       v_ |= f.v_;
-       if (!f.message_.empty())
-               message_ = f.message_;
-}
-
-
-void FuncStatus::unknown(bool b)
+void FuncStatus::setUnknown(bool b)
 {
        if (b)
                v_ |= UNKNOWN;
@@ -52,7 +43,7 @@ bool FuncStatus::unknown() const
 }
 
 
-void FuncStatus::enabled(bool b)
+void FuncStatus::setEnabled(bool b)
 {
        if (b)
                v_ &= ~DISABLED;
@@ -73,7 +64,7 @@ void FuncStatus::setOnOff(bool b)
 }
 
 
-bool FuncStatus::onoff(bool b) const
+bool FuncStatus::onOff(bool b) const
 {
        if (b)
                return (v_ & ON);