##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
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 void promoted_incomingConnection(int handle) { QTcpServer::incomingConnection(handle); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_hasPendingConnections() const { return QTcpServer::hasPendingConnections(); }
florianlink
upgraded wrappers to current generator version...
r28 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
recreated wrappers to match current python qt version...
r73 int socketDescriptor(QTcpServer* theWrappedObject) const;
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
recreated wrappers to match current python qt version...
r73 unsigned short serverPort(QTcpServer* theWrappedObject) const;
bool isListening(QTcpServer* theWrappedObject) const;
QString errorString(QTcpServer* theWrappedObject) const;
QNetworkProxy proxy(QTcpServer* theWrappedObject) const;
bool waitForNewConnection(QTcpServer* theWrappedObject, int msec = 0, bool* timedOut = 0);
bool setSocketDescriptor(QTcpServer* theWrappedObject, int socketDescriptor);
florianlink
upgraded wrappers to current generator version...
r28 void incomingConnection(QTcpServer* theWrappedObject, int handle);
florianlink
recreated wrappers to match current python qt version...
r73 int maxPendingConnections(QTcpServer* theWrappedObject) const;
void close(QTcpServer* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 bool listen(QTcpServer* theWrappedObject, const QHostAddress& address = QHostAddress::Any, unsigned short port = 0);
florianlink
recreated wrappers to match current python qt version...
r73 void setProxy(QTcpServer* theWrappedObject, const QNetworkProxy& networkProxy);
bool hasPendingConnections(QTcpServer* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 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;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QTCPSERVER_H