#include #include "PythonQtWrapper_QWebHitTestResult.h" #include "PythonQtWrapper_QWebSettings.h" #include "PythonQtWrapper_QWebHistoryInterface.h" #include "PythonQtWrapper_QWebFrame.h" #include "PythonQtWrapper_QWebPage.h" #include "PythonQtWrapper_QWebPluginFactory.h" #include "PythonQtWrapper_QWebView.h" void PythonQt_init_QtWebKit() { PythonQt::self()->registerCPPClass("QWebHitTestResult", "", "QtWebKit", PythonQtCreateObject); PythonQt::self()->registerCPPClass("QWebSettings", "", "QtWebKit", PythonQtCreateObject); PythonQt::self()->registerClass(&QWebHistoryInterface::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWebFrame::staticMetaObject, "QtWebKit", PythonQtCreateObject); PythonQt::self()->registerClass(&QWebPage::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWebPluginFactory::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); PythonQt::self()->registerClass(&QWebView::staticMetaObject, "QtWebKit", PythonQtCreateObject, PythonQtSetInstanceWrapperOnShell); }