#include #include #include "com_trolltech_qt_network0.h" #include "com_trolltech_qt_network1.h" void PythonQt_init_QtNetwork(PyObject* module) { PythonQt::priv()->registerClass(&QAbstractNetworkCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QAbstractSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QAuthenticator", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QHostAddress", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QHostInfo", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); PythonQt::priv()->registerClass(&QHttpMultiPart::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QHttpPart", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QIPv6Address", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QLocalServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QLocalSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QNetworkAccessManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QNetworkAddressEntry", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QNetworkCacheMetaData", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QNetworkConfiguration", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkConfigurationManager::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QNetworkCookie", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkCookieJar::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QNetworkDiskCache::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QNetworkInterface", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); PythonQt::priv()->registerCPPClass("QNetworkProxy", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerCPPClass("QNetworkProxyFactory", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QNetworkProxyQuery", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkReply::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerCPPClass("QNetworkRequest", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); PythonQt::priv()->registerClass(&QNetworkSession::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); #ifndef QT_NO_OPENSSL PythonQt::priv()->registerCPPClass("QSsl", "", "QtNetwork", PythonQtCreateObject, NULL, module, 0); #endif #ifndef QT_NO_OPENSSL PythonQt::priv()->registerCPPClass("QSslCertificate", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_OPENSSL PythonQt::priv()->registerCPPClass("QSslCipher", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_OPENSSL PythonQt::priv()->registerCPPClass("QSslConfiguration", "", "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_OPENSSL PythonQt::priv()->registerCPPClass("QSslError", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_RichCompare); #endif #ifndef QT_NO_OPENSSL PythonQt::priv()->registerCPPClass("QSslKey", "", "QtNetwork", PythonQtCreateObject, NULL, module, PythonQt::Type_NonZero|PythonQt::Type_RichCompare); #endif #ifndef QT_NO_OPENSSL PythonQt::priv()->registerClass(&QSslSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); #endif PythonQt::priv()->registerClass(&QTcpServer::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QTcpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQt::priv()->registerClass(&QUdpSocket::staticMetaObject, "QtNetwork", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell, module, 0); PythonQtRegisterListTemplateConverterForKnownClass(QList, QHostAddress); PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkAddressEntry); PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkConfiguration); PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkCookie); PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkInterface); PythonQtRegisterListTemplateConverterForKnownClass(QList, QNetworkProxy); #ifndef QT_NO_OPENSSL PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCertificate); #endif #ifndef QT_NO_OPENSSL PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslCipher); #endif #ifndef QT_NO_OPENSSL PythonQtRegisterListTemplateConverterForKnownClass(QList, QSslError); #endif }