| 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 | t_irc request(const QUrl& mountPoint);
|
|---|
| 14 |
|
|---|
| 15 | signals:
|
|---|
| 16 |
|
|---|
| 17 | private slots:
|
|---|
| 18 | void slotReplyFinished();
|
|---|
| 19 | void slotReadyRead();
|
|---|
| 20 | void slotError(QNetworkReply::NetworkError);
|
|---|
| 21 | void slotSslErrors();
|
|---|
| 22 |
|
|---|
| 23 | private:
|
|---|
| 24 | QNetworkAccessManager* _manager;
|
|---|
| 25 | QNetworkReply* _reply;
|
|---|
| 26 | };
|
|---|
| 27 |
|
|---|
| 28 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.