PACK Qt Binding  $VERSION$
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
wobnam.h
Go to the documentation of this file.
1 // Copyright (C) 2013 by Konrad Rosenbaum <konrad@silmor.de>
2 // protected under the GNU LGPL version 3 or at your option any newer.
3 // See COPYING.LGPL file that comes with this distribution.
4 //
5 
6 #ifndef WOB_NAM_H
7 #define WOB_NAM_H
8 
9 
10 #include <QNetworkAccessManager>
11 class QNetworkReply;
12 
23 class WobNetworkAccessManager:public QNetworkAccessManager
24 {
25 protected:
27  virtual QNetworkReply * createRequest(Operation op, const QNetworkRequest & req, QIODevice * outgoingData = 0);
28 public:
30  explicit WobNetworkAccessManager(QObject* parent = 0);
32  virtual QNetworkReply * sendCustomRequest(const QNetworkRequest & request, const QByteArray & verb, QIODevice * data = 0);
33 };
34 
35 
36 #endif
WobNetworkAccessManager(QObject *parent=0)
creates a new Network Access Manager
Definition: wobnam.cpp:15
virtual QNetworkReply * sendCustomRequest(const QNetworkRequest &request, const QByteArray &verb, QIODevice *data=0)
creates a request with a custom operation
Definition: wobnam.cpp:43
Definition: wobnam.h:23
virtual QNetworkReply * createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData=0)
creates a request for a standard operation
Definition: wobnam.cpp:33