A slot to call when polling fd results in an event that matches condition. The event will be passed as a parameter to slot. If io_handler returns false the signal is disconnected.
A slot to call when polling fd results in an event that matches condition. The event will be passed as a parameter to slot. If io_handler returns false the signal is disconnected.
fd
The file descriptor (or a HANDLE on Win32 systems) to watch.
condition
The conditions to watch for.
priority
The priority of the new event source.
Returns:
A connection handle, which can be used to disconnect the handler.
The documentation for this class was generated from the following file: