| Line | |
|---|
| 1 | #ifndef BNCNETREQUEST_H
|
|---|
| 2 | #define BNCNETREQUEST_H
|
|---|
| 3 |
|
|---|
| 4 | #include <QtNetwork>
|
|---|
| 5 | #include "bncconst.h"
|
|---|
| 6 |
|
|---|
| 7 | class bncNetRequest : public QObject {
|
|---|
| 8 | Q_OBJECT
|
|---|
| 9 |
|
|---|
| 10 | public:
|
|---|
| 11 | bncNetRequest();
|
|---|
| 12 | ~bncNetRequest();
|
|---|
| 13 |
|
|---|
| 14 | t_irc request(const QUrl& url, const QByteArray& ggaStr);
|
|---|
| 15 |
|
|---|
| 16 | private slots:
|
|---|
| 17 | void slotDone(bool error);
|
|---|
| 18 | void slotSslErrors(const QList<QSslError>& errors);
|
|---|
| 19 |
|
|---|
| 20 | private:
|
|---|
| 21 | QHttp* _http;
|
|---|
| 22 | QBuffer* _buffer;
|
|---|
| 23 | };
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.