]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ButtonPolicy.cpp
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / ButtonPolicy.cpp
index 98ce944464971e5aaec4fe35b73467d93eb053ed..e2a3431b677332c2d7615d18050fcb069d774bd4 100644 (file)
 #include <config.h>
 
 #include "ButtonPolicy.h"
-#include "debug.h"
+
+#include "support/debug.h"
 
 #include <iostream>
 
+using namespace std;
+
 namespace lyx {
 namespace frontend {
 
@@ -203,7 +206,7 @@ void ButtonPolicy::nextState(SMInput input)
                       << printInput(input)
                       << " from state "
                       << printState(state_)
-                      << std::endl;
+                      << endl;
        }
 }
 
@@ -566,13 +569,13 @@ void ButtonPolicy::initNoRepeatedApply()
 }
 
 
-std::ostream & operator<<(std::ostream & os, ButtonPolicy::State st)
+ostream & operator<<(ostream & os, ButtonPolicy::State st)
 {
        return os << int(st);
 }
 
 
-std::ostream & operator<<(std::ostream & os, ButtonPolicy::SMInput smi)
+ostream & operator<<(ostream & os, ButtonPolicy::SMInput smi)
 {
        return os << int(smi);
 }