##// 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_QTcpServer.h
68 lines | 2.7 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTCPSERVER_H
#define PYTHONQTWRAPPER_QTCPSERVER_H
#include <qtcpserver.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 <qhostaddress.h>
#include <qlist.h>
#include <qnetworkproxy.h>
#include <qobject.h>
#include <qtcpserver.h>
#include <qtcpsocket.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTcpServer : public QTcpServer
{
public:
PythonQtShell_QTcpServer(QObject* parent = 0):QTcpServer(parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual bool hasPendingConnections() const;
virtual void incomingConnection(int handle);
virtual QTcpSocket* nextPendingConnection();
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTcpServer : public QTcpServer
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); }
inline void promoted_incomingConnection(int handle) { QTcpServer::incomingConnection(handle); }
inline QTcpSocket* promoted_nextPendingConnection() { return QTcpServer::nextPendingConnection(); }
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_QTcpServer : public QObject
{ Q_OBJECT
public:
public slots:
QTcpServer* new_QTcpServer(QObject* parent = 0);
void delete_QTcpServer(QTcpServer* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 bool hasPendingConnections(QTcpServer* theWrappedObject) const;
void close(QTcpServer* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QAbstractSocket::SocketError serverError(QTcpServer* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void incomingConnection(QTcpServer* theWrappedObject, int handle);
void setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy);
bool listen(QTcpServer* theWrappedObject, const QHostAddress& address = QHostAddress::Any, unsigned short port = 0);
QTcpSocket* nextPendingConnection(QTcpServer* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setMaxPendingConnections(QTcpServer* theWrappedObject, int numConnections);
florianlink
upgraded wrappers to current generator version...
r28 QHostAddress serverAddress(QTcpServer* theWrappedObject) const;
bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = 0);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int socketDescriptor(QTcpServer* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QString errorString(QTcpServer* theWrappedObject) const;
int maxPendingConnections(QTcpServer* theWrappedObject) const;
unsigned short serverPort(QTcpServer* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isListening(QTcpServer* theWrappedObject) const;
QNetworkProxy proxy(QTcpServer* theWrappedObject) const;
bool setSocketDescriptor(QTcpServer* theWrappedObject, int socketDescriptor);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTCPSERVER_H