summaryrefslogtreecommitdiffstats
path: root/PySide/QtWebKit/typesystem_webkit.xml
diff options
context:
space:
mode:
authorCarlos Goncalves <mail@cgoncalves.info>2010-02-09 01:07:14 +0000
committerHugo Lima <hugo.lima@openbossa.org>2010-02-25 19:14:49 -0300
commit9639df1818207f6073b22ff6d3890c8d09bc12ce (patch)
tree579b4ab499cfad15584afa67df417e3fdc7ae95a /PySide/QtWebKit/typesystem_webkit.xml
parent42cd45f62ae1e57c929dcb55ab66d4dec67291f2 (diff)
downloadpyside-9639df1818207f6073b22ff6d3890c8d09bc12ce.tar.gz
pyside-9639df1818207f6073b22ff6d3890c8d09bc12ce.tar.xz
pyside-9639df1818207f6073b22ff6d3890c8d09bc12ce.zip
Initial QtWebKit binding (Qt 4.6 supported)
Diffstat (limited to 'PySide/QtWebKit/typesystem_webkit.xml')
-rw-r--r--PySide/QtWebKit/typesystem_webkit.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml
new file mode 100644
index 0000000..e19b71d
--- /dev/null
+++ b/PySide/QtWebKit/typesystem_webkit.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0"?>
+<typesystem package="PySide.QtWebKit">
+ <load-typesystem name="typesystem_core.xml" generate="no"/>
+ <load-typesystem name="typesystem_gui.xml.in" generate="no"/> <!-- FIXME -->
+ <load-typesystem name="typesystem_network.xml" generate="no"/>
+
+ <namespace-type name="WebCore"/>
+
+ <enum-type name="QWebSettings::FontFamily"/>
+ <enum-type name="QWebSettings::FontSize"/>
+ <enum-type name="QWebSettings::WebGraphic"/>
+ <enum-type name="QWebSettings::WebAttribute"/>
+ <enum-type name="QWebPage::NavigationType"/>
+ <enum-type name="QWebPage::WebAction"/>
+ <enum-type name="QWebPage::WebWindowType"/>
+ <enum-type name="QWebPage::FindFlag" flags="QWebPage::FindFlags"/>
+ <enum-type name="QWebPage::LinkDelegationPolicy"/>
+ <enum-type name="QWebPluginFactory::Extension"/>
+
+ <!-- Qt 4.6 -->
+ <enum-type name="QWebElement::StyleResolveStrategy"/>
+ <enum-type name="QWebFrame::RenderLayer"/>
+ <enum-type name="QWebPage:ErrorDomain"/>
+ <enum-type name="QWebPage::Extension"/>
+
+ <!-- unsuported property with type QList<MimeType> -->
+ <rejection class="QWebPluginFactory::Plugin" field-name="mimeTypes"/>
+
+ <object-type name="QWebView">
+ <modify-function signature="setPage(QWebPage*)">
+ <modify-argument index="1">
+ <define-ownership class="target" owner="c++"/>
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="print(QPrinter*)const" rename="print_" />
+ </object-type>
+ <object-type name="QWebFrame">
+ <modify-function signature="addToJavaScriptWindowObject(QString,QObject*)">
+ <modify-argument index="2">
+ <parent index="this" action="add"/>
+ </modify-argument>
+ </modify-function>
+ <!-- TODO QtScript isn't implemented yet -->
+ <modify-function signature="addToJavaScriptWindowObject(QString,QObject*,QScriptEngine::ValueOwnership)" remove="all" />
+ <!-- TODO QMultiMap isn't implemented yet -->
+ <modify-function signature="metaData()const" remove="all" />
+ </object-type>
+
+ <object-type name="QWebSettings"/>
+ <object-type name="QWebPage"/>
+ <object-type name="QWebHistory"/>
+ <object-type name="QWebHistoryInterface"/>
+ <object-type name="QWebPluginFactory"/>
+ <value-type name="QWebPluginFactory::Plugin"/>
+ <value-type name="QWebPluginFactory::MimeType"/>
+ <value-type name="QWebDatabase"/>
+ <value-type name="QWebHistoryItem"/>
+ <value-type name="QWebHitTestResult"/>
+ <value-type name="QWebSecurityOrigin"/>
+
+ <!-- Qt 4.6 -->
+ <object-type name="QGraphicsWebView"/>
+ <object-type name="QWebInspector"/>
+ <value-type name="QWebElement"/>
+ <value-type name="QWebElementCollection"/>
+</typesystem>