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

#include <ReplyTimeout.h>

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

Public Types

enum  HandleMethod { Abort , Close }
 

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

void timerEvent (QTimerEvent *ev)
 

Protected Attributes

QBasicTimer m_timer
 
HandleMethod m_method
 

Member Enumeration Documentation

◆ HandleMethod

Enumerator
Abort 
Close 

Constructor & Destructor Documentation

◆ ReplyTimeout()

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

Member Function Documentation

◆ refresh()

void refresh ( const int timeout)
inline

◆ set()

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

◆ timerEvent()

void timerEvent ( QTimerEvent * ev)
inlineprotected

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: