]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/Timeout_pimpl.h
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / Timeout_pimpl.h
index 612f2ad4bde45d5f6954d388955e5212e8eddfc0..e1b3c4bd28949c808ae6ff3d0d4d42140ed1dca4 100644 (file)
@@ -1,27 +1,27 @@
+// -*- C++ -*-
 /**
- * \file Timeout_pimpl.h
- * Copyright 2001 LyX Team
- * Read COPYING
+ * \file qt2/Timeout_pimpl.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
+
 #ifndef TIMEOUTPIMPL_H
 #define TIMEOUTPIMPL_H
 
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma interface
 #endif
 
 #include "frontends/Timeout.h"
+#include <qobject.h>
 
-#include <sigc++/signal_system.h>
-
-#include <qobject.h> 
 // stupid Qt
 #undef emit
+
 /**
  * This class executes the callback when the timeout expires
  * using Qt mechanisms
@@ -36,14 +36,15 @@ public:
        void stop();
        /// reset
        void reset();
-
+       /// is the timer running ?
+       bool running() const;
 protected:
        /// slot
        virtual void timerEvent(QTimerEvent *);
 private:
        /// the owning timer
        Timeout * owner_;
-       /// xforms id
+       /// QTimer id
        int timeout_id;
 };