com_trolltech_qt_network_init.cpp
56 lines
| 5.2 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include <PythonQt.h> | ||
#include "PythonQtWrapper_QNetworkCookie.h" | ||||
florianlink
|
r28 | #include "PythonQtWrapper_QHostInfo.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QAuthenticator.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QUrlInfo.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QHttpHeader.h" | ||
#include "PythonQtWrapper_QNetworkInterface.h" | ||||
florianlink
|
r13 | #include "PythonQtWrapper_QNetworkProxy.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QHostAddress.h" | ||
#include "PythonQtWrapper_QIPv6Address.h" | ||||
florianlink
|
r13 | #include "PythonQtWrapper_QNetworkRequest.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QNetworkAddressEntry.h" | ||
#include "PythonQtWrapper_QSsl.h" | ||||
florianlink
|
r28 | #include "PythonQtWrapper_QTcpServer.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QNetworkCookieJar.h" | ||
florianlink
|
r28 | #include "PythonQtWrapper_QFtp.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QHttpRequestHeader.h" | ||
florianlink
|
r28 | #include "PythonQtWrapper_QLocalServer.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QNetworkAccessManager.h" | ||
#include "PythonQtWrapper_QHttpResponseHeader.h" | ||||
florianlink
|
r73 | #include "PythonQtWrapper_QHttp.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QNetworkReply.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QAbstractSocket.h" | ||
#include "PythonQtWrapper_QLocalSocket.h" | ||||
florianlink
|
r13 | #include "PythonQtWrapper_QUdpSocket.h" | ||
#include "PythonQtWrapper_QTcpSocket.h" | ||||
florianlink
|
r28 | |||
florianlink
|
r13 | void PythonQt_init_QtNetwork() { | ||
PythonQt::self()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkCookie>); | ||||
florianlink
|
r28 | PythonQt::self()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHostInfo>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QAuthenticator>); | ||
florianlink
|
r24 | PythonQt::self()->registerCPPClass("QUrlInfo", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QUrlInfo>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUrlInfo>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QHttpHeader", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttpHeader>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHttpHeader>); | ||
PythonQt::self()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkInterface>); | ||||
florianlink
|
r13 | PythonQt::self()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkProxy>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHostAddress>); | ||
PythonQt::self()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QIPv6Address>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QIPv6Address>); | ||||
florianlink
|
r13 | PythonQt::self()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkRequest>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkAddressEntry>); | ||
PythonQt::self()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QSsl>); | ||||
florianlink
|
r28 | PythonQt::self()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QTcpServer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTcpServer>); | ||
florianlink
|
r73 | PythonQt::self()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkCookieJar>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QNetworkCookieJar>); | ||
florianlink
|
r28 | PythonQt::self()->registerClass(&QFtp::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QFtp>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QFtp>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QHttpRequestHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttpRequestHeader>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHttpRequestHeader>); | ||
florianlink
|
r28 | PythonQt::self()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QLocalServer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLocalServer>); | ||
florianlink
|
r24 | PythonQt::self()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkAccessManager>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QNetworkAccessManager>); | ||
PythonQt::self()->registerCPPClass("QHttpResponseHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttpResponseHeader>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHttpResponseHeader>); | ||||
florianlink
|
r73 | PythonQt::self()->registerClass(&QHttp::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttp>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QHttp>); | ||
florianlink
|
r24 | PythonQt::self()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkReply>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QNetworkReply>); | ||
florianlink
|
r73 | PythonQt::self()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QAbstractSocket>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractSocket>); | ||
PythonQt::self()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QLocalSocket>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QLocalSocket>); | ||||
florianlink
|
r24 | PythonQt::self()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QUdpSocket>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QUdpSocket>); | ||
PythonQt::self()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QTcpSocket>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QTcpSocket>); | ||||
florianlink
|
r13 | |||
} | ||||