Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
wlquery.hpp
1 //This program is free software: you can redistribute it and/or modify it under
2 //the terms of the GNU General Public License as published by the Free Software
3 //Foundation, either version 3 of the License, or (at your option) any later
4 //version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #ifndef WLQUERY_H
12 #define WLQUERY_H
13 
14 #include <QString>
15 #include <QtNetwork/QtNetwork>
16 #include <QUrl>
17 #include "configuration.hpp"
18 #include "query.hpp"
19 
20 namespace Huggle
21 {
22  //! Whitelist query :o
23  class WLQuery : public Query
24  {
25  Q_OBJECT
26  public:
27  WLQuery();
28  ~WLQuery();
29  void Process();
30  bool Save;
31  private slots:
32  void ReadData();
33  void Finished();
34  private:
35  QNetworkReply *r;
36  };
37 }
38 
39 #endif // WLQUERY_H
void Process()
Execute query.
Definition: wlquery.cpp:26
Whitelist query :o.
Definition: wlquery.hpp:23
Query base class for all http queries executed by huggle.
Definition: query.hpp:64