Skip to content

Instantly share code, notes, and snippets.

vebmaster /
Created Apr 5, 2018 — forked from fffaraz/
Catch Unix signals in Qt applications

Unix signals in Qt applications

It's quite easy to catch unix signals in Qt applications. you may like to ignore or accept them.

#include <QCoreApplication>

#include <signal.h>
#include <unistd.h>
vebmaster / requestmanager.cpp
Last active Mar 12, 2018 — forked from olafurjohannsson/requestmanager.cpp
Asynchronous HTTP network requests in C++ with Qt
View requestmanager.cpp
#include "requestmanager.h"
/// RequestManager constructor
/// Description: sets up a network access manager that
/// abstract the HTTP/TCP protocol
RequestManager::RequestManager(QObject *parent) : QObject(parent)