##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QUdpSocket.h
70 lines | 2.7 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QUDPSOCKET_H
#define PYTHONQTWRAPPER_QUDPSOCKET_H
#include <qudpsocket.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 <qauthenticator.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qhostaddress.h>
#include <qlist.h>
#include <qnetworkproxy.h>
#include <qobject.h>
#include <qudpsocket.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QUdpSocket : public QUdpSocket
{
public:
PythonQtShell_QUdpSocket(QObject* parent = 0):QUdpSocket(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 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 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;
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QUdpSocket : public QObject
{ Q_OBJECT
public:
Q_ENUMS(BindFlag )
florianlink
recreated wrappers to match current python qt version...
r73 Q_FLAGS(BindMode )
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum BindFlag{
DefaultForPlatform = QUdpSocket::DefaultForPlatform, ShareAddress = QUdpSocket::ShareAddress, DontShareAddress = QUdpSocket::DontShareAddress, ReuseAddressHint = QUdpSocket::ReuseAddressHint};
florianlink
recreated wrappers to match current python qt version...
r73 Q_DECLARE_FLAGS(BindMode, BindFlag)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QUdpSocket* new_QUdpSocket(QObject* parent = 0);
void delete_QUdpSocket(QUdpSocket* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 qint64 pendingDatagramSize(QUdpSocket* theWrappedObject) const;
bool bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port, QUdpSocket::BindMode mode);
bool bind(QUdpSocket* theWrappedObject, unsigned short port, QUdpSocket::BindMode mode);
florianlink
upgraded wrappers to current generator version...
r28 bool bind(QUdpSocket* theWrappedObject, const QHostAddress& address, unsigned short port);
bool hasPendingDatagrams(QUdpSocket* theWrappedObject) const;
qint64 readDatagram(QUdpSocket* theWrappedObject, char* data, qint64 maxlen, QHostAddress* host = 0, unsigned short* port = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool bind(QUdpSocket* theWrappedObject, unsigned short port = 0);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qint64 writeDatagram(QUdpSocket* theWrappedObject, const QByteArray& datagram, const QHostAddress& host, unsigned short port);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QUDPSOCKET_H