2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
21 #include <sigc++/signal_system.h>
22 /* ugly hack to prevent Qt's '#define emit ...' from
23 * screwing us up below - jbl 2000/8/10
30 #ifdef SIGC_CXX_NAMESPACES
34 /** This class executes the callback when the timeout expires.
35 This class currently uses a regular callback, later it will use
36 signals and slots to provide the same.
50 Timeout(int msec, Type = ONETIME);
60 Signal0<void> timeout;
66 void setTimeout(int msec);