17 #ifndef UNIXSIGNALHANDLER_HPP
18 #define UNIXSIGNALHANDLER_HPP
20 #include "callback.hpp"
25 class UnixSignalHandlerPrivate;
73 bool listenToUnixSignal (
int signalId);
80 bool ignoreUnixSignal (
int signalId);
86 bool isListeningTo (
int signalId);
96 void invokeOnSignal (
int signalId,
const Callback &callback);
104 void signalRaised (
int signalId);
110 void sigInterrupt ();
120 void signalDelegate ();
125 bool createInternalPipe ();
126 void printError (
const char *message);
127 bool tryReadUnixSignal ();
128 void invokeSignalHandlers (
int signalId);
130 UnixSignalHandlerPrivate *d_ptr;
136 #endif // UNIXSIGNALHANDLER_HPP
A modern style callback mechanism which can be bound to various method types including slots...
Definition: callback.hpp:140
Utility class to react to UNIX signals in a Qt fashion.
Definition: unixsignalhandler.hpp:58
Definition: abstractsessionmanager.hpp:24