##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QBuffer.h
80 lines | 3.1 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QBUFFER_H
#define PYTHONQTWRAPPER_QBUFFER_H
#include <qbuffer.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 <qbuffer.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QBuffer : public QBuffer
{
public:
PythonQtShell_QBuffer(QByteArray* buf, QObject* parent = 0):QBuffer(buf, parent),_wrapper(NULL) {};
PythonQtShell_QBuffer(QObject* parent = 0):QBuffer(parent),_wrapper(NULL) {};
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 bool isSequential() const;
virtual bool open(QIODevice::OpenMode openMode);
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 off);
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_QBuffer : public QBuffer
{ public:
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_canReadLine() const { return QBuffer::canReadLine(); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_close() { QBuffer::close(); }
inline bool promoted_seek(qint64 off) { return QBuffer::seek(off); }
inline qint64 promoted_readData(char* data, qint64 maxlen) { return QBuffer::readData(data, maxlen); }
inline bool promoted_atEnd() const { return QBuffer::atEnd(); }
inline qint64 promoted_writeData(const char* data, qint64 len) { return QBuffer::writeData(data, len); }
florianlink
recreated wrappers to match current python qt version...
r73 inline qint64 promoted_pos() const { return QBuffer::pos(); }
inline bool promoted_open(QIODevice::OpenMode openMode) { return QBuffer::open(openMode); }
florianlink
upgraded wrappers to current generator version...
r28 inline qint64 promoted_size() const { return QBuffer::size(); }
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_QBuffer : public QObject
{ Q_OBJECT
public:
public slots:
QBuffer* new_QBuffer(QByteArray* buf, QObject* parent = 0);
QBuffer* new_QBuffer(QObject* parent = 0);
void delete_QBuffer(QBuffer* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 bool canReadLine(QBuffer* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void close(QBuffer* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 bool seek(QBuffer* theWrappedObject, qint64 off);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qint64 readData(QBuffer* theWrappedObject, char* data, qint64 maxlen);
bool atEnd(QBuffer* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setData(QBuffer* theWrappedObject, const QByteArray& data);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qint64 writeData(QBuffer* theWrappedObject, const char* data, qint64 len);
florianlink
recreated wrappers to match current python qt version...
r73 qint64 pos(QBuffer* theWrappedObject) const;
void setBuffer(QBuffer* theWrappedObject, QByteArray* a);
bool open(QBuffer* theWrappedObject, QIODevice::OpenMode openMode);
florianlink
upgraded wrappers to current generator version...
r28 qint64 size(QBuffer* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QBUFFER_H