##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QNetworkReply.h
83 lines | 3.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QNETWORKREPLY_H
#define PYTHONQTWRAPPER_QNETWORKREPLY_H
#include <qnetworkreply.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qnetworkaccessmanager.h>
#include <qnetworkrequest.h>
#include <qobject.h>
#include <qurl.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QNetworkReply : public QNetworkReply
{
public:
PythonQtShell_QNetworkReply(QObject* parent = 0):QNetworkReply(parent),_wrapper(NULL) {};
virtual void abort();
virtual bool atEnd() const;
virtual qint64 bytesAvailable() const;
virtual qint64 bytesToWrite() const;
virtual bool canReadLine() const;
virtual void childEvent(QChildEvent* arg__1);
virtual void close();
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void ignoreSslErrors();
virtual bool isSequential() const;
virtual bool open(QIODevice::OpenMode mode);
virtual qint64 pos() const;
virtual qint64 readData(char* data, qint64 maxlen);
virtual qint64 readLineData(char* data, qint64 maxlen);
virtual bool reset();
virtual bool seek(qint64 pos);
virtual void setReadBufferSize(qint64 size);
virtual qint64 size() const;
virtual void timerEvent(QTimerEvent* arg__1);
virtual bool waitForBytesWritten(int msecs);
virtual bool waitForReadyRead(int msecs);
virtual qint64 writeData(const char* data, qint64 len);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QNetworkReply : public QNetworkReply
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_isSequential() const { return QNetworkReply::isSequential(); }
inline void promoted_setReadBufferSize(qint64 size) { QNetworkReply::setReadBufferSize(size); }
inline qint64 promoted_writeData(const char* data, qint64 len) { return QNetworkReply::writeData(data, len); }
inline void promoted_close() { QNetworkReply::close(); }
inline void promoted_ignoreSslErrors() { QNetworkReply::ignoreSslErrors(); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QNetworkReply : public QObject
{ Q_OBJECT
public:
public slots:
void delete_QNetworkReply(QNetworkReply* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QUrl url(QNetworkReply* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool hasRawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const;
QList<QByteArray > rawHeaderList(QNetworkReply* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QByteArray rawHeader(QNetworkReply* theWrappedObject, const QByteArray& headerName) const;
QNetworkAccessManager::Operation operation(QNetworkReply* theWrappedObject) const;
bool isSequential(QNetworkReply* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setReadBufferSize(QNetworkReply* theWrappedObject, qint64 size);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QVariant attribute(QNetworkReply* theWrappedObject, QNetworkRequest::Attribute code) const;
qint64 writeData(QNetworkReply* theWrappedObject, const char* data, qint64 len);
qint64 readBufferSize(QNetworkReply* theWrappedObject) const;
QVariant header(QNetworkReply* theWrappedObject, QNetworkRequest::KnownHeaders header) const;
QNetworkAccessManager* manager(QNetworkReply* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QNetworkRequest request(QNetworkReply* theWrappedObject) const;
void close(QNetworkReply* theWrappedObject);
QNetworkReply::NetworkError error(QNetworkReply* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QNETWORKREPLY_H