]> git.lyx.org Git - lyx.git/blobdiff - src/support/Timeout.h
Simplify the code that adds underlining to the layout combo.
[lyx.git] / src / support / Timeout.h
index de3062ae73a9794b6ec701d83e5efea4044061f4..eef78dbec6330ec0bd154626d917a9fee652363b 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef TIMEOUT_H
 #define TIMEOUT_H
 
-#include <boost/signal.hpp>
+#include "support/signals.h"
 
 
 namespace lyx {
@@ -40,7 +40,7 @@ public:
        /// restart the timer
        void restart();
        /// signal emitted on timer expiry
-       boost::signal<void()> timeout;
+       signals2::signal<void()> timeout;
        /// emit the signal
        void emit();
        /// set the timer type
@@ -68,8 +68,11 @@ private:
 class Timer
 {
 public:
+       ///
        Timer();
        ///
+       ~Timer();
+       ///
        void restart();
        ///
        int elapsed() const;