##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QNetworkAccessManager.h
40 lines | 2.0 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_network / PythonQtWrapper_QNetworkAccessManager.h
#ifndef PYTHONQTWRAPPER_QNETWORKACCESSMANAGER_H
#define PYTHONQTWRAPPER_QNETWORKACCESSMANAGER_H
#include <qnetworkaccessmanager.h>
#include <QObject>
#include <QVariant>
#include <qauthenticator.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qnetworkcookie.h>
#include <qnetworkproxy.h>
#include <qnetworkreply.h>
#include <qnetworkrequest.h>
#include <qobject.h>
class PythonQtWrapper_QNetworkAccessManager : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Operation )
enum Operation{
HeadOperation = QNetworkAccessManager::HeadOperation, GetOperation = QNetworkAccessManager::GetOperation, PutOperation = QNetworkAccessManager::PutOperation, PostOperation = QNetworkAccessManager::PostOperation, UnknownOperation = QNetworkAccessManager::UnknownOperation};
public slots:
QNetworkAccessManager* new_QNetworkAccessManager(QObject* parent = 0);
void delete_QNetworkAccessManager(QNetworkAccessManager* obj) { delete obj; }
QNetworkCookieJar* cookieJar(QNetworkAccessManager* theWrappedObject) const;
QNetworkReply* get(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request);
QNetworkReply* head(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request);
QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data);
QNetworkReply* post(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data);
QNetworkProxy proxy(QNetworkAccessManager* theWrappedObject) const;
QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, QIODevice* data);
QNetworkReply* put(QNetworkAccessManager* theWrappedObject, const QNetworkRequest& request, const QByteArray& data);
void setCookieJar(QNetworkAccessManager* theWrappedObject, QNetworkCookieJar* cookieJar);
void setProxy(QNetworkAccessManager* theWrappedObject, const QNetworkProxy& proxy);
};
#endif // PYTHONQTWRAPPER_QNETWORKACCESSMANAGER_H