libktorrent  2.2.0
Signals | Public Member Functions | List of all members
bt::SignalCatcher Class Reference

#include <signalcatcher.h>

Inheritance diagram for bt::SignalCatcher:
Inheritance graph
[legend]

Signals

void triggered ()
 Emitted when a.
 

Public Member Functions

 SignalCatcher (QObject *parent=0)
 
bool catchSignal (int sig)
 

Detailed Description

Class to handle UNIX signals (not Qt ones)

Definition at line 66 of file signalcatcher.h.

Member Function Documentation

◆ catchSignal()

bool bt::SignalCatcher::catchSignal ( int  sig)

Catch a UNIX signal

Parameters
sigSIGINT, SIGTERM or some other signal
Returns
true upon success, false otherwise

The documentation for this class was generated from the following file: