]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.h
* src/frontends/qt4/GuiSelection.C
[lyx.git] / src / frontends / Timeout.h
index 92624973f8b00701da01e81949c2e43881a1509c..f39197d478daf807be4bd12bff832705ea66c964 100644 (file)
@@ -7,13 +7,16 @@
  * \author Lars Gullik Bjønnes
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef TIMEOUT_H
 #define TIMEOUT_H
 
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
+
+
+namespace lyx {
 
 
 /**
@@ -39,7 +42,7 @@ public:
        /// restart the timer
        void restart();
        /// signal emitted on timer expiry
-       boost::signal0<void> timeout;
+       boost::signal<void()> timeout;
        /// emit the signal
        void emit();
        /// set the timer type
@@ -89,4 +92,7 @@ private:
        unsigned int timeout_ms;
 };
 
+
+} // namespace lyx
+
 #endif