API Documentation
Loading...
Searching...
No Matches
ReplyTimeout Class Reference

Handles timing out certain operations such as downloads. More...

#include <ReplyTimeout.h>

Inheritance diagram for ReplyTimeout:
[legend]
Collaboration diagram for ReplyTimeout:
[legend]

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
 

Detailed Description

Handles timing out certain operations such as downloads.


Member Enumeration Documentation

◆ HandleMethod

Enumerator
Abort 
Close 

Constructor & Destructor Documentation

◆ ReplyTimeout()

ReplyTimeout ( NetworkRequest * reply,
const int timeout,
HandleMethod method = Abort )

Member Function Documentation

◆ refresh()

void refresh ( const int timeout)

◆ set()

static void set ( NetworkRequest * reply,
const int timeout,
HandleMethod method = Abort )
static

◆ timerEvent()

void timerEvent ( QTimerEvent * ev)
protected

Member Data Documentation

◆ m_method

HandleMethod m_method
protected

◆ m_timer

QBasicTimer m_timer
protected

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