##// 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_QLocalSocket.h
96 lines | 5.2 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QLOCALSOCKET_H
#define PYTHONQTWRAPPER_QLOCALSOCKET_H
#include <qlocalsocket.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 <qlist.h>
#include <qlocalsocket.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_QLocalSocket : public QLocalSocket
{
public:
PythonQtShell_QLocalSocket(QObject* parent = 0):QLocalSocket(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* arg__1, qint64 arg__2);
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 = 30000);
virtual bool waitForReadyRead(int msecs = 30000);
virtual qint64 writeData(const char* arg__1, qint64 arg__2);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QLocalSocket : public QLocalSocket
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_isSequential() const { return QLocalSocket::isSequential(); }
florianlink
recreated wrappers to match current python qt version...
r73 inline qint64 promoted_readData(char* arg__1, qint64 arg__2) { return QLocalSocket::readData(arg__1, arg__2); }
inline void promoted_close() { QLocalSocket::close(); }
florianlink
upgraded wrappers to current generator version...
r28 inline qint64 promoted_writeData(const char* arg__1, qint64 arg__2) { return QLocalSocket::writeData(arg__1, arg__2); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_waitForBytesWritten(int msecs = 30000) { return QLocalSocket::waitForBytesWritten(msecs); }
florianlink
upgraded wrappers to current generator version...
r28 inline qint64 promoted_bytesAvailable() const { return QLocalSocket::bytesAvailable(); }
inline bool promoted_waitForReadyRead(int msecs = 30000) { return QLocalSocket::waitForReadyRead(msecs); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_canReadLine() const { return QLocalSocket::canReadLine(); }
inline qint64 promoted_bytesToWrite() const { return QLocalSocket::bytesToWrite(); }
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_QLocalSocket : public QObject
{ Q_OBJECT
public:
Q_ENUMS(LocalSocketState LocalSocketError )
enum LocalSocketState{
UnconnectedState = QLocalSocket::UnconnectedState, ConnectingState = QLocalSocket::ConnectingState, ConnectedState = QLocalSocket::ConnectedState, ClosingState = QLocalSocket::ClosingState};
enum LocalSocketError{
ConnectionRefusedError = QLocalSocket::ConnectionRefusedError, PeerClosedError = QLocalSocket::PeerClosedError, ServerNotFoundError = QLocalSocket::ServerNotFoundError, SocketAccessError = QLocalSocket::SocketAccessError, SocketResourceError = QLocalSocket::SocketResourceError, SocketTimeoutError = QLocalSocket::SocketTimeoutError, DatagramTooLargeError = QLocalSocket::DatagramTooLargeError, ConnectionError = QLocalSocket::ConnectionError, UnsupportedSocketOperationError = QLocalSocket::UnsupportedSocketOperationError, UnknownSocketError = QLocalSocket::UnknownSocketError};
public slots:
QLocalSocket* new_QLocalSocket(QObject* parent = 0);
void delete_QLocalSocket(QLocalSocket* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 bool isSequential(QLocalSocket* theWrappedObject) const;
QLocalSocket::LocalSocketError error(QLocalSocket* theWrappedObject) const;
qint64 readBufferSize(QLocalSocket* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 qint64 readData(QLocalSocket* theWrappedObject, char* arg__1, qint64 arg__2);
florianlink
recreated wrappers to match current python qt version...
r73 bool flush(QLocalSocket* theWrappedObject);
QString serverName(QLocalSocket* theWrappedObject) const;
void close(QLocalSocket* theWrappedObject);
qint64 writeData(QLocalSocket* theWrappedObject, const char* arg__1, qint64 arg__2);
bool waitForBytesWritten(QLocalSocket* theWrappedObject, int msecs = 30000);
bool waitForConnected(QLocalSocket* theWrappedObject, int msecs = 30000);
bool setSocketDescriptor(QLocalSocket* theWrappedObject, quintptr socketDescriptor, QLocalSocket::LocalSocketState socketState = QLocalSocket::ConnectedState, QIODevice::OpenMode openMode = QIODevice::ReadWrite);
qint64 bytesAvailable(QLocalSocket* theWrappedObject) const;
QString fullServerName(QLocalSocket* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool waitForDisconnected(QLocalSocket* theWrappedObject, int msecs = 30000);
florianlink
recreated wrappers to match current python qt version...
r73 bool isValid(QLocalSocket* theWrappedObject) const;
bool waitForReadyRead(QLocalSocket* theWrappedObject, int msecs = 30000);
florianlink
upgraded wrappers to current generator version...
r28 void abort(QLocalSocket* theWrappedObject);
florianlink
recreated wrappers to match current python qt version...
r73 void setReadBufferSize(QLocalSocket* theWrappedObject, qint64 size);
florianlink
upgraded wrappers to current generator version...
r28 void connectToServer(QLocalSocket* theWrappedObject, const QString& name, QIODevice::OpenMode openMode = QIODevice::ReadWrite);
bool canReadLine(QLocalSocket* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 quintptr socketDescriptor(QLocalSocket* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QLocalSocket::LocalSocketState state(QLocalSocket* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void disconnectFromServer(QLocalSocket* theWrappedObject);
qint64 bytesToWrite(QLocalSocket* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QLOCALSOCKET_H