com_trolltech_qt_network_init.cpp
55 lines
| 4.2 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include <PythonQt.h> | ||
#include "PythonQtWrapper_QHostInfo.h" | ||||
#include "PythonQtWrapper_QHostAddress.h" | ||||
#include "PythonQtWrapper_QNetworkAddressEntry.h" | ||||
#include "PythonQtWrapper_QIPv6Address.h" | ||||
#include "PythonQtWrapper_QAuthenticator.h" | ||||
#include "PythonQtWrapper_QNetworkCookie.h" | ||||
#include "PythonQtWrapper_QUrlInfo.h" | ||||
#include "PythonQtWrapper_QNetworkProxy.h" | ||||
#include "PythonQtWrapper_QNetworkInterface.h" | ||||
#include "PythonQtWrapper_QSsl.h" | ||||
#include "PythonQtWrapper_QNetworkRequest.h" | ||||
#include "PythonQtWrapper_QHttpHeader.h" | ||||
#include "PythonQtWrapper_QLocalServer.h" | ||||
#include "PythonQtWrapper_QHttpRequestHeader.h" | ||||
#include "PythonQtWrapper_QNetworkAccessManager.h" | ||||
#include "PythonQtWrapper_QTcpServer.h" | ||||
#include "PythonQtWrapper_QNetworkCookieJar.h" | ||||
#include "PythonQtWrapper_QFtp.h" | ||||
#include "PythonQtWrapper_QHttp.h" | ||||
#include "PythonQtWrapper_QHttpResponseHeader.h" | ||||
#include "PythonQtWrapper_QAbstractSocket.h" | ||||
#include "PythonQtWrapper_QLocalSocket.h" | ||||
#include "PythonQtWrapper_QNetworkReply.h" | ||||
#include "PythonQtWrapper_QUdpSocket.h" | ||||
#include "PythonQtWrapper_QTcpSocket.h" | ||||
void PythonQt_init_QtNetwork() { | ||||
PythonQt::self()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHostInfo>); | ||||
PythonQt::self()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHostAddress>); | ||||
PythonQt::self()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkAddressEntry>); | ||||
PythonQt::self()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QIPv6Address>); | ||||
PythonQt::self()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QAuthenticator>); | ||||
PythonQt::self()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkCookie>); | ||||
PythonQt::self()->registerCPPClass("QUrlInfo", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QUrlInfo>); | ||||
PythonQt::self()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkProxy>); | ||||
PythonQt::self()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkInterface>); | ||||
PythonQt::self()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QSsl>); | ||||
PythonQt::self()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkRequest>); | ||||
PythonQt::self()->registerCPPClass("QHttpHeader", "", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttpHeader>); | ||||
PythonQt::self()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QLocalServer>); | ||||
PythonQt::self()->registerCPPClass("QHttpRequestHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttpRequestHeader>); | ||||
PythonQt::self()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkAccessManager>); | ||||
PythonQt::self()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QTcpServer>); | ||||
PythonQt::self()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkCookieJar>); | ||||
PythonQt::self()->registerClass(&QFtp::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QFtp>); | ||||
PythonQt::self()->registerClass(&QHttp::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttp>); | ||||
PythonQt::self()->registerCPPClass("QHttpResponseHeader", "QHttpHeader", "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QHttpResponseHeader>); | ||||
PythonQt::self()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QAbstractSocket>); | ||||
PythonQt::self()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QLocalSocket>); | ||||
PythonQt::self()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QNetworkReply>); | ||||
PythonQt::self()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QUdpSocket>); | ||||
PythonQt::self()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject<PythonQtWrapper_QTcpSocket>); | ||||
} | ||||