15 #include <QtNetwork/QtNetwork>
17 #include <QtXml/QtXml>
21 #include "revertquery.hpp"
22 #include "configuration.hpp"
24 #include "exception.hpp"
65 QString ConstructParameterLessUrl();
Format
Format in which the result will be returned.
QString Target
This is optional property which contains a label of target this query is for.
void Kill()
Terminate the query.
bool FormatIsCurrentlySupported()
Check if return format is supported by huggle.
QString QueryTypeToString()
Returns a type of query as a string.
ApiQuery()
Creates a new instance of this class and set the defaults.
QString OverrideWiki
You can change this to url of different wiki than a project.
QNetworkReply * reply
Reply from qnet.
void SetAction(const Action action)
Change the action type.
void ConstructUrl()
Generate api url.
bool UsingPOST
Whether the query will submit parameters using POST data.
void FinishRollback()
This is only needed when you are using rollback.
QString Parameters
Parameters for action, for example page title.
QString QueryTargetToString()
Get a query target as a string.
This class can be used to execute any kind of api query on any wiki.
Format RequestFormat
This is a requested format in which the result should be written in.
Query base class for all http queries executed by huggle.