PythonQtWrapper_QTcpSocket.h
57 lines
| 1.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTCPSOCKET_H | ||
#define PYTHONQTWRAPPER_QTCPSOCKET_H | ||||
#include <qtcpsocket.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
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 <qtcpsocket.h> | ||||
florianlink
|
r24 | class PythonQtShell_QTcpSocket : public QTcpSocket | ||
{ | ||||
public: | ||||
PythonQtShell_QTcpSocket(QObject* parent = 0):QTcpSocket(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
|
r13 | class PythonQtWrapper_QTcpSocket : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTcpSocket* new_QTcpSocket(QObject* parent = 0); | ||||
void delete_QTcpSocket(QTcpSocket* obj) { delete obj; } | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTCPSOCKET_H | ||||