Rev | Line | |
---|
[1294] | 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& mountPoint, const QByteArray& ggaStr);
|
---|
| 15 |
|
---|
| 16 | signals:
|
---|
| 17 |
|
---|
| 18 | private slots:
|
---|
| 19 | void slotReplyFinished(QNetworkReply* reply);
|
---|
| 20 | void slotReadyRead();
|
---|
| 21 | void slotError(QNetworkReply::NetworkError);
|
---|
| 22 | void slotSslErrors(QList<QSslError>);
|
---|
| 23 |
|
---|
| 24 | private:
|
---|
| 25 | QNetworkAccessManager* _manager;
|
---|
| 26 | QNetworkReply* _reply;
|
---|
| 27 | };
|
---|
| 28 |
|
---|
| 29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.