#include <qwssignalhandler_p.h>
Definition at line 73 of file qwssignalhandler_p.h.
◆ ~QWSSignalHandler()
QWSSignalHandler::~QWSSignalHandler |
( |
| ) |
|
◆ QWSSignalHandler()
QWSSignalHandler::QWSSignalHandler |
( |
| ) |
|
|
private |
Definition at line 69 of file qwssignalhandler.cpp.
71 const int signums[] = { SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGABRT, SIGFPE,
72 SIGSEGV, SIGTERM, SIGBUS };
73 const int n =
sizeof(signums)/
sizeof(
int);
75 for (
int i = 0; i < n; ++i) {
76 const int signum = signums[i];
81 oldHandlers[signum] = (old == SIG_ERR ? SIG_DFL : old);
QHash< int, qt_sighandler_t > oldHandlers
void(* qt_sighandler_t)(int)
static void handleSignal(int signal)
◆ addLock()
void QWSSignalHandler::addLock |
( |
QLock * |
lock | ) |
|
|
inline |
◆ addObject()
void QWSSignalHandler::addObject |
( |
QObject * |
object | ) |
|
|
inline |
◆ addWSLock()
void QWSSignalHandler::addWSLock |
( |
QWSLock * |
wslock | ) |
|
|
inline |
◆ clear()
void QWSSignalHandler::clear |
( |
| ) |
|
|
private |
Definition at line 90 of file qwssignalhandler.cpp.
Referenced by handleSignal(), and ~QWSSignalHandler().
92 #if !defined(QT_NO_QWS_MULTIPROCESS)
QList< QWSLock * > wslocks
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
QObjectCleanupHandler objects
T takeLast()
Removes the last item in the list and returns it.
void clear()
Deletes all objects in this cleanup handler.
◆ handleSignal()
void QWSSignalHandler::handleSignal |
( |
int |
signal | ) |
|
|
staticprivate |
◆ instance()
◆ removeLock()
void QWSSignalHandler::removeLock |
( |
QLock * |
lock | ) |
|
|
inline |
Definition at line 82 of file qwssignalhandler_p.h.
Referenced by QLock::~QLock().
bool removeOne(const T &t)
Removes the first occurrence of value in the list and returns true on success; otherwise returns fals...
◆ removeWSLock()
void QWSSignalHandler::removeWSLock |
( |
QWSLock * |
wslock | ) |
|
|
inline |
Definition at line 84 of file qwssignalhandler_p.h.
Referenced by QWSLock::~QWSLock().
QList< QWSLock * > wslocks
bool removeOne(const T &t)
Removes the first occurrence of value in the list and returns true on success; otherwise returns fals...
◆ QWSSignalHandlerPrivate
◆ locks
◆ objects
◆ oldHandlers
◆ wslocks
The documentation for this class was generated from the following files: