API Documentation
|
Handles timing out certain operations such as downloads. More...
#include <ReplyTimeout.h>
Public Types | |
enum | HandleMethod { Abort , Close } |
Public Member Functions | |
void | refresh (const int timeout) |
ReplyTimeout (NetworkRequest *reply, const int timeout, HandleMethod method=Abort) | |
Static Public Member Functions | |
static void | set (NetworkRequest *reply, const int timeout, HandleMethod method=Abort) |
Protected Member Functions | |
void | timerEvent (QTimerEvent *ev) |
Protected Attributes | |
HandleMethod | m_method |
QBasicTimer | m_timer |
Handles timing out certain operations such as downloads.
enum HandleMethod |
ReplyTimeout | ( | NetworkRequest * | reply, |
const int | timeout, | ||
HandleMethod | method = Abort ) |
void refresh | ( | const int | timeout | ) |
|
static |
|
protected |
|
protected |
|
protected |