#endif
#include <sigc++/signal_system.h>
-/* ugly hack to prevent Qt's '#define emit ...' from
- * screwing us up below - jbl 2000/8/10
- */
-#ifdef KDEGUI
-#undef emit
-#endif
-
#ifdef SIGC_CXX_NAMESPACES
using SigC::Signal0;
///
Timeout();
///
- Timeout(int msec, Type = ONETIME);
+ Timeout(unsigned int msec, Type = ONETIME);
///
~Timeout();
///
///
void emit();
///
- void setType(Type t);
+ Timeout & setType(Type t);
///
- void setTimeout(int msec);
+ Timeout & setTimeout(unsigned int msec);
private:
///
Type type;
///
- int timeout_ms;
+ unsigned int timeout_ms;
///
int timeout_id;
};