qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Signals | Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
PosixSignalNotifier Class Reference

Class for converting POSIX signals to Qt signals. More...

#include <posixsignalnotifier.h>

Inheritance diagram for PosixSignalNotifier:
Inheritance graph
Collaboration diagram for PosixSignalNotifier:
Collaboration graph

Signals

void activated (int signal)
 

Public Member Functions

 ~PosixSignalNotifier ()
 

Static Public Member Functions

static void watchSignal (int signum)
 
static void watchSignals (std::initializer_list< int > signalSet)
 
static void watchCommonTerminatingSignals ()
 
static PosixSignalNotifierglobalInstance ()
 

Private Slots

void onSignalReceived ()
 

Private Member Functions

 PosixSignalNotifier ()
 

Private Attributes

QSocketNotifier * notifier {nullptr}
 

Detailed Description

Class for converting POSIX signals to Qt signals.

Definition at line 26 of file posixsignalnotifier.h.

Constructor & Destructor Documentation

◆ ~PosixSignalNotifier()

PosixSignalNotifier::~PosixSignalNotifier ( )

Definition at line 68 of file posixsignalnotifier.cpp.

◆ PosixSignalNotifier()

PosixSignalNotifier::PosixSignalNotifier ( )
private

Definition at line 125 of file posixsignalnotifier.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ activated

void PosixSignalNotifier::activated ( int  signal)
signal
Here is the caller graph for this function:

◆ globalInstance()

PosixSignalNotifier & PosixSignalNotifier::globalInstance ( )
static

Definition at line 108 of file posixsignalnotifier.cpp.

Here is the caller graph for this function:

◆ onSignalReceived

void PosixSignalNotifier::onSignalReceived ( )
privateslot

Definition at line 114 of file posixsignalnotifier.cpp.

Here is the caller graph for this function:

◆ watchCommonTerminatingSignals()

void PosixSignalNotifier::watchCommonTerminatingSignals ( )
static

Definition at line 103 of file posixsignalnotifier.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ watchSignal()

void PosixSignalNotifier::watchSignal ( int  signum)
static

Definition at line 81 of file posixsignalnotifier.cpp.

Here is the caller graph for this function:

◆ watchSignals()

void PosixSignalNotifier::watchSignals ( std::initializer_list< int >  signalSet)
static

Definition at line 96 of file posixsignalnotifier.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ notifier

QSocketNotifier* PosixSignalNotifier::notifier {nullptr}
private

Definition at line 49 of file posixsignalnotifier.h.


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