Huggle
build:^490^dce1e5c
|
This is a query that can be used to perform simple webserver requests. More...
#include <webserverquery.hpp>
Public Member Functions | |
void | Kill () |
Terminate the query. | |
void | Process () |
Run. | |
Public Attributes | |
QString | Parameters |
Parameters for action, for example page title. | |
QString | URL |
bool | UsingPOST |
Whether the query will submit parameters using POST data. | |
Private Slots | |
void | Finished () |
void | ReadData () |
Private Attributes | |
QNetworkReply * | reply |
![]() | |
Callback | callback |
Callback. More... | |
void * | CallbackResult |
This is a pointer to object returned by your callback function. | |
QString | CustomStatus |
Custom status. More... | |
Query * | Dependency |
Dependency for query. More... | |
bool | HiddenQuery |
QueryResult * | Result |
Result of query, see documentation of QueryResult for more. | |
bool | RetryOnTimeoutFailure |
QDateTime | StartTime |
enum _Status | Status |
Current status of a query. | |
int | Timeout |
QueryType | Type |
Type of a query. More... | |
Additional Inherited Members | |
![]() | |
Query () | |
Creates empty query. | |
virtual | ~Query () |
Destructor for query. | |
void | ProcessCallback () |
virtual bool | Processed () |
Returns true in case that query is processed. | |
unsigned int | QueryID () |
virtual QString | QueryStatusToString () |
virtual QString | QueryTargetToString () |
Return a target of a query. More... | |
virtual QString | QueryTypeToString () |
Convert a type of this query to a string. | |
![]() | |
unsigned long | CollectableID () |
CollectableID. More... | |
QString | DebugHgc () |
DebugHgc. More... | |
bool | IsLocked () |
bool | IsManaged () |
IsManaged Managed class is deleted by GC and must not be deleted by hand. More... | |
void | Lock () |
Lock this object so that other threads can't change consumers or modify its properties. | |
void | RegisterConsumer (const int consumer) |
Registers a consumer. More... | |
void | RegisterConsumer (const QString consumer) |
Registers a consumer. More... | |
virtual bool | SafeDelete () |
Use this if you are not sure if you can delete this object in this moment. | |
void | Unlock () |
Unlock this object for deletion by other threads. | |
void | UnregisterConsumer (const int consumer) |
This function will remove a string which prevent the object from being removed. More... | |
void | UnregisterConsumer (const QString consumer) |
This function will remove a string which prevent the object from being removed. More... | |
![]() | |
static QNetworkAccessManager | NetworkManager |
This is a query that can be used to perform simple webserver requests.
Definition at line 27 of file webserverquery.hpp.
QString Huggle::WebserverQuery::URL |
This is an url of api request, you probably don't want to change it unless you want to construct whole api request yourself
Definition at line 35 of file webserverquery.hpp.
Referenced by Process().