Created
November 10, 2016 23:45
-
-
Save gen2brain/b680573e55c9a21b9299db21041d2465 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -urN qt.orig/internal/binding/parser/class.go qt/internal/binding/parser/class.go | |
| --- qt.orig/internal/binding/parser/class.go 2016-10-30 16:02:07.626868729 +0100 | |
| +++ qt/internal/binding/parser/class.go 2016-11-01 01:08:33.173592213 +0100 | |
| @@ -458,6 +458,7 @@ | |
| "SerialPort": {"Core"}, | |
| "SerialBus": {"Core"}, | |
| "PrintSupport": {"Widgets", "Gui", "Core"}, | |
| + "WebKit": {"Widgets", "WebKitWidgets", "PrintSupport", "Positioning", "Sensors", "Sql", "Network", "Gui", "Core"}, | |
| //"PlatformHeaders": []string{}, //TODO: | |
| "Designer": {"UiPlugin", "Widgets", "Gui", "Xml", "Core"}, | |
| "Scxml": {"Network", "Qml", "Core"}, //Network (needed for static linking ios) | |
| diff -urN qt.orig/internal/binding/templater/helper.go qt/internal/binding/templater/helper.go | |
| --- qt.orig/internal/binding/templater/helper.go 2016-10-30 16:02:07.628868983 +0100 | |
| +++ qt/internal/binding/templater/helper.go 2016-11-01 01:03:26.699640950 +0100 | |
| @@ -209,6 +209,7 @@ | |
| "SerialPort": false, | |
| "SerialBus": false, | |
| "PrintSupport": false, | |
| + "WebKit": false, | |
| //"PlatformHeaders": false, | |
| "Designer": false, | |
| "Scxml": false, | |
| @@ -255,6 +256,7 @@ | |
| "SerialPort", | |
| "SerialBus", | |
| "PrintSupport", | |
| + "WebKit", | |
| //"PlatformHeaders", //missing imports/guards | |
| "Designer", | |
| "Scxml", | |
| @@ -318,6 +320,7 @@ | |
| "SerialPort": {"Core"}, | |
| "SerialBus": {"Core"}, | |
| "PrintSupport": {"Widgets", "Gui", "Core"}, | |
| + "WebKit": {"Widgets", "WebKitWidgets", "PrintSupport", "Positioning", "Sensors", "Sql", "Network", "Gui", "Core"}, | |
| //"PlatformHeaders": []string{}, //TODO: | |
| "Designer": {"UiPlugin", "Widgets", "Gui", "Xml", "Core"}, | |
| "Scxml": {"Network", "Qml", "Core"}, //Network (needed for static linking ios) | |
| diff -urN qt.orig/webkit/cgo_android_linux_arm.go qt/webkit/cgo_android_linux_arm.go | |
| diff -urN qt.orig/webkit/cgo_desktop_darwin_amd64.go qt/webkit/cgo_desktop_darwin_amd64.go | |
| diff -urN qt.orig/webkit/cgo_desktop_linux_amd64.go qt/webkit/cgo_desktop_linux_amd64.go | |
| diff -urN qt.orig/webkit/cgo_desktop_windows_386.go qt/webkit/cgo_desktop_windows_386.go | |
| diff -urN qt.orig/webkit/cgo_rpi1_linux_arm.go qt/webkit/cgo_rpi1_linux_arm.go | |
| diff -urN qt.orig/webkit/cgo_rpi2_linux_arm.go qt/webkit/cgo_rpi2_linux_arm.go | |
| diff -urN qt.orig/webkit/cgo_rpi3_linux_arm.go qt/webkit/cgo_rpi3_linux_arm.go | |
| diff -urN qt.orig/webkit/cgo_sailfish_emulator_linux_386.go qt/webkit/cgo_sailfish_emulator_linux_386.go | |
| diff -urN qt.orig/webkit/cgo_sailfish_linux_arm.go qt/webkit/cgo_sailfish_linux_arm.go | |
| diff -urN qt.orig/webkit/minimal_cgo_android_linux_arm.go qt/webkit/minimal_cgo_android_linux_arm.go | |
| diff -urN qt.orig/webkit/minimal_cgo_desktop_darwin_amd64.go qt/webkit/minimal_cgo_desktop_darwin_amd64.go | |
| diff -urN qt.orig/webkit/minimal_cgo_desktop_linux_amd64.go qt/webkit/minimal_cgo_desktop_linux_amd64.go | |
| diff -urN qt.orig/webkit/minimal_cgo_desktop_windows_386.go qt/webkit/minimal_cgo_desktop_windows_386.go | |
| diff -urN qt.orig/webkit/minimal_cgo_rpi1_linux_arm.go qt/webkit/minimal_cgo_rpi1_linux_arm.go | |
| diff -urN qt.orig/webkit/minimal_cgo_rpi2_linux_arm.go qt/webkit/minimal_cgo_rpi2_linux_arm.go | |
| diff -urN qt.orig/webkit/minimal_cgo_rpi3_linux_arm.go qt/webkit/minimal_cgo_rpi3_linux_arm.go | |
| diff -urN qt.orig/webkit/minimal_cgo_sailfish_emulator_linux_386.go qt/webkit/minimal_cgo_sailfish_emulator_linux_386.go | |
| diff -urN qt.orig/webkit/minimal_cgo_sailfish_linux_arm.go qt/webkit/minimal_cgo_sailfish_linux_arm.go | |
| diff -urN qt.orig/webkit/webkit.cpp qt/webkit/webkit.cpp | |
| --- qt.orig/webkit/webkit.cpp 1970-01-01 01:00:00.000000000 +0100 | |
| +++ qt/webkit/webkit.cpp 2016-11-01 02:08:19.600408619 +0100 | |
| @@ -0,0 +1,5331 @@ | |
| +// +build !minimal | |
| + | |
| +#define protected public | |
| +#define private public | |
| + | |
| +#include "webkit.h" | |
| +#include "_cgo_export.h" | |
| + | |
| +#include <QAction> | |
| +#include <QActionEvent> | |
| +#include <QByteArray> | |
| +#include <QChildEvent> | |
| +#include <QCloseEvent> | |
| +#include <QContextMenuEvent> | |
| +#include <QDate> | |
| +#include <QDateTime> | |
| +#include <QDrag> | |
| +#include <QDragEnterEvent> | |
| +#include <QDragLeaveEvent> | |
| +#include <QDragMoveEvent> | |
| +#include <QDropEvent> | |
| +#include <QEvent> | |
| +#include <QFocusEvent> | |
| +#include <QGraphicsItem> | |
| +#include <QGraphicsScene> | |
| +#include <QGraphicsSceneContextMenuEvent> | |
| +#include <QGraphicsSceneDragDropEvent> | |
| +#include <QGraphicsSceneHoverEvent> | |
| +#include <QGraphicsSceneMouseEvent> | |
| +#include <QGraphicsSceneMoveEvent> | |
| +#include <QGraphicsSceneResizeEvent> | |
| +#include <QGraphicsSceneWheelEvent> | |
| +#include <QGraphicsWebView> | |
| +#include <QHideEvent> | |
| +#include <QIcon> | |
| +#include <QInputMethod> | |
| +#include <QInputMethodEvent> | |
| +#include <QKeyEvent> | |
| +#include <QMetaMethod> | |
| +#include <QMetaObject> | |
| +#include <QMouseEvent> | |
| +#include <QMoveEvent> | |
| +#include <QNetworkAccessManager> | |
| +#include <QNetworkReply> | |
| +#include <QNetworkRequest> | |
| +#include <QObject> | |
| +#include <QPaintEvent> | |
| +#include <QPainter> | |
| +#include <QPainterPath> | |
| +#include <QPalette> | |
| +#include <QPixmap> | |
| +#include <QPoint> | |
| +#include <QPointF> | |
| +#include <QPrinter> | |
| +#include <QRect> | |
| +#include <QRectF> | |
| +#include <QRegion> | |
| +#include <QResizeEvent> | |
| +#include <QShowEvent> | |
| +#include <QSize> | |
| +#include <QSizeF> | |
| +#include <QString> | |
| +#include <QStringList> | |
| +#include <QStyle> | |
| +#include <QStyleOption> | |
| +#include <QStyleOptionGraphicsItem> | |
| +#include <QTabletEvent> | |
| +#include <QTime> | |
| +#include <QTimer> | |
| +#include <QTimerEvent> | |
| +#include <QUrl> | |
| +#include <QVariant> | |
| +#include <QWebDatabase> | |
| +#include <QWebElement> | |
| +#include <QWebElementCollection> | |
| +#include <QWebFrame> | |
| +#include <QWebHistory> | |
| +#include <QWebHistoryInterface> | |
| +#include <QWebHistoryItem> | |
| +#include <QWebHitTestResult> | |
| +#include <QWebInspector> | |
| +#include <QWebPage> | |
| +#include <QWebPluginFactory> | |
| +#include <QWebSecurityOrigin> | |
| +#include <QWebSettings> | |
| +#include <QWebView> | |
| +#include <QWheelEvent> | |
| +#include <QWidget> | |
| + | |
| +class MyQGraphicsWebView: public QGraphicsWebView | |
| +{ | |
| +public: | |
| + MyQGraphicsWebView(QGraphicsItem *parent) : QGraphicsWebView(parent) {}; | |
| + void back() { callbackQGraphicsWebView_Back(this); }; | |
| + void contextMenuEvent(QGraphicsSceneContextMenuEvent * ev) { callbackQGraphicsWebView_ContextMenuEvent(this, ev); }; | |
| + void dragEnterEvent(QGraphicsSceneDragDropEvent * ev) { callbackQGraphicsWebView_DragEnterEvent(this, ev); }; | |
| + void dragLeaveEvent(QGraphicsSceneDragDropEvent * ev) { callbackQGraphicsWebView_DragLeaveEvent(this, ev); }; | |
| + void dragMoveEvent(QGraphicsSceneDragDropEvent * ev) { callbackQGraphicsWebView_DragMoveEvent(this, ev); }; | |
| + void dropEvent(QGraphicsSceneDragDropEvent * ev) { callbackQGraphicsWebView_DropEvent(this, ev); }; | |
| + bool event(QEvent * event) { return callbackQGraphicsWebView_Event(this, event) != 0; }; | |
| + void focusInEvent(QFocusEvent * ev) { callbackQGraphicsWebView_FocusInEvent(this, ev); }; | |
| + bool focusNextPrevChild(bool next) { return callbackQGraphicsWebView_FocusNextPrevChild(this, next) != 0; }; | |
| + void focusOutEvent(QFocusEvent * ev) { callbackQGraphicsWebView_FocusOutEvent(this, ev); }; | |
| + void forward() { callbackQGraphicsWebView_Forward(this); }; | |
| + void hoverLeaveEvent(QGraphicsSceneHoverEvent * ev) { callbackQGraphicsWebView_HoverLeaveEvent(this, ev); }; | |
| + void hoverMoveEvent(QGraphicsSceneHoverEvent * ev) { callbackQGraphicsWebView_HoverMoveEvent(this, ev); }; | |
| + void Signal_IconChanged() { callbackQGraphicsWebView_IconChanged(this); }; | |
| + void inputMethodEvent(QInputMethodEvent * ev) { callbackQGraphicsWebView_InputMethodEvent(this, ev); }; | |
| + QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQGraphicsWebView_InputMethodQuery(const_cast<MyQGraphicsWebView*>(this), query)); }; | |
| + QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast<QVariant*>(callbackQGraphicsWebView_ItemChange(this, change, const_cast<QVariant*>(&value))); }; | |
| + void keyPressEvent(QKeyEvent * ev) { callbackQGraphicsWebView_KeyPressEvent(this, ev); }; | |
| + void keyReleaseEvent(QKeyEvent * ev) { callbackQGraphicsWebView_KeyReleaseEvent(this, ev); }; | |
| + void Signal_LinkClicked(const QUrl & url) { callbackQGraphicsWebView_LinkClicked(this, const_cast<QUrl*>(&url)); }; | |
| + void Signal_LoadFinished(bool ok) { callbackQGraphicsWebView_LoadFinished(this, ok); }; | |
| + void Signal_LoadProgress(int progress) { callbackQGraphicsWebView_LoadProgress(this, progress); }; | |
| + void Signal_LoadStarted() { callbackQGraphicsWebView_LoadStarted(this); }; | |
| + void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * ev) { callbackQGraphicsWebView_MouseDoubleClickEvent(this, ev); }; | |
| + void mouseMoveEvent(QGraphicsSceneMouseEvent * ev) { callbackQGraphicsWebView_MouseMoveEvent(this, ev); }; | |
| + void mousePressEvent(QGraphicsSceneMouseEvent * ev) { callbackQGraphicsWebView_MousePressEvent(this, ev); }; | |
| + void mouseReleaseEvent(QGraphicsSceneMouseEvent * ev) { callbackQGraphicsWebView_MouseReleaseEvent(this, ev); }; | |
| + void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWebView_Paint(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); }; | |
| + void reload() { callbackQGraphicsWebView_Reload(this); }; | |
| + bool sceneEvent(QEvent * event) { return callbackQGraphicsWebView_SceneEvent(this, event) != 0; }; | |
| + void setGeometry(const QRectF & rect) { callbackQGraphicsWebView_SetGeometry(this, const_cast<QRectF*>(&rect)); }; | |
| + QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast<QSizeF*>(callbackQGraphicsWebView_SizeHint(const_cast<MyQGraphicsWebView*>(this), which, const_cast<QSizeF*>(&constraint))); }; | |
| + void Signal_StatusBarMessage(const QString & text) { callbackQGraphicsWebView_StatusBarMessage(this, const_cast<char*>(text.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void stop() { callbackQGraphicsWebView_Stop(this); }; | |
| + void Signal_TitleChanged(const QString & vqs) { callbackQGraphicsWebView_TitleChanged(this, const_cast<char*>(vqs.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void updateGeometry() { callbackQGraphicsWebView_UpdateGeometry(this); }; | |
| + void Signal_UrlChanged(const QUrl & vqu) { callbackQGraphicsWebView_UrlChanged(this, const_cast<QUrl*>(&vqu)); }; | |
| + void wheelEvent(QGraphicsSceneWheelEvent * ev) { callbackQGraphicsWebView_WheelEvent(this, ev); }; | |
| + QRectF boundingRect() const { return *static_cast<QRectF*>(callbackQGraphicsWebView_BoundingRect(const_cast<MyQGraphicsWebView*>(this))); }; | |
| + void changeEvent(QEvent * event) { callbackQGraphicsWebView_ChangeEvent(this, event); }; | |
| + bool close() { return callbackQGraphicsWebView_Close(this) != 0; }; | |
| + void closeEvent(QCloseEvent * event) { callbackQGraphicsWebView_CloseEvent(this, event); }; | |
| + void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsWebView_GetContentsMargins(const_cast<MyQGraphicsWebView*>(this), *left, *top, *right, *bottom); }; | |
| + void grabKeyboardEvent(QEvent * event) { callbackQGraphicsWebView_GrabKeyboardEvent(this, event); }; | |
| + void grabMouseEvent(QEvent * event) { callbackQGraphicsWebView_GrabMouseEvent(this, event); }; | |
| + void hideEvent(QHideEvent * event) { callbackQGraphicsWebView_HideEvent(this, event); }; | |
| + void initStyleOption(QStyleOption * option) const { callbackQGraphicsWebView_InitStyleOption(const_cast<MyQGraphicsWebView*>(this), option); }; | |
| + void moveEvent(QGraphicsSceneMoveEvent * event) { callbackQGraphicsWebView_MoveEvent(this, event); }; | |
| + void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWebView_PaintWindowFrame(this, painter, const_cast<QStyleOptionGraphicsItem*>(option), widget); }; | |
| + void polishEvent() { callbackQGraphicsWebView_PolishEvent(this); }; | |
| + void resizeEvent(QGraphicsSceneResizeEvent * event) { callbackQGraphicsWebView_ResizeEvent(this, event); }; | |
| + QPainterPath shape() const { return *static_cast<QPainterPath*>(callbackQGraphicsWebView_Shape(const_cast<MyQGraphicsWebView*>(this))); }; | |
| + void showEvent(QShowEvent * event) { callbackQGraphicsWebView_ShowEvent(this, event); }; | |
| + int type() const { return callbackQGraphicsWebView_Type(const_cast<MyQGraphicsWebView*>(this)); }; | |
| + void ungrabKeyboardEvent(QEvent * event) { callbackQGraphicsWebView_UngrabKeyboardEvent(this, event); }; | |
| + void ungrabMouseEvent(QEvent * event) { callbackQGraphicsWebView_UngrabMouseEvent(this, event); }; | |
| + bool windowFrameEvent(QEvent * event) { return callbackQGraphicsWebView_WindowFrameEvent(this, event) != 0; }; | |
| + Qt::WindowFrameSection windowFrameSectionAt(const QPointF & pos) const { return static_cast<Qt::WindowFrameSection>(callbackQGraphicsWebView_WindowFrameSectionAt(const_cast<MyQGraphicsWebView*>(this), const_cast<QPointF*>(&pos))); }; | |
| + void updateMicroFocus() { callbackQGraphicsWebView_UpdateMicroFocus(this); }; | |
| + void timerEvent(QTimerEvent * event) { callbackQGraphicsWebView_TimerEvent(this, event); }; | |
| + void childEvent(QChildEvent * event) { callbackQGraphicsWebView_ChildEvent(this, event); }; | |
| + void connectNotify(const QMetaMethod & sign) { callbackQGraphicsWebView_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + void customEvent(QEvent * event) { callbackQGraphicsWebView_CustomEvent(this, event); }; | |
| + void deleteLater() { callbackQGraphicsWebView_DeleteLater(this); }; | |
| + void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsWebView_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsWebView_EventFilter(this, watched, event) != 0; }; | |
| + const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQGraphicsWebView_MetaObject(const_cast<MyQGraphicsWebView*>(this))); }; | |
| + void advance(int phase) { callbackQGraphicsWebView_Advance(this, phase); }; | |
| + bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsWebView_CollidesWithItem(const_cast<MyQGraphicsWebView*>(this), const_cast<QGraphicsItem*>(other), mode) != 0; }; | |
| + bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsWebView_CollidesWithPath(const_cast<MyQGraphicsWebView*>(this), const_cast<QPainterPath*>(&path), mode) != 0; }; | |
| + bool contains(const QPointF & point) const { return callbackQGraphicsWebView_Contains(const_cast<MyQGraphicsWebView*>(this), const_cast<QPointF*>(&point)) != 0; }; | |
| + void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsWebView_HoverEnterEvent(this, event); }; | |
| + bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsWebView_IsObscuredBy(const_cast<MyQGraphicsWebView*>(this), const_cast<QGraphicsItem*>(item)) != 0; }; | |
| + QPainterPath opaqueArea() const { return *static_cast<QPainterPath*>(callbackQGraphicsWebView_OpaqueArea(const_cast<MyQGraphicsWebView*>(this))); }; | |
| + bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsWebView_SceneEventFilter(this, watched, event) != 0; }; | |
| +}; | |
| + | |
| +void* QGraphicsWebView_Icon(void* ptr) | |
| +{ | |
| + return new QIcon(static_cast<QGraphicsWebView*>(ptr)->icon()); | |
| +} | |
| + | |
| +char QGraphicsWebView_IsModified(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->isModified(); | |
| +} | |
| + | |
| +char QGraphicsWebView_IsTiledBackingStoreFrozen(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->isTiledBackingStoreFrozen(); | |
| +} | |
| + | |
| +void QGraphicsWebView_Load2(void* ptr, void* request, long long operation, char* body) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->load(*static_cast<QNetworkRequest*>(request), static_cast<QNetworkAccessManager::Operation>(operation), QByteArray::fromHex(QString(body).toUtf8())); | |
| +} | |
| + | |
| +char QGraphicsWebView_ResizesToContents(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->resizesToContents(); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetResizesToContents(void* ptr, char enabled) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setResizesToContents(enabled != 0); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetTiledBackingStoreFrozen(void* ptr, char frozen) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setTiledBackingStoreFrozen(frozen != 0); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetUrl(void* ptr, void* vqu) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setUrl(*static_cast<QUrl*>(vqu)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetZoomFactor(void* ptr, double vqr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setZoomFactor(vqr); | |
| +} | |
| + | |
| +char* QGraphicsWebView_Title(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QGraphicsWebView*>(ptr)->title().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QGraphicsWebView_Url(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QGraphicsWebView*>(ptr)->url()); | |
| +} | |
| + | |
| +double QGraphicsWebView_ZoomFactor(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->zoomFactor(); | |
| +} | |
| + | |
| +void* QGraphicsWebView_NewQGraphicsWebView(void* parent) | |
| +{ | |
| + return new MyQGraphicsWebView(static_cast<QGraphicsItem*>(parent)); | |
| +} | |
| + | |
| +void QGraphicsWebView_Back(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "back"); | |
| +} | |
| + | |
| +void QGraphicsWebView_ContextMenuEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ContextMenuEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::contextMenuEvent(static_cast<QGraphicsSceneContextMenuEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DragEnterEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DragEnterEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::dragEnterEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DragLeaveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DragLeaveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::dragLeaveEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DragMoveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DragMoveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::dragMoveEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DropEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DropEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::dropEvent(static_cast<QGraphicsSceneDragDropEvent*>(ev)); | |
| +} | |
| + | |
| +char QGraphicsWebView_Event(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->event(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_EventDefault(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::event(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_FindText(void* ptr, char* subString, long long options) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->findText(QString(subString), static_cast<QWebPage::FindFlag>(options)); | |
| +} | |
| + | |
| +void QGraphicsWebView_FocusInEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_FocusInEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::focusInEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +char QGraphicsWebView_FocusNextPrevChild(void* ptr, char next) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +char QGraphicsWebView_FocusNextPrevChildDefault(void* ptr, char next) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +void QGraphicsWebView_FocusOutEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_FocusOutEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::focusOutEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_Forward(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "forward"); | |
| +} | |
| + | |
| +void* QGraphicsWebView_History(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->history(); | |
| +} | |
| + | |
| +void QGraphicsWebView_HoverLeaveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HoverLeaveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::hoverLeaveEvent(static_cast<QGraphicsSceneHoverEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HoverMoveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HoverMoveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::hoverMoveEvent(static_cast<QGraphicsSceneHoverEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectIconChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)()>(&QGraphicsWebView::iconChanged), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)()>(&MyQGraphicsWebView::Signal_IconChanged)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectIconChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)()>(&QGraphicsWebView::iconChanged), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)()>(&MyQGraphicsWebView::Signal_IconChanged)); | |
| +} | |
| + | |
| +void QGraphicsWebView_IconChanged(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->iconChanged(); | |
| +} | |
| + | |
| +void QGraphicsWebView_InputMethodEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_InputMethodEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::inputMethodEvent(static_cast<QInputMethodEvent*>(ev)); | |
| +} | |
| + | |
| +void* QGraphicsWebView_InputMethodQuery(void* ptr, long long query) | |
| +{ | |
| + return new QVariant(static_cast<QGraphicsWebView*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query))); | |
| +} | |
| + | |
| +void* QGraphicsWebView_InputMethodQueryDefault(void* ptr, long long query) | |
| +{ | |
| + return new QVariant(static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query))); | |
| +} | |
| + | |
| +void* QGraphicsWebView_ItemChange(void* ptr, long long change, void* value) | |
| +{ | |
| + return new QVariant(static_cast<QGraphicsWebView*>(ptr)->itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value))); | |
| +} | |
| + | |
| +void* QGraphicsWebView_ItemChangeDefault(void* ptr, long long change, void* value) | |
| +{ | |
| + return new QVariant(static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::itemChange(static_cast<QGraphicsItem::GraphicsItemChange>(change), *static_cast<QVariant*>(value))); | |
| +} | |
| + | |
| +void QGraphicsWebView_KeyPressEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_KeyPressEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::keyPressEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_KeyReleaseEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_KeyReleaseEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::keyReleaseEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectLinkClicked(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QUrl &)>(&QGraphicsWebView::linkClicked), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QUrl &)>(&MyQGraphicsWebView::Signal_LinkClicked)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectLinkClicked(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QUrl &)>(&QGraphicsWebView::linkClicked), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QUrl &)>(&MyQGraphicsWebView::Signal_LinkClicked)); | |
| +} | |
| + | |
| +void QGraphicsWebView_LinkClicked(void* ptr, void* url) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->linkClicked(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QGraphicsWebView_Load(void* ptr, void* url) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->load(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(bool)>(&QGraphicsWebView::loadFinished), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(bool)>(&MyQGraphicsWebView::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(bool)>(&QGraphicsWebView::loadFinished), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(bool)>(&MyQGraphicsWebView::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QGraphicsWebView_LoadFinished(void* ptr, char ok) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->loadFinished(ok != 0); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectLoadProgress(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(int)>(&QGraphicsWebView::loadProgress), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(int)>(&MyQGraphicsWebView::Signal_LoadProgress)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectLoadProgress(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(int)>(&QGraphicsWebView::loadProgress), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(int)>(&MyQGraphicsWebView::Signal_LoadProgress)); | |
| +} | |
| + | |
| +void QGraphicsWebView_LoadProgress(void* ptr, int progress) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->loadProgress(progress); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)()>(&QGraphicsWebView::loadStarted), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)()>(&MyQGraphicsWebView::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)()>(&QGraphicsWebView::loadStarted), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)()>(&MyQGraphicsWebView::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QGraphicsWebView_LoadStarted(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->loadStarted(); | |
| +} | |
| + | |
| +void QGraphicsWebView_MouseDoubleClickEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MouseDoubleClickEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::mouseDoubleClickEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MouseMoveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MouseMoveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::mouseMoveEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MousePressEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MousePressEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::mousePressEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MouseReleaseEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MouseReleaseEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::mouseReleaseEvent(static_cast<QGraphicsSceneMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void* QGraphicsWebView_Page(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->page(); | |
| +} | |
| + | |
| +void* QGraphicsWebView_PageAction(void* ptr, long long action) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->pageAction(static_cast<QWebPage::WebAction>(action)); | |
| +} | |
| + | |
| +void QGraphicsWebView_Paint(void* ptr, void* painter, void* option, void* widget) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget)); | |
| +} | |
| + | |
| +void QGraphicsWebView_PaintDefault(void* ptr, void* painter, void* option, void* widget) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::paint(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget)); | |
| +} | |
| + | |
| +void QGraphicsWebView_Reload(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "reload"); | |
| +} | |
| + | |
| +long long QGraphicsWebView_RenderHints(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->renderHints(); | |
| +} | |
| + | |
| +char QGraphicsWebView_SceneEvent(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->sceneEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_SceneEventDefault(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::sceneEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetContent(void* ptr, char* data, char* mimeType, void* baseUrl) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setContent(QByteArray::fromHex(QString(data).toUtf8()), QString(mimeType), *static_cast<QUrl*>(baseUrl)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetGeometry(void* ptr, void* rect) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setGeometry(*static_cast<QRectF*>(rect)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetGeometryDefault(void* ptr, void* rect) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::setGeometry(*static_cast<QRectF*>(rect)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetHtml(void* ptr, char* html, void* baseUrl) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setHtml(QString(html), *static_cast<QUrl*>(baseUrl)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetPage(void* ptr, void* page) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setPage(static_cast<QWebPage*>(page)); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetRenderHint(void* ptr, long long hint, char enabled) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setRenderHint(static_cast<QPainter::RenderHint>(hint), enabled != 0); | |
| +} | |
| + | |
| +void QGraphicsWebView_SetRenderHints(void* ptr, long long hints) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->setRenderHints(static_cast<QPainter::RenderHint>(hints)); | |
| +} | |
| + | |
| +void* QGraphicsWebView_Settings(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->settings(); | |
| +} | |
| + | |
| +void* QGraphicsWebView_SizeHint(void* ptr, long long which, void* constraint) | |
| +{ | |
| + return ({ QSizeF tmpValue = static_cast<QGraphicsWebView*>(ptr)->sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void* QGraphicsWebView_SizeHintDefault(void* ptr, long long which, void* constraint) | |
| +{ | |
| + return ({ QSizeF tmpValue = static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::sizeHint(static_cast<Qt::SizeHint>(which), *static_cast<QSizeF*>(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectStatusBarMessage(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QString &)>(&QGraphicsWebView::statusBarMessage), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QString &)>(&MyQGraphicsWebView::Signal_StatusBarMessage)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectStatusBarMessage(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QString &)>(&QGraphicsWebView::statusBarMessage), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QString &)>(&MyQGraphicsWebView::Signal_StatusBarMessage)); | |
| +} | |
| + | |
| +void QGraphicsWebView_StatusBarMessage(void* ptr, char* text) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->statusBarMessage(QString(text)); | |
| +} | |
| + | |
| +void QGraphicsWebView_Stop(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "stop"); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectTitleChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QString &)>(&QGraphicsWebView::titleChanged), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QString &)>(&MyQGraphicsWebView::Signal_TitleChanged)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectTitleChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QString &)>(&QGraphicsWebView::titleChanged), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QString &)>(&MyQGraphicsWebView::Signal_TitleChanged)); | |
| +} | |
| + | |
| +void QGraphicsWebView_TitleChanged(void* ptr, char* vqs) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->titleChanged(QString(vqs)); | |
| +} | |
| + | |
| +void QGraphicsWebView_TriggerPageAction(void* ptr, long long action, char checked) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->triggerPageAction(static_cast<QWebPage::WebAction>(action), checked != 0); | |
| +} | |
| + | |
| +void QGraphicsWebView_UpdateGeometry(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->updateGeometry(); | |
| +} | |
| + | |
| +void QGraphicsWebView_UpdateGeometryDefault(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::updateGeometry(); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectUrlChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QUrl &)>(&QGraphicsWebView::urlChanged), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QUrl &)>(&MyQGraphicsWebView::Signal_UrlChanged)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectUrlChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QGraphicsWebView*>(ptr), static_cast<void (QGraphicsWebView::*)(const QUrl &)>(&QGraphicsWebView::urlChanged), static_cast<MyQGraphicsWebView*>(ptr), static_cast<void (MyQGraphicsWebView::*)(const QUrl &)>(&MyQGraphicsWebView::Signal_UrlChanged)); | |
| +} | |
| + | |
| +void QGraphicsWebView_UrlChanged(void* ptr, void* vqu) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->urlChanged(*static_cast<QUrl*>(vqu)); | |
| +} | |
| + | |
| +void QGraphicsWebView_WheelEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_WheelEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::wheelEvent(static_cast<QGraphicsSceneWheelEvent*>(ev)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DestroyQGraphicsWebView(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->~QGraphicsWebView(); | |
| +} | |
| + | |
| +void* QGraphicsWebView_BoundingRect(void* ptr) | |
| +{ | |
| + return ({ QRectF tmpValue = static_cast<QGraphicsWebView*>(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void* QGraphicsWebView_BoundingRectDefault(void* ptr) | |
| +{ | |
| + return ({ QRectF tmpValue = static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void QGraphicsWebView_ChangeEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->changeEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ChangeEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::changeEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_Close(void* ptr) | |
| +{ | |
| + bool returnArg; | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "close", Q_RETURN_ARG(bool, returnArg)); | |
| + return returnArg; | |
| +} | |
| + | |
| +char QGraphicsWebView_CloseDefault(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::close(); | |
| +} | |
| + | |
| +void QGraphicsWebView_CloseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->closeEvent(static_cast<QCloseEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_CloseEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::closeEvent(static_cast<QCloseEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_GetContentsMargins(void* ptr, double left, double top, double right, double bottom) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->getContentsMargins(&left, &top, &right, &bottom); | |
| +} | |
| + | |
| +void QGraphicsWebView_GetContentsMarginsDefault(void* ptr, double left, double top, double right, double bottom) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::getContentsMargins(&left, &top, &right, &bottom); | |
| +} | |
| + | |
| +void QGraphicsWebView_GrabKeyboardEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->grabKeyboardEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_GrabKeyboardEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::grabKeyboardEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_GrabMouseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->grabMouseEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_GrabMouseEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::grabMouseEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HideEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->hideEvent(static_cast<QHideEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HideEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::hideEvent(static_cast<QHideEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_InitStyleOption(void* ptr, void* option) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->initStyleOption(static_cast<QStyleOption*>(option)); | |
| +} | |
| + | |
| +void QGraphicsWebView_InitStyleOptionDefault(void* ptr, void* option) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::initStyleOption(static_cast<QStyleOption*>(option)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MoveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->moveEvent(static_cast<QGraphicsSceneMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_MoveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::moveEvent(static_cast<QGraphicsSceneMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_PaintWindowFrame(void* ptr, void* painter, void* option, void* widget) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->paintWindowFrame(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget)); | |
| +} | |
| + | |
| +void QGraphicsWebView_PaintWindowFrameDefault(void* ptr, void* painter, void* option, void* widget) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::paintWindowFrame(static_cast<QPainter*>(painter), static_cast<QStyleOptionGraphicsItem*>(option), static_cast<QWidget*>(widget)); | |
| +} | |
| + | |
| +void QGraphicsWebView_PolishEvent(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->polishEvent(); | |
| +} | |
| + | |
| +void QGraphicsWebView_PolishEventDefault(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::polishEvent(); | |
| +} | |
| + | |
| +void QGraphicsWebView_ResizeEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->resizeEvent(static_cast<QGraphicsSceneResizeEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ResizeEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::resizeEvent(static_cast<QGraphicsSceneResizeEvent*>(event)); | |
| +} | |
| + | |
| +void* QGraphicsWebView_Shape(void* ptr) | |
| +{ | |
| + return new QPainterPath(static_cast<QGraphicsWebView*>(ptr)->shape()); | |
| +} | |
| + | |
| +void* QGraphicsWebView_ShapeDefault(void* ptr) | |
| +{ | |
| + return new QPainterPath(static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::shape()); | |
| +} | |
| + | |
| +void QGraphicsWebView_ShowEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->showEvent(static_cast<QShowEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ShowEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::showEvent(static_cast<QShowEvent*>(event)); | |
| +} | |
| + | |
| +int QGraphicsWebView_Type(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->type(); | |
| +} | |
| + | |
| +int QGraphicsWebView_TypeDefault(void* ptr) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::type(); | |
| +} | |
| + | |
| +void QGraphicsWebView_UngrabKeyboardEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->ungrabKeyboardEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_UngrabKeyboardEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::ungrabKeyboardEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_UngrabMouseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->ungrabMouseEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_UngrabMouseEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::ungrabMouseEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_WindowFrameEvent(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->windowFrameEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_WindowFrameEventDefault(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::windowFrameEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +long long QGraphicsWebView_WindowFrameSectionAt(void* ptr, void* pos) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->windowFrameSectionAt(*static_cast<QPointF*>(pos)); | |
| +} | |
| + | |
| +long long QGraphicsWebView_WindowFrameSectionAtDefault(void* ptr, void* pos) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::windowFrameSectionAt(*static_cast<QPointF*>(pos)); | |
| +} | |
| + | |
| +void QGraphicsWebView_UpdateMicroFocus(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "updateMicroFocus"); | |
| +} | |
| + | |
| +void QGraphicsWebView_UpdateMicroFocusDefault(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::updateMicroFocus(); | |
| +} | |
| + | |
| +void QGraphicsWebView_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QGraphicsWebView_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QGraphicsWebView_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QGraphicsWebView*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QGraphicsWebView_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::deleteLater(); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QGraphicsWebView_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QGraphicsWebView_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QGraphicsWebView_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QGraphicsWebView*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QGraphicsWebView_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::metaObject()); | |
| +} | |
| + | |
| +void QGraphicsWebView_Advance(void* ptr, int phase) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->advance(phase); | |
| +} | |
| + | |
| +void QGraphicsWebView_AdvanceDefault(void* ptr, int phase) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::advance(phase); | |
| +} | |
| + | |
| +char QGraphicsWebView_CollidesWithItem(void* ptr, void* other, long long mode) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode)); | |
| +} | |
| + | |
| +char QGraphicsWebView_CollidesWithItemDefault(void* ptr, void* other, long long mode) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::collidesWithItem(static_cast<QGraphicsItem*>(other), static_cast<Qt::ItemSelectionMode>(mode)); | |
| +} | |
| + | |
| +char QGraphicsWebView_CollidesWithPath(void* ptr, void* path, long long mode) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode)); | |
| +} | |
| + | |
| +char QGraphicsWebView_CollidesWithPathDefault(void* ptr, void* path, long long mode) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::collidesWithPath(*static_cast<QPainterPath*>(path), static_cast<Qt::ItemSelectionMode>(mode)); | |
| +} | |
| + | |
| +char QGraphicsWebView_Contains(void* ptr, void* point) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->contains(*static_cast<QPointF*>(point)); | |
| +} | |
| + | |
| +char QGraphicsWebView_ContainsDefault(void* ptr, void* point) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::contains(*static_cast<QPointF*>(point)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HoverEnterEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event)); | |
| +} | |
| + | |
| +void QGraphicsWebView_HoverEnterEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::hoverEnterEvent(static_cast<QGraphicsSceneHoverEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_IsObscuredBy(void* ptr, void* item) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->isObscuredBy(static_cast<QGraphicsItem*>(item)); | |
| +} | |
| + | |
| +char QGraphicsWebView_IsObscuredByDefault(void* ptr, void* item) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::isObscuredBy(static_cast<QGraphicsItem*>(item)); | |
| +} | |
| + | |
| +void* QGraphicsWebView_OpaqueArea(void* ptr) | |
| +{ | |
| + return new QPainterPath(static_cast<QGraphicsWebView*>(ptr)->opaqueArea()); | |
| +} | |
| + | |
| +void* QGraphicsWebView_OpaqueAreaDefault(void* ptr) | |
| +{ | |
| + return new QPainterPath(static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::opaqueArea()); | |
| +} | |
| + | |
| +char QGraphicsWebView_SceneEventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QGraphicsWebView_SceneEventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QGraphicsWebView*>(ptr)->QGraphicsWebView::sceneEventFilter(static_cast<QGraphicsItem*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebDatabase_NewQWebDatabase(void* other) | |
| +{ | |
| + return new QWebDatabase(*static_cast<QWebDatabase*>(other)); | |
| +} | |
| + | |
| +char* QWebDatabase_DisplayName(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebDatabase*>(ptr)->displayName().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +long long QWebDatabase_ExpectedSize(void* ptr) | |
| +{ | |
| + return static_cast<QWebDatabase*>(ptr)->expectedSize(); | |
| +} | |
| + | |
| +char* QWebDatabase_FileName(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebDatabase*>(ptr)->fileName().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebDatabase_Name(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebDatabase*>(ptr)->name().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebDatabase_Origin(void* ptr) | |
| +{ | |
| + return new QWebSecurityOrigin(static_cast<QWebDatabase*>(ptr)->origin()); | |
| +} | |
| + | |
| +void QWebDatabase_QWebDatabase_RemoveAllDatabases() | |
| +{ | |
| + QWebDatabase::removeAllDatabases(); | |
| +} | |
| + | |
| +void QWebDatabase_QWebDatabase_RemoveDatabase(void* db) | |
| +{ | |
| + QWebDatabase::removeDatabase(*static_cast<QWebDatabase*>(db)); | |
| +} | |
| + | |
| +long long QWebDatabase_Size(void* ptr) | |
| +{ | |
| + return static_cast<QWebDatabase*>(ptr)->size(); | |
| +} | |
| + | |
| +void QWebDatabase_DestroyQWebDatabase(void* ptr) | |
| +{ | |
| + static_cast<QWebDatabase*>(ptr)->~QWebDatabase(); | |
| +} | |
| + | |
| +void* QWebElement_NewQWebElement() | |
| +{ | |
| + return new QWebElement(); | |
| +} | |
| + | |
| +void* QWebElement_NewQWebElement2(void* other) | |
| +{ | |
| + return new QWebElement(*static_cast<QWebElement*>(other)); | |
| +} | |
| + | |
| +void QWebElement_AddClass(void* ptr, char* name) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->addClass(QString(name)); | |
| +} | |
| + | |
| +void QWebElement_AppendInside(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->appendInside(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_AppendInside2(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->appendInside(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +void QWebElement_AppendOutside(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->appendOutside(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_AppendOutside2(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->appendOutside(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +char* QWebElement_Attribute(void* ptr, char* name, char* defaultValue) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->attribute(QString(name), QString(defaultValue)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_AttributeNS(void* ptr, char* namespaceUri, char* name, char* defaultValue) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->attributeNS(QString(namespaceUri), QString(name), QString(defaultValue)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_AttributeNames(void* ptr, char* namespaceUri) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->attributeNames(QString(namespaceUri)).join("|").toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_Classes(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->classes().join("|").toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebElement_Clone(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->clone()); | |
| +} | |
| + | |
| +void* QWebElement_Document(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->document()); | |
| +} | |
| + | |
| +void QWebElement_EncloseContentsWith2(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->encloseContentsWith(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_EncloseContentsWith(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->encloseContentsWith(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +void QWebElement_EncloseWith(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->encloseWith(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_EncloseWith2(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->encloseWith(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +void* QWebElement_EvaluateJavaScript(void* ptr, char* scriptSource) | |
| +{ | |
| + return new QVariant(static_cast<QWebElement*>(ptr)->evaluateJavaScript(QString(scriptSource))); | |
| +} | |
| + | |
| +void* QWebElement_FindAll(void* ptr, char* selectorQuery) | |
| +{ | |
| + return new QWebElementCollection(static_cast<QWebElement*>(ptr)->findAll(QString(selectorQuery))); | |
| +} | |
| + | |
| +void* QWebElement_FindFirst(void* ptr, char* selectorQuery) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->findFirst(QString(selectorQuery))); | |
| +} | |
| + | |
| +void* QWebElement_FirstChild(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->firstChild()); | |
| +} | |
| + | |
| +void* QWebElement_Geometry(void* ptr) | |
| +{ | |
| + return ({ QRect tmpValue = static_cast<QWebElement*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +char QWebElement_HasAttribute(void* ptr, char* name) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->hasAttribute(QString(name)); | |
| +} | |
| + | |
| +char QWebElement_HasAttributeNS(void* ptr, char* namespaceUri, char* name) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->hasAttributeNS(QString(namespaceUri), QString(name)); | |
| +} | |
| + | |
| +char QWebElement_HasAttributes(void* ptr) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->hasAttributes(); | |
| +} | |
| + | |
| +char QWebElement_HasClass(void* ptr, char* name) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->hasClass(QString(name)); | |
| +} | |
| + | |
| +char QWebElement_HasFocus(void* ptr) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->hasFocus(); | |
| +} | |
| + | |
| +char QWebElement_IsNull(void* ptr) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->isNull(); | |
| +} | |
| + | |
| +void* QWebElement_LastChild(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->lastChild()); | |
| +} | |
| + | |
| +char* QWebElement_LocalName(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->localName().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_NamespaceUri(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->namespaceUri().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebElement_NextSibling(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->nextSibling()); | |
| +} | |
| + | |
| +void* QWebElement_Parent(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->parent()); | |
| +} | |
| + | |
| +char* QWebElement_Prefix(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->prefix().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebElement_PrependInside(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->prependInside(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_PrependInside2(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->prependInside(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +void QWebElement_PrependOutside(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->prependOutside(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_PrependOutside2(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->prependOutside(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +void* QWebElement_PreviousSibling(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->previousSibling()); | |
| +} | |
| + | |
| +void QWebElement_RemoveAllChildren(void* ptr) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->removeAllChildren(); | |
| +} | |
| + | |
| +void QWebElement_RemoveAttribute(void* ptr, char* name) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->removeAttribute(QString(name)); | |
| +} | |
| + | |
| +void QWebElement_RemoveAttributeNS(void* ptr, char* namespaceUri, char* name) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->removeAttributeNS(QString(namespaceUri), QString(name)); | |
| +} | |
| + | |
| +void QWebElement_RemoveClass(void* ptr, char* name) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->removeClass(QString(name)); | |
| +} | |
| + | |
| +void QWebElement_RemoveFromDocument(void* ptr) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->removeFromDocument(); | |
| +} | |
| + | |
| +void QWebElement_Render(void* ptr, void* painter) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->render(static_cast<QPainter*>(painter)); | |
| +} | |
| + | |
| +void QWebElement_Render2(void* ptr, void* painter, void* clip) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->render(static_cast<QPainter*>(painter), *static_cast<QRect*>(clip)); | |
| +} | |
| + | |
| +void QWebElement_Replace(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->replace(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_Replace2(void* ptr, void* element) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->replace(*static_cast<QWebElement*>(element)); | |
| +} | |
| + | |
| +void QWebElement_SetAttribute(void* ptr, char* name, char* value) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setAttribute(QString(name), QString(value)); | |
| +} | |
| + | |
| +void QWebElement_SetAttributeNS(void* ptr, char* namespaceUri, char* name, char* value) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setAttributeNS(QString(namespaceUri), QString(name), QString(value)); | |
| +} | |
| + | |
| +void QWebElement_SetFocus(void* ptr) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setFocus(); | |
| +} | |
| + | |
| +void QWebElement_SetInnerXml(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setInnerXml(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_SetOuterXml(void* ptr, char* markup) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setOuterXml(QString(markup)); | |
| +} | |
| + | |
| +void QWebElement_SetPlainText(void* ptr, char* text) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setPlainText(QString(text)); | |
| +} | |
| + | |
| +void QWebElement_SetStyleProperty(void* ptr, char* name, char* value) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->setStyleProperty(QString(name), QString(value)); | |
| +} | |
| + | |
| +char* QWebElement_StyleProperty(void* ptr, char* name, long long strategy) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->styleProperty(QString(name), static_cast<QWebElement::StyleResolveStrategy>(strategy)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_TagName(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->tagName().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebElement_TakeFromDocument(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElement*>(ptr)->takeFromDocument()); | |
| +} | |
| + | |
| +char* QWebElement_ToInnerXml(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->toInnerXml().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_ToOuterXml(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->toOuterXml().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebElement_ToPlainText(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebElement*>(ptr)->toPlainText().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebElement_ToggleClass(void* ptr, char* name) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->toggleClass(QString(name)); | |
| +} | |
| + | |
| +void* QWebElement_WebFrame(void* ptr) | |
| +{ | |
| + return static_cast<QWebElement*>(ptr)->webFrame(); | |
| +} | |
| + | |
| +void QWebElement_DestroyQWebElement(void* ptr) | |
| +{ | |
| + static_cast<QWebElement*>(ptr)->~QWebElement(); | |
| +} | |
| + | |
| +void* QWebElementCollection_NewQWebElementCollection() | |
| +{ | |
| + return new QWebElementCollection(); | |
| +} | |
| + | |
| +void* QWebElementCollection_NewQWebElementCollection2(void* contextElement, char* query) | |
| +{ | |
| + return new QWebElementCollection(*static_cast<QWebElement*>(contextElement), QString(query)); | |
| +} | |
| + | |
| +void* QWebElementCollection_NewQWebElementCollection3(void* other) | |
| +{ | |
| + return new QWebElementCollection(*static_cast<QWebElementCollection*>(other)); | |
| +} | |
| + | |
| +void QWebElementCollection_Append(void* ptr, void* other) | |
| +{ | |
| + static_cast<QWebElementCollection*>(ptr)->append(*static_cast<QWebElementCollection*>(other)); | |
| +} | |
| + | |
| +void* QWebElementCollection_At(void* ptr, int i) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElementCollection*>(ptr)->at(i)); | |
| +} | |
| + | |
| +int QWebElementCollection_Count(void* ptr) | |
| +{ | |
| + return static_cast<QWebElementCollection*>(ptr)->count(); | |
| +} | |
| + | |
| +void* QWebElementCollection_First(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElementCollection*>(ptr)->first()); | |
| +} | |
| + | |
| +void* QWebElementCollection_Last(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebElementCollection*>(ptr)->last()); | |
| +} | |
| + | |
| +void QWebElementCollection_DestroyQWebElementCollection(void* ptr) | |
| +{ | |
| + static_cast<QWebElementCollection*>(ptr)->~QWebElementCollection(); | |
| +} | |
| + | |
| +class MyQWebFrame: public QWebFrame | |
| +{ | |
| +public: | |
| + void Signal_ContentsSizeChanged(const QSize & size) { callbackQWebFrame_ContentsSizeChanged(this, const_cast<QSize*>(&size)); }; | |
| + QVariant evaluateJavaScript(const QString & scriptSource) { return *static_cast<QVariant*>(callbackQWebFrame_EvaluateJavaScript(this, const_cast<char*>(scriptSource.toUtf8().prepend("WHITESPACE").constData()+10))); }; | |
| + bool event(QEvent * e) { return callbackQWebFrame_Event(this, e) != 0; }; | |
| + void Signal_IconChanged() { callbackQWebFrame_IconChanged(this); }; | |
| + void Signal_InitialLayoutCompleted() { callbackQWebFrame_InitialLayoutCompleted(this); }; | |
| + void Signal_JavaScriptWindowObjectCleared() { callbackQWebFrame_JavaScriptWindowObjectCleared(this); }; | |
| + void Signal_LoadFinished(bool ok) { callbackQWebFrame_LoadFinished(this, ok); }; | |
| + void Signal_LoadStarted() { callbackQWebFrame_LoadStarted(this); }; | |
| + void Signal_PageChanged() { callbackQWebFrame_PageChanged(this); }; | |
| + void print(QPrinter * printer) const { callbackQWebFrame_Print(const_cast<MyQWebFrame*>(this), printer); }; | |
| + void Signal_TitleChanged(const QString & title) { callbackQWebFrame_TitleChanged(this, const_cast<char*>(title.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void Signal_UrlChanged(const QUrl & url) { callbackQWebFrame_UrlChanged(this, const_cast<QUrl*>(&url)); }; | |
| + void timerEvent(QTimerEvent * event) { callbackQWebFrame_TimerEvent(this, event); }; | |
| + void childEvent(QChildEvent * event) { callbackQWebFrame_ChildEvent(this, event); }; | |
| + void connectNotify(const QMetaMethod & sign) { callbackQWebFrame_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + void customEvent(QEvent * event) { callbackQWebFrame_CustomEvent(this, event); }; | |
| + void deleteLater() { callbackQWebFrame_DeleteLater(this); }; | |
| + void disconnectNotify(const QMetaMethod & sign) { callbackQWebFrame_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebFrame_EventFilter(this, watched, event) != 0; }; | |
| + const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebFrame_MetaObject(const_cast<MyQWebFrame*>(this))); }; | |
| +}; | |
| + | |
| +void QWebFrame_AddToJavaScriptWindowObject(void* ptr, char* name, void* object, long long own) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->addToJavaScriptWindowObject(QString(name), static_cast<QObject*>(object), static_cast<QWebFrame::ValueOwnership>(own)); | |
| +} | |
| + | |
| +void* QWebFrame_BaseUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebFrame*>(ptr)->baseUrl()); | |
| +} | |
| + | |
| +void* QWebFrame_ContentsSize(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebFrame*>(ptr)->contentsSize(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +char QWebFrame_HasFocus(void* ptr) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->hasFocus(); | |
| +} | |
| + | |
| +void* QWebFrame_Icon(void* ptr) | |
| +{ | |
| + return new QIcon(static_cast<QWebFrame*>(ptr)->icon()); | |
| +} | |
| + | |
| +void* QWebFrame_RequestedUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebFrame*>(ptr)->requestedUrl()); | |
| +} | |
| + | |
| +void* QWebFrame_ScrollPosition(void* ptr) | |
| +{ | |
| + return ({ QPoint tmpValue = static_cast<QWebFrame*>(ptr)->scrollPosition(); new QPoint(tmpValue.x(), tmpValue.y()); }); | |
| +} | |
| + | |
| +void QWebFrame_SetScrollPosition(void* ptr, void* pos) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setScrollPosition(*static_cast<QPoint*>(pos)); | |
| +} | |
| + | |
| +void QWebFrame_SetUrl(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setUrl(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebFrame_SetZoomFactor(void* ptr, double factor) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setZoomFactor(factor); | |
| +} | |
| + | |
| +char* QWebFrame_Title(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebFrame*>(ptr)->title().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebFrame_Url(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebFrame*>(ptr)->url()); | |
| +} | |
| + | |
| +double QWebFrame_ZoomFactor(void* ptr) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->zoomFactor(); | |
| +} | |
| + | |
| +void QWebFrame_ConnectContentsSizeChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(const QSize &)>(&QWebFrame::contentsSizeChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(const QSize &)>(&MyQWebFrame::Signal_ContentsSizeChanged)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectContentsSizeChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(const QSize &)>(&QWebFrame::contentsSizeChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(const QSize &)>(&MyQWebFrame::Signal_ContentsSizeChanged)); | |
| +} | |
| + | |
| +void QWebFrame_ContentsSizeChanged(void* ptr, void* size) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->contentsSizeChanged(*static_cast<QSize*>(size)); | |
| +} | |
| + | |
| +void* QWebFrame_DocumentElement(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebFrame*>(ptr)->documentElement()); | |
| +} | |
| + | |
| +void* QWebFrame_EvaluateJavaScript(void* ptr, char* scriptSource) | |
| +{ | |
| + QVariant returnArg; | |
| + QMetaObject::invokeMethod(static_cast<QWebFrame*>(ptr), "evaluateJavaScript", Q_RETURN_ARG(QVariant, returnArg), Q_ARG(QString, QString(scriptSource))); | |
| + return new QVariant(returnArg); | |
| +} | |
| + | |
| +char QWebFrame_Event(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebFrame_EventDefault(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->QWebFrame::event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +void* QWebFrame_FindAllElements(void* ptr, char* selectorQuery) | |
| +{ | |
| + return new QWebElementCollection(static_cast<QWebFrame*>(ptr)->findAllElements(QString(selectorQuery))); | |
| +} | |
| + | |
| +void* QWebFrame_FindFirstElement(void* ptr, char* selectorQuery) | |
| +{ | |
| + return new QWebElement(static_cast<QWebFrame*>(ptr)->findFirstElement(QString(selectorQuery))); | |
| +} | |
| + | |
| +char* QWebFrame_FrameName(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebFrame*>(ptr)->frameName().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebFrame_Geometry(void* ptr) | |
| +{ | |
| + return ({ QRect tmpValue = static_cast<QWebFrame*>(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void* QWebFrame_HitTestContent(void* ptr, void* pos) | |
| +{ | |
| + return new QWebHitTestResult(static_cast<QWebFrame*>(ptr)->hitTestContent(*static_cast<QPoint*>(pos))); | |
| +} | |
| + | |
| +void QWebFrame_ConnectIconChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::iconChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_IconChanged)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectIconChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::iconChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_IconChanged)); | |
| +} | |
| + | |
| +void QWebFrame_IconChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->iconChanged(); | |
| +} | |
| + | |
| +void QWebFrame_ConnectInitialLayoutCompleted(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::initialLayoutCompleted), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_InitialLayoutCompleted)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectInitialLayoutCompleted(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::initialLayoutCompleted), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_InitialLayoutCompleted)); | |
| +} | |
| + | |
| +void QWebFrame_InitialLayoutCompleted(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->initialLayoutCompleted(); | |
| +} | |
| + | |
| +void QWebFrame_ConnectJavaScriptWindowObjectCleared(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::javaScriptWindowObjectCleared), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_JavaScriptWindowObjectCleared)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectJavaScriptWindowObjectCleared(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::javaScriptWindowObjectCleared), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_JavaScriptWindowObjectCleared)); | |
| +} | |
| + | |
| +void QWebFrame_JavaScriptWindowObjectCleared(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->javaScriptWindowObjectCleared(); | |
| +} | |
| + | |
| +void QWebFrame_Load2(void* ptr, void* req, long long operation, char* body) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->load(*static_cast<QNetworkRequest*>(req), static_cast<QNetworkAccessManager::Operation>(operation), QByteArray::fromHex(QString(body).toUtf8())); | |
| +} | |
| + | |
| +void QWebFrame_Load(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->load(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebFrame_ConnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(bool)>(&QWebFrame::loadFinished), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(bool)>(&MyQWebFrame::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(bool)>(&QWebFrame::loadFinished), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(bool)>(&MyQWebFrame::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QWebFrame_LoadFinished(void* ptr, char ok) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->loadFinished(ok != 0); | |
| +} | |
| + | |
| +void QWebFrame_ConnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::loadStarted), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::loadStarted), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QWebFrame_LoadStarted(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->loadStarted(); | |
| +} | |
| + | |
| +void* QWebFrame_Page(void* ptr) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->page(); | |
| +} | |
| + | |
| +void QWebFrame_ConnectPageChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::pageChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_PageChanged)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectPageChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)()>(&QWebFrame::pageChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)()>(&MyQWebFrame::Signal_PageChanged)); | |
| +} | |
| + | |
| +void QWebFrame_PageChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->pageChanged(); | |
| +} | |
| + | |
| +void* QWebFrame_ParentFrame(void* ptr) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->parentFrame(); | |
| +} | |
| + | |
| +void* QWebFrame_Pos(void* ptr) | |
| +{ | |
| + return ({ QPoint tmpValue = static_cast<QWebFrame*>(ptr)->pos(); new QPoint(tmpValue.x(), tmpValue.y()); }); | |
| +} | |
| + | |
| +void QWebFrame_Print(void* ptr, void* printer) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebFrame*>(ptr), "print", Q_ARG(QPrinter*, static_cast<QPrinter*>(printer))); | |
| +} | |
| + | |
| +void QWebFrame_Render2(void* ptr, void* painter, long long layer, void* clip) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->render(static_cast<QPainter*>(painter), static_cast<QWebFrame::RenderLayer>(layer), *static_cast<QRegion*>(clip)); | |
| +} | |
| + | |
| +void QWebFrame_Render(void* ptr, void* painter, void* clip) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->render(static_cast<QPainter*>(painter), *static_cast<QRegion*>(clip)); | |
| +} | |
| + | |
| +void QWebFrame_Scroll(void* ptr, int dx, int dy) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->scroll(dx, dy); | |
| +} | |
| + | |
| +void* QWebFrame_ScrollBarGeometry(void* ptr, long long orientation) | |
| +{ | |
| + return ({ QRect tmpValue = static_cast<QWebFrame*>(ptr)->scrollBarGeometry(static_cast<Qt::Orientation>(orientation)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +int QWebFrame_ScrollBarMaximum(void* ptr, long long orientation) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->scrollBarMaximum(static_cast<Qt::Orientation>(orientation)); | |
| +} | |
| + | |
| +int QWebFrame_ScrollBarMinimum(void* ptr, long long orientation) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->scrollBarMinimum(static_cast<Qt::Orientation>(orientation)); | |
| +} | |
| + | |
| +long long QWebFrame_ScrollBarPolicy(void* ptr, long long orientation) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->scrollBarPolicy(static_cast<Qt::Orientation>(orientation)); | |
| +} | |
| + | |
| +int QWebFrame_ScrollBarValue(void* ptr, long long orientation) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->scrollBarValue(static_cast<Qt::Orientation>(orientation)); | |
| +} | |
| + | |
| +void QWebFrame_ScrollToAnchor(void* ptr, char* anchor) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->scrollToAnchor(QString(anchor)); | |
| +} | |
| + | |
| +void* QWebFrame_SecurityOrigin(void* ptr) | |
| +{ | |
| + return new QWebSecurityOrigin(static_cast<QWebFrame*>(ptr)->securityOrigin()); | |
| +} | |
| + | |
| +void QWebFrame_SetContent(void* ptr, char* data, char* mimeType, void* baseUrl) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setContent(QByteArray::fromHex(QString(data).toUtf8()), QString(mimeType), *static_cast<QUrl*>(baseUrl)); | |
| +} | |
| + | |
| +void QWebFrame_SetFocus(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setFocus(); | |
| +} | |
| + | |
| +void QWebFrame_SetHtml(void* ptr, char* html, void* baseUrl) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setHtml(QString(html), *static_cast<QUrl*>(baseUrl)); | |
| +} | |
| + | |
| +void QWebFrame_SetScrollBarPolicy(void* ptr, long long orientation, long long policy) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setScrollBarPolicy(static_cast<Qt::Orientation>(orientation), static_cast<Qt::ScrollBarPolicy>(policy)); | |
| +} | |
| + | |
| +void QWebFrame_SetScrollBarValue(void* ptr, long long orientation, int value) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setScrollBarValue(static_cast<Qt::Orientation>(orientation), value); | |
| +} | |
| + | |
| +void QWebFrame_SetTextSizeMultiplier(void* ptr, double factor) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->setTextSizeMultiplier(factor); | |
| +} | |
| + | |
| +double QWebFrame_TextSizeMultiplier(void* ptr) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->textSizeMultiplier(); | |
| +} | |
| + | |
| +void QWebFrame_ConnectTitleChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(const QString &)>(&QWebFrame::titleChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(const QString &)>(&MyQWebFrame::Signal_TitleChanged)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectTitleChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(const QString &)>(&QWebFrame::titleChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(const QString &)>(&MyQWebFrame::Signal_TitleChanged)); | |
| +} | |
| + | |
| +void QWebFrame_TitleChanged(void* ptr, char* title) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->titleChanged(QString(title)); | |
| +} | |
| + | |
| +char* QWebFrame_ToHtml(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebFrame*>(ptr)->toHtml().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebFrame_ToPlainText(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebFrame*>(ptr)->toPlainText().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebFrame_ConnectUrlChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(const QUrl &)>(&QWebFrame::urlChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(const QUrl &)>(&MyQWebFrame::Signal_UrlChanged)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectUrlChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebFrame*>(ptr), static_cast<void (QWebFrame::*)(const QUrl &)>(&QWebFrame::urlChanged), static_cast<MyQWebFrame*>(ptr), static_cast<void (MyQWebFrame::*)(const QUrl &)>(&MyQWebFrame::Signal_UrlChanged)); | |
| +} | |
| + | |
| +void QWebFrame_UrlChanged(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->urlChanged(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebFrame_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebFrame_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->QWebFrame::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebFrame_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebFrame_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->QWebFrame::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebFrame_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebFrame_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->QWebFrame::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebFrame_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebFrame_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->QWebFrame::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebFrame_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebFrame*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QWebFrame_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->QWebFrame::deleteLater(); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebFrame_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebFrame*>(ptr)->QWebFrame::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QWebFrame_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebFrame_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebFrame*>(ptr)->QWebFrame::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebFrame_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebFrame*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QWebFrame_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebFrame*>(ptr)->QWebFrame::metaObject()); | |
| +} | |
| + | |
| +void QWebHistory_Back(void* ptr) | |
| +{ | |
| + static_cast<QWebHistory*>(ptr)->back(); | |
| +} | |
| + | |
| +void* QWebHistory_BackItem(void* ptr) | |
| +{ | |
| + return new QWebHistoryItem(static_cast<QWebHistory*>(ptr)->backItem()); | |
| +} | |
| + | |
| +char QWebHistory_CanGoBack(void* ptr) | |
| +{ | |
| + return static_cast<QWebHistory*>(ptr)->canGoBack(); | |
| +} | |
| + | |
| +char QWebHistory_CanGoForward(void* ptr) | |
| +{ | |
| + return static_cast<QWebHistory*>(ptr)->canGoForward(); | |
| +} | |
| + | |
| +void QWebHistory_Clear(void* ptr) | |
| +{ | |
| + static_cast<QWebHistory*>(ptr)->clear(); | |
| +} | |
| + | |
| +int QWebHistory_Count(void* ptr) | |
| +{ | |
| + return static_cast<QWebHistory*>(ptr)->count(); | |
| +} | |
| + | |
| +void* QWebHistory_CurrentItem(void* ptr) | |
| +{ | |
| + return new QWebHistoryItem(static_cast<QWebHistory*>(ptr)->currentItem()); | |
| +} | |
| + | |
| +int QWebHistory_CurrentItemIndex(void* ptr) | |
| +{ | |
| + return static_cast<QWebHistory*>(ptr)->currentItemIndex(); | |
| +} | |
| + | |
| +void QWebHistory_Forward(void* ptr) | |
| +{ | |
| + static_cast<QWebHistory*>(ptr)->forward(); | |
| +} | |
| + | |
| +void* QWebHistory_ForwardItem(void* ptr) | |
| +{ | |
| + return new QWebHistoryItem(static_cast<QWebHistory*>(ptr)->forwardItem()); | |
| +} | |
| + | |
| +void QWebHistory_GoToItem(void* ptr, void* item) | |
| +{ | |
| + static_cast<QWebHistory*>(ptr)->goToItem(*static_cast<QWebHistoryItem*>(item)); | |
| +} | |
| + | |
| +void* QWebHistory_ItemAt(void* ptr, int i) | |
| +{ | |
| + return new QWebHistoryItem(static_cast<QWebHistory*>(ptr)->itemAt(i)); | |
| +} | |
| + | |
| +int QWebHistory_MaximumItemCount(void* ptr) | |
| +{ | |
| + return static_cast<QWebHistory*>(ptr)->maximumItemCount(); | |
| +} | |
| + | |
| +void QWebHistory_SetMaximumItemCount(void* ptr, int count) | |
| +{ | |
| + static_cast<QWebHistory*>(ptr)->setMaximumItemCount(count); | |
| +} | |
| + | |
| +class MyQWebHistoryInterface: public QWebHistoryInterface | |
| +{ | |
| +public: | |
| + MyQWebHistoryInterface(QObject *parent) : QWebHistoryInterface(parent) {}; | |
| + void addHistoryEntry(const QString & url) { callbackQWebHistoryInterface_AddHistoryEntry(this, const_cast<char*>(url.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + bool historyContains(const QString & url) const { return callbackQWebHistoryInterface_HistoryContains(const_cast<MyQWebHistoryInterface*>(this), const_cast<char*>(url.toUtf8().prepend("WHITESPACE").constData()+10)) != 0; }; | |
| + void timerEvent(QTimerEvent * event) { callbackQWebHistoryInterface_TimerEvent(this, event); }; | |
| + void childEvent(QChildEvent * event) { callbackQWebHistoryInterface_ChildEvent(this, event); }; | |
| + void connectNotify(const QMetaMethod & sign) { callbackQWebHistoryInterface_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + void customEvent(QEvent * event) { callbackQWebHistoryInterface_CustomEvent(this, event); }; | |
| + void deleteLater() { callbackQWebHistoryInterface_DeleteLater(this); }; | |
| + void disconnectNotify(const QMetaMethod & sign) { callbackQWebHistoryInterface_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + bool event(QEvent * e) { return callbackQWebHistoryInterface_Event(this, e) != 0; }; | |
| + bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebHistoryInterface_EventFilter(this, watched, event) != 0; }; | |
| + const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebHistoryInterface_MetaObject(const_cast<MyQWebHistoryInterface*>(this))); }; | |
| +}; | |
| + | |
| +void* QWebHistoryInterface_NewQWebHistoryInterface(void* parent) | |
| +{ | |
| + return new MyQWebHistoryInterface(static_cast<QObject*>(parent)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_AddHistoryEntry(void* ptr, char* url) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->addHistoryEntry(QString(url)); | |
| +} | |
| + | |
| +void* QWebHistoryInterface_QWebHistoryInterface_DefaultInterface() | |
| +{ | |
| + return QWebHistoryInterface::defaultInterface(); | |
| +} | |
| + | |
| +char QWebHistoryInterface_HistoryContains(void* ptr, char* url) | |
| +{ | |
| + return static_cast<QWebHistoryInterface*>(ptr)->historyContains(QString(url)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_QWebHistoryInterface_SetDefaultInterface(void* defaultInterface) | |
| +{ | |
| + QWebHistoryInterface::setDefaultInterface(static_cast<QWebHistoryInterface*>(defaultInterface)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_DestroyQWebHistoryInterface(void* ptr) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->~QWebHistoryInterface(); | |
| +} | |
| + | |
| +void QWebHistoryInterface_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebHistoryInterface*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QWebHistoryInterface_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::deleteLater(); | |
| +} | |
| + | |
| +void QWebHistoryInterface_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebHistoryInterface_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QWebHistoryInterface_Event(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebHistoryInterface*>(ptr)->event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebHistoryInterface_EventDefault(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebHistoryInterface_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebHistoryInterface*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebHistoryInterface_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebHistoryInterface_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebHistoryInterface*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QWebHistoryInterface_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebHistoryInterface*>(ptr)->QWebHistoryInterface::metaObject()); | |
| +} | |
| + | |
| +void* QWebHistoryItem_NewQWebHistoryItem(void* other) | |
| +{ | |
| + return new QWebHistoryItem(*static_cast<QWebHistoryItem*>(other)); | |
| +} | |
| + | |
| +void* QWebHistoryItem_Icon(void* ptr) | |
| +{ | |
| + return new QIcon(static_cast<QWebHistoryItem*>(ptr)->icon()); | |
| +} | |
| + | |
| +char QWebHistoryItem_IsValid(void* ptr) | |
| +{ | |
| + return static_cast<QWebHistoryItem*>(ptr)->isValid(); | |
| +} | |
| + | |
| +void* QWebHistoryItem_LastVisited(void* ptr) | |
| +{ | |
| + return new QDateTime(static_cast<QWebHistoryItem*>(ptr)->lastVisited()); | |
| +} | |
| + | |
| +void* QWebHistoryItem_OriginalUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebHistoryItem*>(ptr)->originalUrl()); | |
| +} | |
| + | |
| +void QWebHistoryItem_SetUserData(void* ptr, void* userData) | |
| +{ | |
| + static_cast<QWebHistoryItem*>(ptr)->setUserData(*static_cast<QVariant*>(userData)); | |
| +} | |
| + | |
| +char* QWebHistoryItem_Title(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebHistoryItem*>(ptr)->title().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebHistoryItem_Url(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebHistoryItem*>(ptr)->url()); | |
| +} | |
| + | |
| +void* QWebHistoryItem_UserData(void* ptr) | |
| +{ | |
| + return new QVariant(static_cast<QWebHistoryItem*>(ptr)->userData()); | |
| +} | |
| + | |
| +void QWebHistoryItem_DestroyQWebHistoryItem(void* ptr) | |
| +{ | |
| + static_cast<QWebHistoryItem*>(ptr)->~QWebHistoryItem(); | |
| +} | |
| + | |
| +void* QWebHitTestResult_NewQWebHitTestResult() | |
| +{ | |
| + return new QWebHitTestResult(); | |
| +} | |
| + | |
| +void* QWebHitTestResult_NewQWebHitTestResult2(void* other) | |
| +{ | |
| + return new QWebHitTestResult(*static_cast<QWebHitTestResult*>(other)); | |
| +} | |
| + | |
| +char* QWebHitTestResult_AlternateText(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebHitTestResult*>(ptr)->alternateText().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebHitTestResult_BoundingRect(void* ptr) | |
| +{ | |
| + return ({ QRect tmpValue = static_cast<QWebHitTestResult*>(ptr)->boundingRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void* QWebHitTestResult_Element(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebHitTestResult*>(ptr)->element()); | |
| +} | |
| + | |
| +void* QWebHitTestResult_EnclosingBlockElement(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebHitTestResult*>(ptr)->enclosingBlockElement()); | |
| +} | |
| + | |
| +void* QWebHitTestResult_Frame(void* ptr) | |
| +{ | |
| + return static_cast<QWebHitTestResult*>(ptr)->frame(); | |
| +} | |
| + | |
| +void* QWebHitTestResult_ImageUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebHitTestResult*>(ptr)->imageUrl()); | |
| +} | |
| + | |
| +char QWebHitTestResult_IsContentEditable(void* ptr) | |
| +{ | |
| + return static_cast<QWebHitTestResult*>(ptr)->isContentEditable(); | |
| +} | |
| + | |
| +char QWebHitTestResult_IsContentSelected(void* ptr) | |
| +{ | |
| + return static_cast<QWebHitTestResult*>(ptr)->isContentSelected(); | |
| +} | |
| + | |
| +char QWebHitTestResult_IsNull(void* ptr) | |
| +{ | |
| + return static_cast<QWebHitTestResult*>(ptr)->isNull(); | |
| +} | |
| + | |
| +void* QWebHitTestResult_LinkElement(void* ptr) | |
| +{ | |
| + return new QWebElement(static_cast<QWebHitTestResult*>(ptr)->linkElement()); | |
| +} | |
| + | |
| +void* QWebHitTestResult_LinkTargetFrame(void* ptr) | |
| +{ | |
| + return static_cast<QWebHitTestResult*>(ptr)->linkTargetFrame(); | |
| +} | |
| + | |
| +char* QWebHitTestResult_LinkText(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebHitTestResult*>(ptr)->linkText().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebHitTestResult_LinkTitleString(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebHitTestResult*>(ptr)->linkTitleString().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebHitTestResult_LinkUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebHitTestResult*>(ptr)->linkUrl()); | |
| +} | |
| + | |
| +void* QWebHitTestResult_MediaUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebHitTestResult*>(ptr)->mediaUrl()); | |
| +} | |
| + | |
| +void* QWebHitTestResult_Pixmap(void* ptr) | |
| +{ | |
| + return new QPixmap(static_cast<QWebHitTestResult*>(ptr)->pixmap()); | |
| +} | |
| + | |
| +void* QWebHitTestResult_Pos(void* ptr) | |
| +{ | |
| + return ({ QPoint tmpValue = static_cast<QWebHitTestResult*>(ptr)->pos(); new QPoint(tmpValue.x(), tmpValue.y()); }); | |
| +} | |
| + | |
| +char* QWebHitTestResult_Title(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebHitTestResult*>(ptr)->title().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebHitTestResult_DestroyQWebHitTestResult(void* ptr) | |
| +{ | |
| + static_cast<QWebHitTestResult*>(ptr)->~QWebHitTestResult(); | |
| +} | |
| + | |
| +void* QWebInspector_NewQWebInspector(void* parent) | |
| +{ | |
| + return new QWebInspector(static_cast<QWidget*>(parent)); | |
| +} | |
| + | |
| +void QWebInspector_CloseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->closeEvent(static_cast<QCloseEvent*>(event)); | |
| +} | |
| + | |
| +char QWebInspector_Event(void* ptr, void* ev) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->event(static_cast<QEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebInspector_HideEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->hideEvent(static_cast<QHideEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebInspector_Page(void* ptr) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->page(); | |
| +} | |
| + | |
| +void QWebInspector_ResizeEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->resizeEvent(static_cast<QResizeEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_SetPage(void* ptr, void* page) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->setPage(static_cast<QWebPage*>(page)); | |
| +} | |
| + | |
| +void QWebInspector_ShowEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->showEvent(static_cast<QShowEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebInspector_SizeHint(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebInspector*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void QWebInspector_DestroyQWebInspector(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->~QWebInspector(); | |
| +} | |
| + | |
| +void QWebInspector_ActionEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->actionEvent(static_cast<QActionEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_ActionEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::actionEvent(static_cast<QActionEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DragEnterEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->dragEnterEvent(static_cast<QDragEnterEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DragEnterEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::dragEnterEvent(static_cast<QDragEnterEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DragLeaveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->dragLeaveEvent(static_cast<QDragLeaveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DragLeaveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::dragLeaveEvent(static_cast<QDragLeaveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DragMoveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->dragMoveEvent(static_cast<QDragMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DragMoveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::dragMoveEvent(static_cast<QDragMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DropEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->dropEvent(static_cast<QDropEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DropEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::dropEvent(static_cast<QDropEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_EnterEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->enterEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_EnterEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::enterEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_FocusInEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_FocusInEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::focusInEvent(static_cast<QFocusEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_FocusOutEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_FocusOutEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::focusOutEvent(static_cast<QFocusEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_LeaveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->leaveEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_LeaveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::leaveEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebInspector_MinimumSizeHint(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebInspector*>(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void* QWebInspector_MinimumSizeHintDefault(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebInspector*>(ptr)->QWebInspector::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void QWebInspector_MoveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->moveEvent(static_cast<QMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MoveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::moveEvent(static_cast<QMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_PaintEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->paintEvent(static_cast<QPaintEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_PaintEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::paintEvent(static_cast<QPaintEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_SetEnabled(void* ptr, char vbo) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); | |
| +} | |
| + | |
| +void QWebInspector_SetEnabledDefault(void* ptr, char vbo) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setEnabled(vbo != 0); | |
| +} | |
| + | |
| +void QWebInspector_SetStyleSheet(void* ptr, char* styleSheet) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); | |
| +} | |
| + | |
| +void QWebInspector_SetStyleSheetDefault(void* ptr, char* styleSheet) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setStyleSheet(QString(styleSheet)); | |
| +} | |
| + | |
| +void QWebInspector_SetVisible(void* ptr, char visible) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setVisible", Q_ARG(bool, visible != 0)); | |
| +} | |
| + | |
| +void QWebInspector_SetVisibleDefault(void* ptr, char visible) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setVisible(visible != 0); | |
| +} | |
| + | |
| +void QWebInspector_SetWindowModified(void* ptr, char vbo) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); | |
| +} | |
| + | |
| +void QWebInspector_SetWindowModifiedDefault(void* ptr, char vbo) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setWindowModified(vbo != 0); | |
| +} | |
| + | |
| +void QWebInspector_SetWindowTitle(void* ptr, char* vqs) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); | |
| +} | |
| + | |
| +void QWebInspector_SetWindowTitleDefault(void* ptr, char* vqs) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setWindowTitle(QString(vqs)); | |
| +} | |
| + | |
| +void QWebInspector_ChangeEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->changeEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_ChangeEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::changeEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebInspector_Close(void* ptr) | |
| +{ | |
| + bool returnArg; | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "close", Q_RETURN_ARG(bool, returnArg)); | |
| + return returnArg; | |
| +} | |
| + | |
| +char QWebInspector_CloseDefault(void* ptr) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->QWebInspector::close(); | |
| +} | |
| + | |
| +void QWebInspector_ContextMenuEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->contextMenuEvent(static_cast<QContextMenuEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_ContextMenuEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::contextMenuEvent(static_cast<QContextMenuEvent*>(event)); | |
| +} | |
| + | |
| +char QWebInspector_FocusNextPrevChild(void* ptr, char next) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +char QWebInspector_FocusNextPrevChildDefault(void* ptr, char next) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->QWebInspector::focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +char QWebInspector_HasHeightForWidth(void* ptr) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->hasHeightForWidth(); | |
| +} | |
| + | |
| +char QWebInspector_HasHeightForWidthDefault(void* ptr) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->QWebInspector::hasHeightForWidth(); | |
| +} | |
| + | |
| +int QWebInspector_HeightForWidth(void* ptr, int w) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->heightForWidth(w); | |
| +} | |
| + | |
| +int QWebInspector_HeightForWidthDefault(void* ptr, int w) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->QWebInspector::heightForWidth(w); | |
| +} | |
| + | |
| +void QWebInspector_Hide(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "hide"); | |
| +} | |
| + | |
| +void QWebInspector_HideDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::hide(); | |
| +} | |
| + | |
| +void QWebInspector_InputMethodEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_InputMethodEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::inputMethodEvent(static_cast<QInputMethodEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebInspector_InputMethodQuery(void* ptr, long long query) | |
| +{ | |
| + return new QVariant(static_cast<QWebInspector*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query))); | |
| +} | |
| + | |
| +void* QWebInspector_InputMethodQueryDefault(void* ptr, long long query) | |
| +{ | |
| + return new QVariant(static_cast<QWebInspector*>(ptr)->QWebInspector::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query))); | |
| +} | |
| + | |
| +void QWebInspector_KeyPressEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_KeyPressEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::keyPressEvent(static_cast<QKeyEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_KeyReleaseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_KeyReleaseEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::keyReleaseEvent(static_cast<QKeyEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_Lower(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "lower"); | |
| +} | |
| + | |
| +void QWebInspector_LowerDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::lower(); | |
| +} | |
| + | |
| +void QWebInspector_MouseDoubleClickEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->mouseDoubleClickEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MouseDoubleClickEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MouseMoveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->mouseMoveEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MouseMoveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::mouseMoveEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MousePressEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->mousePressEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MousePressEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::mousePressEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MouseReleaseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->mouseReleaseEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_MouseReleaseEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::mouseReleaseEvent(static_cast<QMouseEvent*>(event)); | |
| +} | |
| + | |
| +char QWebInspector_NativeEvent(void* ptr, char* eventType, void* message, long result) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); | |
| +} | |
| + | |
| +char QWebInspector_NativeEventDefault(void* ptr, char* eventType, void* message, long result) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->QWebInspector::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); | |
| +} | |
| + | |
| +void QWebInspector_Raise(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "raise"); | |
| +} | |
| + | |
| +void QWebInspector_RaiseDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::raise(); | |
| +} | |
| + | |
| +void QWebInspector_Repaint(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "repaint"); | |
| +} | |
| + | |
| +void QWebInspector_RepaintDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::repaint(); | |
| +} | |
| + | |
| +void QWebInspector_SetDisabled(void* ptr, char disable) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setDisabled", Q_ARG(bool, disable != 0)); | |
| +} | |
| + | |
| +void QWebInspector_SetDisabledDefault(void* ptr, char disable) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setDisabled(disable != 0); | |
| +} | |
| + | |
| +void QWebInspector_SetFocus2(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setFocus"); | |
| +} | |
| + | |
| +void QWebInspector_SetFocus2Default(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setFocus(); | |
| +} | |
| + | |
| +void QWebInspector_SetHidden(void* ptr, char hidden) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "setHidden", Q_ARG(bool, hidden != 0)); | |
| +} | |
| + | |
| +void QWebInspector_SetHiddenDefault(void* ptr, char hidden) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::setHidden(hidden != 0); | |
| +} | |
| + | |
| +void QWebInspector_Show(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "show"); | |
| +} | |
| + | |
| +void QWebInspector_ShowDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::show(); | |
| +} | |
| + | |
| +void QWebInspector_ShowFullScreen(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "showFullScreen"); | |
| +} | |
| + | |
| +void QWebInspector_ShowFullScreenDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::showFullScreen(); | |
| +} | |
| + | |
| +void QWebInspector_ShowMaximized(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "showMaximized"); | |
| +} | |
| + | |
| +void QWebInspector_ShowMaximizedDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::showMaximized(); | |
| +} | |
| + | |
| +void QWebInspector_ShowMinimized(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "showMinimized"); | |
| +} | |
| + | |
| +void QWebInspector_ShowMinimizedDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::showMinimized(); | |
| +} | |
| + | |
| +void QWebInspector_ShowNormal(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "showNormal"); | |
| +} | |
| + | |
| +void QWebInspector_ShowNormalDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::showNormal(); | |
| +} | |
| + | |
| +void QWebInspector_TabletEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->tabletEvent(static_cast<QTabletEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_TabletEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::tabletEvent(static_cast<QTabletEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_Update(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "update"); | |
| +} | |
| + | |
| +void QWebInspector_UpdateDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::update(); | |
| +} | |
| + | |
| +void QWebInspector_UpdateMicroFocus(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "updateMicroFocus"); | |
| +} | |
| + | |
| +void QWebInspector_UpdateMicroFocusDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::updateMicroFocus(); | |
| +} | |
| + | |
| +void QWebInspector_WheelEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->wheelEvent(static_cast<QWheelEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_WheelEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::wheelEvent(static_cast<QWheelEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebInspector_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebInspector_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebInspector_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebInspector*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QWebInspector_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::deleteLater(); | |
| +} | |
| + | |
| +void QWebInspector_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebInspector_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebInspector*>(ptr)->QWebInspector::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QWebInspector_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebInspector_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebInspector*>(ptr)->QWebInspector::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebInspector_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebInspector*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QWebInspector_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebInspector*>(ptr)->QWebInspector::metaObject()); | |
| +} | |
| + | |
| +class MyQWebPage: public QWebPage | |
| +{ | |
| +public: | |
| + MyQWebPage(QObject *parent) : QWebPage(parent) {}; | |
| + bool acceptNavigationRequest(QWebFrame * frame, const QNetworkRequest & request, QWebPage::NavigationType ty) { return callbackQWebPage_AcceptNavigationRequest(this, frame, const_cast<QNetworkRequest*>(&request), ty) != 0; }; | |
| + bool shouldInterruptJavaScript() { return callbackQWebPage_ShouldInterruptJavaScript(this) != 0; }; | |
| + void Signal_ApplicationCacheQuotaExceeded(QWebSecurityOrigin * origin, quint64 defaultOriginQuota, quint64 totalSpaceNeeded) { callbackQWebPage_ApplicationCacheQuotaExceeded(this, origin, defaultOriginQuota, totalSpaceNeeded); }; | |
| + QString chooseFile(QWebFrame * parentFrame, const QString & suggestedFile) { return QString(callbackQWebPage_ChooseFile(this, parentFrame, const_cast<char*>(suggestedFile.toUtf8().prepend("WHITESPACE").constData()+10))); }; | |
| + void Signal_ContentsChanged() { callbackQWebPage_ContentsChanged(this); }; | |
| + QObject * createPlugin(const QString & classid, const QUrl & url, const QStringList & paramNames, const QStringList & paramValues) { return static_cast<QObject*>(callbackQWebPage_CreatePlugin(this, const_cast<char*>(classid.toUtf8().prepend("WHITESPACE").constData()+10), const_cast<QUrl*>(&url), const_cast<char*>(paramNames.join("|").toUtf8().prepend("WHITESPACE").constData()+10), const_cast<char*>(paramValues.join("|").toUtf8().prepend("WHITESPACE").constData()+10))); }; | |
| + QWebPage * createWindow(QWebPage::WebWindowType ty) { return static_cast<QWebPage*>(callbackQWebPage_CreateWindow(this, ty)); }; | |
| + void Signal_DatabaseQuotaExceeded(QWebFrame * frame, QString databaseName) { callbackQWebPage_DatabaseQuotaExceeded(this, frame, const_cast<char*>(databaseName.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void Signal_DownloadRequested(const QNetworkRequest & request) { callbackQWebPage_DownloadRequested(this, const_cast<QNetworkRequest*>(&request)); }; | |
| + bool event(QEvent * ev) { return callbackQWebPage_Event(this, ev) != 0; }; | |
| + void Signal_FeaturePermissionRequestCanceled(QWebFrame * frame, QWebPage::Feature feature) { callbackQWebPage_FeaturePermissionRequestCanceled(this, frame, feature); }; | |
| + void Signal_FeaturePermissionRequested(QWebFrame * frame, QWebPage::Feature feature) { callbackQWebPage_FeaturePermissionRequested(this, frame, feature); }; | |
| + void Signal_FrameCreated(QWebFrame * frame) { callbackQWebPage_FrameCreated(this, frame); }; | |
| + void Signal_GeometryChangeRequested(const QRect & geom) { callbackQWebPage_GeometryChangeRequested(this, const_cast<QRect*>(&geom)); }; | |
| + void javaScriptAlert(QWebFrame * frame, const QString & msg) { callbackQWebPage_JavaScriptAlert(this, frame, const_cast<char*>(msg.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + bool javaScriptConfirm(QWebFrame * frame, const QString & msg) { return callbackQWebPage_JavaScriptConfirm(this, frame, const_cast<char*>(msg.toUtf8().prepend("WHITESPACE").constData()+10)) != 0; }; | |
| + void javaScriptConsoleMessage(const QString & message, int lineNumber, const QString & sourceID) { callbackQWebPage_JavaScriptConsoleMessage(this, const_cast<char*>(message.toUtf8().prepend("WHITESPACE").constData()+10), lineNumber, const_cast<char*>(sourceID.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + bool javaScriptPrompt(QWebFrame * frame, const QString & msg, const QString & defaultValue, QString * result) { return callbackQWebPage_JavaScriptPrompt(this, frame, const_cast<char*>(msg.toUtf8().prepend("WHITESPACE").constData()+10), const_cast<char*>(defaultValue.toUtf8().prepend("WHITESPACE").constData()+10), const_cast<char*>(result->toUtf8().prepend("WHITESPACE").constData()+10)) != 0; }; | |
| + void Signal_LinkClicked(const QUrl & url) { callbackQWebPage_LinkClicked(this, const_cast<QUrl*>(&url)); }; | |
| + void Signal_LinkHovered(const QString & link, const QString & title, const QString & textContent) { callbackQWebPage_LinkHovered(this, const_cast<char*>(link.toUtf8().prepend("WHITESPACE").constData()+10), const_cast<char*>(title.toUtf8().prepend("WHITESPACE").constData()+10), const_cast<char*>(textContent.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void Signal_LoadFinished(bool ok) { callbackQWebPage_LoadFinished(this, ok); }; | |
| + void Signal_LoadProgress(int progress) { callbackQWebPage_LoadProgress(this, progress); }; | |
| + void Signal_LoadStarted() { callbackQWebPage_LoadStarted(this); }; | |
| + void Signal_MenuBarVisibilityChangeRequested(bool visible) { callbackQWebPage_MenuBarVisibilityChangeRequested(this, visible); }; | |
| + void Signal_MicroFocusChanged() { callbackQWebPage_MicroFocusChanged(this); }; | |
| + void Signal_PrintRequested(QWebFrame * frame) { callbackQWebPage_PrintRequested(this, frame); }; | |
| + void Signal_RepaintRequested(const QRect & dirtyRect) { callbackQWebPage_RepaintRequested(this, const_cast<QRect*>(&dirtyRect)); }; | |
| + void Signal_RestoreFrameStateRequested(QWebFrame * frame) { callbackQWebPage_RestoreFrameStateRequested(this, frame); }; | |
| + void Signal_SaveFrameStateRequested(QWebFrame * frame, QWebHistoryItem * item) { callbackQWebPage_SaveFrameStateRequested(this, frame, item); }; | |
| + void Signal_ScrollRequested(int dx, int dy, const QRect & rectToScroll) { callbackQWebPage_ScrollRequested(this, dx, dy, const_cast<QRect*>(&rectToScroll)); }; | |
| + void Signal_SelectionChanged() { callbackQWebPage_SelectionChanged(this); }; | |
| + void Signal_StatusBarMessage(const QString & text) { callbackQWebPage_StatusBarMessage(this, const_cast<char*>(text.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void Signal_StatusBarVisibilityChangeRequested(bool visible) { callbackQWebPage_StatusBarVisibilityChangeRequested(this, visible); }; | |
| + bool supportsExtension(QWebPage::Extension extension) const { return callbackQWebPage_SupportsExtension(const_cast<MyQWebPage*>(this), extension) != 0; }; | |
| + void Signal_ToolBarVisibilityChangeRequested(bool visible) { callbackQWebPage_ToolBarVisibilityChangeRequested(this, visible); }; | |
| + void triggerAction(QWebPage::WebAction action, bool checked) { callbackQWebPage_TriggerAction(this, action, checked); }; | |
| + void Signal_UnsupportedContent(QNetworkReply * reply) { callbackQWebPage_UnsupportedContent(this, reply); }; | |
| + QString userAgentForUrl(const QUrl & url) const { return QString(callbackQWebPage_UserAgentForUrl(const_cast<MyQWebPage*>(this), const_cast<QUrl*>(&url))); }; | |
| + void Signal_ViewportChangeRequested() { callbackQWebPage_ViewportChangeRequested(this); }; | |
| + void Signal_WindowCloseRequested() { callbackQWebPage_WindowCloseRequested(this); }; | |
| + void timerEvent(QTimerEvent * event) { callbackQWebPage_TimerEvent(this, event); }; | |
| + void childEvent(QChildEvent * event) { callbackQWebPage_ChildEvent(this, event); }; | |
| + void connectNotify(const QMetaMethod & sign) { callbackQWebPage_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + void customEvent(QEvent * event) { callbackQWebPage_CustomEvent(this, event); }; | |
| + void deleteLater() { callbackQWebPage_DeleteLater(this); }; | |
| + void disconnectNotify(const QMetaMethod & sign) { callbackQWebPage_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebPage_EventFilter(this, watched, event) != 0; }; | |
| + const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebPage_MetaObject(const_cast<MyQWebPage*>(this))); }; | |
| +}; | |
| + | |
| +char QWebPage_AcceptNavigationRequest(void* ptr, void* frame, void* request, long long ty) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->acceptNavigationRequest(static_cast<QWebFrame*>(frame), *static_cast<QNetworkRequest*>(request), static_cast<QWebPage::NavigationType>(ty)); | |
| +} | |
| + | |
| +char QWebPage_AcceptNavigationRequestDefault(void* ptr, void* frame, void* request, long long ty) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::acceptNavigationRequest(static_cast<QWebFrame*>(frame), *static_cast<QNetworkRequest*>(request), static_cast<QWebPage::NavigationType>(ty)); | |
| +} | |
| + | |
| +char QWebPage_ForwardUnsupportedContent(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->forwardUnsupportedContent(); | |
| +} | |
| + | |
| +char QWebPage_HasSelection(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->hasSelection(); | |
| +} | |
| + | |
| +char QWebPage_IsContentEditable(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->isContentEditable(); | |
| +} | |
| + | |
| +char QWebPage_IsModified(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->isModified(); | |
| +} | |
| + | |
| +long long QWebPage_LinkDelegationPolicy(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->linkDelegationPolicy(); | |
| +} | |
| + | |
| +void* QWebPage_Palette(void* ptr) | |
| +{ | |
| + return new QPalette(static_cast<QWebPage*>(ptr)->palette()); | |
| +} | |
| + | |
| +void* QWebPage_PreferredContentsSize(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebPage*>(ptr)->preferredContentsSize(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +char* QWebPage_SelectedHtml(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->selectedHtml().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebPage_SelectedText(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->selectedText().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebPage_SetActualVisibleContentRect(void* ptr, void* rect) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setActualVisibleContentRect(*static_cast<QRect*>(rect)); | |
| +} | |
| + | |
| +void QWebPage_SetContentEditable(void* ptr, char editable) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setContentEditable(editable != 0); | |
| +} | |
| + | |
| +void QWebPage_SetFeaturePermission(void* ptr, void* frame, long long feature, long long policy) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setFeaturePermission(static_cast<QWebFrame*>(frame), static_cast<QWebPage::Feature>(feature), static_cast<QWebPage::PermissionPolicy>(policy)); | |
| +} | |
| + | |
| +void QWebPage_SetForwardUnsupportedContent(void* ptr, char forward) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setForwardUnsupportedContent(forward != 0); | |
| +} | |
| + | |
| +void QWebPage_SetLinkDelegationPolicy(void* ptr, long long policy) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setLinkDelegationPolicy(static_cast<QWebPage::LinkDelegationPolicy>(policy)); | |
| +} | |
| + | |
| +void QWebPage_SetPalette(void* ptr, void* palette) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setPalette(*static_cast<QPalette*>(palette)); | |
| +} | |
| + | |
| +void QWebPage_SetPreferredContentsSize(void* ptr, void* size) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setPreferredContentsSize(*static_cast<QSize*>(size)); | |
| +} | |
| + | |
| +void QWebPage_SetViewportSize(void* ptr, void* size) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setViewportSize(*static_cast<QSize*>(size)); | |
| +} | |
| + | |
| +void QWebPage_SetVisibilityState(void* ptr, long long vvi) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setVisibilityState(static_cast<QWebPage::VisibilityState>(vvi)); | |
| +} | |
| + | |
| +char QWebPage_ShouldInterruptJavaScript(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->shouldInterruptJavaScript(); | |
| +} | |
| + | |
| +char QWebPage_ShouldInterruptJavaScriptDefault(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::shouldInterruptJavaScript(); | |
| +} | |
| + | |
| +void* QWebPage_ViewportSize(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebPage*>(ptr)->viewportSize(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +long long QWebPage_VisibilityState(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->visibilityState(); | |
| +} | |
| + | |
| +void* QWebPage_NewQWebPage(void* parent) | |
| +{ | |
| + return new MyQWebPage(static_cast<QObject*>(parent)); | |
| +} | |
| + | |
| +void* QWebPage_Action(void* ptr, long long action) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->action(static_cast<QWebPage::WebAction>(action)); | |
| +} | |
| + | |
| +void QWebPage_ConnectApplicationCacheQuotaExceeded(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebSecurityOrigin *, quint64, quint64)>(&QWebPage::applicationCacheQuotaExceeded), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebSecurityOrigin *, quint64, quint64)>(&MyQWebPage::Signal_ApplicationCacheQuotaExceeded)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectApplicationCacheQuotaExceeded(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebSecurityOrigin *, quint64, quint64)>(&QWebPage::applicationCacheQuotaExceeded), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebSecurityOrigin *, quint64, quint64)>(&MyQWebPage::Signal_ApplicationCacheQuotaExceeded)); | |
| +} | |
| + | |
| +void QWebPage_ApplicationCacheQuotaExceeded(void* ptr, void* origin, unsigned long long defaultOriginQuota, unsigned long long totalSpaceNeeded) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->applicationCacheQuotaExceeded(static_cast<QWebSecurityOrigin*>(origin), defaultOriginQuota, totalSpaceNeeded); | |
| +} | |
| + | |
| +unsigned long long QWebPage_BytesReceived(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->bytesReceived(); | |
| +} | |
| + | |
| +char* QWebPage_ChooseFile(void* ptr, void* parentFrame, char* suggestedFile) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->chooseFile(static_cast<QWebFrame*>(parentFrame), QString(suggestedFile)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebPage_ChooseFileDefault(void* ptr, void* parentFrame, char* suggestedFile) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->QWebPage::chooseFile(static_cast<QWebFrame*>(parentFrame), QString(suggestedFile)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebPage_ConnectContentsChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::contentsChanged), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_ContentsChanged)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectContentsChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::contentsChanged), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_ContentsChanged)); | |
| +} | |
| + | |
| +void QWebPage_ContentsChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->contentsChanged(); | |
| +} | |
| + | |
| +void* QWebPage_CreatePlugin(void* ptr, char* classid, void* url, char* paramNames, char* paramValues) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->createPlugin(QString(classid), *static_cast<QUrl*>(url), QString(paramNames).split("|", QString::SkipEmptyParts), QString(paramValues).split("|", QString::SkipEmptyParts)); | |
| +} | |
| + | |
| +void* QWebPage_CreatePluginDefault(void* ptr, char* classid, void* url, char* paramNames, char* paramValues) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::createPlugin(QString(classid), *static_cast<QUrl*>(url), QString(paramNames).split("|", QString::SkipEmptyParts), QString(paramValues).split("|", QString::SkipEmptyParts)); | |
| +} | |
| + | |
| +void* QWebPage_CreateStandardContextMenu(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->createStandardContextMenu(); | |
| +} | |
| + | |
| +void* QWebPage_CreateWindow(void* ptr, long long ty) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->createWindow(static_cast<QWebPage::WebWindowType>(ty)); | |
| +} | |
| + | |
| +void* QWebPage_CreateWindowDefault(void* ptr, long long ty) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::createWindow(static_cast<QWebPage::WebWindowType>(ty)); | |
| +} | |
| + | |
| +void* QWebPage_CurrentFrame(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->currentFrame(); | |
| +} | |
| + | |
| +void QWebPage_ConnectDatabaseQuotaExceeded(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QString)>(&QWebPage::databaseQuotaExceeded), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QString)>(&MyQWebPage::Signal_DatabaseQuotaExceeded)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectDatabaseQuotaExceeded(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QString)>(&QWebPage::databaseQuotaExceeded), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QString)>(&MyQWebPage::Signal_DatabaseQuotaExceeded)); | |
| +} | |
| + | |
| +void QWebPage_DatabaseQuotaExceeded(void* ptr, void* frame, char* databaseName) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->databaseQuotaExceeded(static_cast<QWebFrame*>(frame), QString(databaseName)); | |
| +} | |
| + | |
| +void QWebPage_ConnectDownloadRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QNetworkRequest &)>(&QWebPage::downloadRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QNetworkRequest &)>(&MyQWebPage::Signal_DownloadRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectDownloadRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QNetworkRequest &)>(&QWebPage::downloadRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QNetworkRequest &)>(&MyQWebPage::Signal_DownloadRequested)); | |
| +} | |
| + | |
| +void QWebPage_DownloadRequested(void* ptr, void* request) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->downloadRequested(*static_cast<QNetworkRequest*>(request)); | |
| +} | |
| + | |
| +char QWebPage_Event(void* ptr, void* ev) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->event(static_cast<QEvent*>(ev)); | |
| +} | |
| + | |
| +char QWebPage_EventDefault(void* ptr, void* ev) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::event(static_cast<QEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebPage_ConnectFeaturePermissionRequestCanceled(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QWebPage::Feature)>(&QWebPage::featurePermissionRequestCanceled), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QWebPage::Feature)>(&MyQWebPage::Signal_FeaturePermissionRequestCanceled)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectFeaturePermissionRequestCanceled(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QWebPage::Feature)>(&QWebPage::featurePermissionRequestCanceled), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QWebPage::Feature)>(&MyQWebPage::Signal_FeaturePermissionRequestCanceled)); | |
| +} | |
| + | |
| +void QWebPage_FeaturePermissionRequestCanceled(void* ptr, void* frame, long long feature) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->featurePermissionRequestCanceled(static_cast<QWebFrame*>(frame), static_cast<QWebPage::Feature>(feature)); | |
| +} | |
| + | |
| +void QWebPage_ConnectFeaturePermissionRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QWebPage::Feature)>(&QWebPage::featurePermissionRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QWebPage::Feature)>(&MyQWebPage::Signal_FeaturePermissionRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectFeaturePermissionRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QWebPage::Feature)>(&QWebPage::featurePermissionRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QWebPage::Feature)>(&MyQWebPage::Signal_FeaturePermissionRequested)); | |
| +} | |
| + | |
| +void QWebPage_FeaturePermissionRequested(void* ptr, void* frame, long long feature) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->featurePermissionRequested(static_cast<QWebFrame*>(frame), static_cast<QWebPage::Feature>(feature)); | |
| +} | |
| + | |
| +char QWebPage_FindText(void* ptr, char* subString, long long options) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->findText(QString(subString), static_cast<QWebPage::FindFlag>(options)); | |
| +} | |
| + | |
| +char QWebPage_FocusNextPrevChild(void* ptr, char next) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +void* QWebPage_FrameAt(void* ptr, void* pos) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->frameAt(*static_cast<QPoint*>(pos)); | |
| +} | |
| + | |
| +void QWebPage_ConnectFrameCreated(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *)>(&QWebPage::frameCreated), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *)>(&MyQWebPage::Signal_FrameCreated)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectFrameCreated(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *)>(&QWebPage::frameCreated), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *)>(&MyQWebPage::Signal_FrameCreated)); | |
| +} | |
| + | |
| +void QWebPage_FrameCreated(void* ptr, void* frame) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->frameCreated(static_cast<QWebFrame*>(frame)); | |
| +} | |
| + | |
| +void QWebPage_ConnectGeometryChangeRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QRect &)>(&QWebPage::geometryChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QRect &)>(&MyQWebPage::Signal_GeometryChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectGeometryChangeRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QRect &)>(&QWebPage::geometryChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QRect &)>(&MyQWebPage::Signal_GeometryChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_GeometryChangeRequested(void* ptr, void* geom) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->geometryChangeRequested(*static_cast<QRect*>(geom)); | |
| +} | |
| + | |
| +void* QWebPage_History(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->history(); | |
| +} | |
| + | |
| +void* QWebPage_InputMethodQuery(void* ptr, long long property) | |
| +{ | |
| + return new QVariant(static_cast<QWebPage*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(property))); | |
| +} | |
| + | |
| +void QWebPage_JavaScriptAlert(void* ptr, void* frame, char* msg) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->javaScriptAlert(static_cast<QWebFrame*>(frame), QString(msg)); | |
| +} | |
| + | |
| +void QWebPage_JavaScriptAlertDefault(void* ptr, void* frame, char* msg) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::javaScriptAlert(static_cast<QWebFrame*>(frame), QString(msg)); | |
| +} | |
| + | |
| +char QWebPage_JavaScriptConfirm(void* ptr, void* frame, char* msg) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->javaScriptConfirm(static_cast<QWebFrame*>(frame), QString(msg)); | |
| +} | |
| + | |
| +char QWebPage_JavaScriptConfirmDefault(void* ptr, void* frame, char* msg) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::javaScriptConfirm(static_cast<QWebFrame*>(frame), QString(msg)); | |
| +} | |
| + | |
| +void QWebPage_JavaScriptConsoleMessage(void* ptr, char* message, int lineNumber, char* sourceID) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->javaScriptConsoleMessage(QString(message), lineNumber, QString(sourceID)); | |
| +} | |
| + | |
| +void QWebPage_JavaScriptConsoleMessageDefault(void* ptr, char* message, int lineNumber, char* sourceID) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::javaScriptConsoleMessage(QString(message), lineNumber, QString(sourceID)); | |
| +} | |
| + | |
| +char QWebPage_JavaScriptPrompt(void* ptr, void* frame, char* msg, char* defaultValue, char* result) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->javaScriptPrompt(static_cast<QWebFrame*>(frame), QString(msg), QString(defaultValue), new QString(result)); | |
| +} | |
| + | |
| +char QWebPage_JavaScriptPromptDefault(void* ptr, void* frame, char* msg, char* defaultValue, char* result) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::javaScriptPrompt(static_cast<QWebFrame*>(frame), QString(msg), QString(defaultValue), new QString(result)); | |
| +} | |
| + | |
| +void QWebPage_ConnectLinkClicked(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QUrl &)>(&QWebPage::linkClicked), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QUrl &)>(&MyQWebPage::Signal_LinkClicked)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectLinkClicked(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QUrl &)>(&QWebPage::linkClicked), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QUrl &)>(&MyQWebPage::Signal_LinkClicked)); | |
| +} | |
| + | |
| +void QWebPage_LinkClicked(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->linkClicked(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebPage_ConnectLinkHovered(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QString &, const QString &, const QString &)>(&QWebPage::linkHovered), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QString &, const QString &, const QString &)>(&MyQWebPage::Signal_LinkHovered)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectLinkHovered(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QString &, const QString &, const QString &)>(&QWebPage::linkHovered), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QString &, const QString &, const QString &)>(&MyQWebPage::Signal_LinkHovered)); | |
| +} | |
| + | |
| +void QWebPage_LinkHovered(void* ptr, char* link, char* title, char* textContent) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->linkHovered(QString(link), QString(title), QString(textContent)); | |
| +} | |
| + | |
| +void QWebPage_ConnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::loadFinished), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::loadFinished), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QWebPage_LoadFinished(void* ptr, char ok) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->loadFinished(ok != 0); | |
| +} | |
| + | |
| +void QWebPage_ConnectLoadProgress(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(int)>(&QWebPage::loadProgress), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(int)>(&MyQWebPage::Signal_LoadProgress)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectLoadProgress(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(int)>(&QWebPage::loadProgress), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(int)>(&MyQWebPage::Signal_LoadProgress)); | |
| +} | |
| + | |
| +void QWebPage_LoadProgress(void* ptr, int progress) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->loadProgress(progress); | |
| +} | |
| + | |
| +void QWebPage_ConnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::loadStarted), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::loadStarted), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QWebPage_LoadStarted(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->loadStarted(); | |
| +} | |
| + | |
| +void* QWebPage_MainFrame(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->mainFrame(); | |
| +} | |
| + | |
| +void QWebPage_ConnectMenuBarVisibilityChangeRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::menuBarVisibilityChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_MenuBarVisibilityChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectMenuBarVisibilityChangeRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::menuBarVisibilityChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_MenuBarVisibilityChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_MenuBarVisibilityChangeRequested(void* ptr, char visible) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->menuBarVisibilityChangeRequested(visible != 0); | |
| +} | |
| + | |
| +void QWebPage_ConnectMicroFocusChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::microFocusChanged), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_MicroFocusChanged)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectMicroFocusChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::microFocusChanged), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_MicroFocusChanged)); | |
| +} | |
| + | |
| +void QWebPage_MicroFocusChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->microFocusChanged(); | |
| +} | |
| + | |
| +void* QWebPage_NetworkAccessManager(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->networkAccessManager(); | |
| +} | |
| + | |
| +void* QWebPage_PluginFactory(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->pluginFactory(); | |
| +} | |
| + | |
| +void QWebPage_ConnectPrintRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *)>(&QWebPage::printRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *)>(&MyQWebPage::Signal_PrintRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectPrintRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *)>(&QWebPage::printRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *)>(&MyQWebPage::Signal_PrintRequested)); | |
| +} | |
| + | |
| +void QWebPage_PrintRequested(void* ptr, void* frame) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->printRequested(static_cast<QWebFrame*>(frame)); | |
| +} | |
| + | |
| +void QWebPage_ConnectRepaintRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QRect &)>(&QWebPage::repaintRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QRect &)>(&MyQWebPage::Signal_RepaintRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectRepaintRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QRect &)>(&QWebPage::repaintRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QRect &)>(&MyQWebPage::Signal_RepaintRequested)); | |
| +} | |
| + | |
| +void QWebPage_RepaintRequested(void* ptr, void* dirtyRect) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->repaintRequested(*static_cast<QRect*>(dirtyRect)); | |
| +} | |
| + | |
| +void QWebPage_ConnectRestoreFrameStateRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *)>(&QWebPage::restoreFrameStateRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *)>(&MyQWebPage::Signal_RestoreFrameStateRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectRestoreFrameStateRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *)>(&QWebPage::restoreFrameStateRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *)>(&MyQWebPage::Signal_RestoreFrameStateRequested)); | |
| +} | |
| + | |
| +void QWebPage_RestoreFrameStateRequested(void* ptr, void* frame) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->restoreFrameStateRequested(static_cast<QWebFrame*>(frame)); | |
| +} | |
| + | |
| +void QWebPage_ConnectSaveFrameStateRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QWebHistoryItem *)>(&QWebPage::saveFrameStateRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QWebHistoryItem *)>(&MyQWebPage::Signal_SaveFrameStateRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectSaveFrameStateRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QWebFrame *, QWebHistoryItem *)>(&QWebPage::saveFrameStateRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QWebFrame *, QWebHistoryItem *)>(&MyQWebPage::Signal_SaveFrameStateRequested)); | |
| +} | |
| + | |
| +void QWebPage_SaveFrameStateRequested(void* ptr, void* frame, void* item) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->saveFrameStateRequested(static_cast<QWebFrame*>(frame), static_cast<QWebHistoryItem*>(item)); | |
| +} | |
| + | |
| +void QWebPage_ConnectScrollRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(int, int, const QRect &)>(&QWebPage::scrollRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(int, int, const QRect &)>(&MyQWebPage::Signal_ScrollRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectScrollRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(int, int, const QRect &)>(&QWebPage::scrollRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(int, int, const QRect &)>(&MyQWebPage::Signal_ScrollRequested)); | |
| +} | |
| + | |
| +void QWebPage_ScrollRequested(void* ptr, int dx, int dy, void* rectToScroll) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->scrollRequested(dx, dy, *static_cast<QRect*>(rectToScroll)); | |
| +} | |
| + | |
| +void QWebPage_ConnectSelectionChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::selectionChanged), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_SelectionChanged)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectSelectionChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::selectionChanged), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_SelectionChanged)); | |
| +} | |
| + | |
| +void QWebPage_SelectionChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->selectionChanged(); | |
| +} | |
| + | |
| +void QWebPage_SetNetworkAccessManager(void* ptr, void* manager) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setNetworkAccessManager(static_cast<QNetworkAccessManager*>(manager)); | |
| +} | |
| + | |
| +void QWebPage_SetPluginFactory(void* ptr, void* factory) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setPluginFactory(static_cast<QWebPluginFactory*>(factory)); | |
| +} | |
| + | |
| +void QWebPage_SetView(void* ptr, void* view) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->setView(static_cast<QWidget*>(view)); | |
| +} | |
| + | |
| +void* QWebPage_Settings(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->settings(); | |
| +} | |
| + | |
| +void QWebPage_ConnectStatusBarMessage(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QString &)>(&QWebPage::statusBarMessage), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QString &)>(&MyQWebPage::Signal_StatusBarMessage)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectStatusBarMessage(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(const QString &)>(&QWebPage::statusBarMessage), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(const QString &)>(&MyQWebPage::Signal_StatusBarMessage)); | |
| +} | |
| + | |
| +void QWebPage_StatusBarMessage(void* ptr, char* text) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->statusBarMessage(QString(text)); | |
| +} | |
| + | |
| +void QWebPage_ConnectStatusBarVisibilityChangeRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::statusBarVisibilityChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_StatusBarVisibilityChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectStatusBarVisibilityChangeRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::statusBarVisibilityChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_StatusBarVisibilityChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_StatusBarVisibilityChangeRequested(void* ptr, char visible) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->statusBarVisibilityChangeRequested(visible != 0); | |
| +} | |
| + | |
| +char* QWebPage_SupportedContentTypes(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->supportedContentTypes().join("|").toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char QWebPage_SupportsContentType(void* ptr, char* mimeType) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->supportsContentType(QString(mimeType)); | |
| +} | |
| + | |
| +char QWebPage_SupportsExtension(void* ptr, long long extension) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->supportsExtension(static_cast<QWebPage::Extension>(extension)); | |
| +} | |
| + | |
| +char QWebPage_SupportsExtensionDefault(void* ptr, long long extension) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::supportsExtension(static_cast<QWebPage::Extension>(extension)); | |
| +} | |
| + | |
| +char QWebPage_SwallowContextMenuEvent(void* ptr, void* event) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->swallowContextMenuEvent(static_cast<QContextMenuEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_ConnectToolBarVisibilityChangeRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::toolBarVisibilityChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_ToolBarVisibilityChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectToolBarVisibilityChangeRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(bool)>(&QWebPage::toolBarVisibilityChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(bool)>(&MyQWebPage::Signal_ToolBarVisibilityChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_ToolBarVisibilityChangeRequested(void* ptr, char visible) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->toolBarVisibilityChangeRequested(visible != 0); | |
| +} | |
| + | |
| +unsigned long long QWebPage_TotalBytes(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->totalBytes(); | |
| +} | |
| + | |
| +void QWebPage_TriggerAction(void* ptr, long long action, char checked) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->triggerAction(static_cast<QWebPage::WebAction>(action), checked != 0); | |
| +} | |
| + | |
| +void QWebPage_TriggerActionDefault(void* ptr, long long action, char checked) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::triggerAction(static_cast<QWebPage::WebAction>(action), checked != 0); | |
| +} | |
| + | |
| +void* QWebPage_UndoStack(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->undoStack(); | |
| +} | |
| + | |
| +void QWebPage_ConnectUnsupportedContent(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QNetworkReply *)>(&QWebPage::unsupportedContent), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QNetworkReply *)>(&MyQWebPage::Signal_UnsupportedContent)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectUnsupportedContent(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)(QNetworkReply *)>(&QWebPage::unsupportedContent), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)(QNetworkReply *)>(&MyQWebPage::Signal_UnsupportedContent)); | |
| +} | |
| + | |
| +void QWebPage_UnsupportedContent(void* ptr, void* reply) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->unsupportedContent(static_cast<QNetworkReply*>(reply)); | |
| +} | |
| + | |
| +void QWebPage_UpdatePositionDependentActions(void* ptr, void* pos) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->updatePositionDependentActions(*static_cast<QPoint*>(pos)); | |
| +} | |
| + | |
| +char* QWebPage_UserAgentForUrl(void* ptr, void* url) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->userAgentForUrl(*static_cast<QUrl*>(url)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebPage_UserAgentForUrlDefault(void* ptr, void* url) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebPage*>(ptr)->QWebPage::userAgentForUrl(*static_cast<QUrl*>(url)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebPage_View(void* ptr) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->view(); | |
| +} | |
| + | |
| +void QWebPage_ConnectViewportChangeRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::viewportChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_ViewportChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectViewportChangeRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::viewportChangeRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_ViewportChangeRequested)); | |
| +} | |
| + | |
| +void QWebPage_ViewportChangeRequested(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->viewportChangeRequested(); | |
| +} | |
| + | |
| +void QWebPage_ConnectWindowCloseRequested(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::windowCloseRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_WindowCloseRequested)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectWindowCloseRequested(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebPage*>(ptr), static_cast<void (QWebPage::*)()>(&QWebPage::windowCloseRequested), static_cast<MyQWebPage*>(ptr), static_cast<void (MyQWebPage::*)()>(&MyQWebPage::Signal_WindowCloseRequested)); | |
| +} | |
| + | |
| +void QWebPage_WindowCloseRequested(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->windowCloseRequested(); | |
| +} | |
| + | |
| +void QWebPage_DestroyQWebPage(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->~QWebPage(); | |
| +} | |
| + | |
| +void QWebPage_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebPage_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebPage_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPage_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebPage*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QWebPage_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::deleteLater(); | |
| +} | |
| + | |
| +void QWebPage_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebPage_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPage*>(ptr)->QWebPage::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QWebPage_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebPage_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebPage*>(ptr)->QWebPage::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebPage_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebPage*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QWebPage_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebPage*>(ptr)->QWebPage::metaObject()); | |
| +} | |
| + | |
| +class MyQWebPluginFactory: public QWebPluginFactory | |
| +{ | |
| +public: | |
| + QObject * create(const QString & mimeType, const QUrl & url, const QStringList & argumentNames, const QStringList & argumentValues) const { return static_cast<QObject*>(callbackQWebPluginFactory_Create(const_cast<MyQWebPluginFactory*>(this), const_cast<char*>(mimeType.toUtf8().prepend("WHITESPACE").constData()+10), const_cast<QUrl*>(&url), const_cast<char*>(argumentNames.join("|").toUtf8().prepend("WHITESPACE").constData()+10), const_cast<char*>(argumentValues.join("|").toUtf8().prepend("WHITESPACE").constData()+10))); }; | |
| + void refreshPlugins() { callbackQWebPluginFactory_RefreshPlugins(this); }; | |
| + ~MyQWebPluginFactory() { callbackQWebPluginFactory_DestroyQWebPluginFactory(this); }; | |
| + void timerEvent(QTimerEvent * event) { callbackQWebPluginFactory_TimerEvent(this, event); }; | |
| + void childEvent(QChildEvent * event) { callbackQWebPluginFactory_ChildEvent(this, event); }; | |
| + void connectNotify(const QMetaMethod & sign) { callbackQWebPluginFactory_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + void customEvent(QEvent * event) { callbackQWebPluginFactory_CustomEvent(this, event); }; | |
| + void deleteLater() { callbackQWebPluginFactory_DeleteLater(this); }; | |
| + void disconnectNotify(const QMetaMethod & sign) { callbackQWebPluginFactory_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + bool event(QEvent * e) { return callbackQWebPluginFactory_Event(this, e) != 0; }; | |
| + bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebPluginFactory_EventFilter(this, watched, event) != 0; }; | |
| + const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebPluginFactory_MetaObject(const_cast<MyQWebPluginFactory*>(this))); }; | |
| +}; | |
| + | |
| +void* QWebPluginFactory_Create(void* ptr, char* mimeType, void* url, char* argumentNames, char* argumentValues) | |
| +{ | |
| + return static_cast<QWebPluginFactory*>(ptr)->create(QString(mimeType), *static_cast<QUrl*>(url), QString(argumentNames).split("|", QString::SkipEmptyParts), QString(argumentValues).split("|", QString::SkipEmptyParts)); | |
| +} | |
| + | |
| +void QWebPluginFactory_RefreshPlugins(void* ptr) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->refreshPlugins(); | |
| +} | |
| + | |
| +void QWebPluginFactory_RefreshPluginsDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::refreshPlugins(); | |
| +} | |
| + | |
| +void QWebPluginFactory_DestroyQWebPluginFactory(void* ptr) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->~QWebPluginFactory(); | |
| +} | |
| + | |
| +void QWebPluginFactory_DestroyQWebPluginFactoryDefault(void* ptr) | |
| +{ | |
| + | |
| +} | |
| + | |
| +void QWebPluginFactory_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPluginFactory_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPluginFactory_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPluginFactory_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPluginFactory_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebPluginFactory_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebPluginFactory_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPluginFactory_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebPluginFactory_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebPluginFactory*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QWebPluginFactory_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::deleteLater(); | |
| +} | |
| + | |
| +void QWebPluginFactory_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebPluginFactory_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QWebPluginFactory_Event(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebPluginFactory*>(ptr)->event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebPluginFactory_EventDefault(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebPluginFactory_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebPluginFactory*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebPluginFactory_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebPluginFactory_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebPluginFactory*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QWebPluginFactory_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebPluginFactory*>(ptr)->QWebPluginFactory::metaObject()); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_SetApplicationCacheQuota(void* ptr, long long quota) | |
| +{ | |
| + static_cast<QWebSecurityOrigin*>(ptr)->setApplicationCacheQuota(quota); | |
| +} | |
| + | |
| +void* QWebSecurityOrigin_NewQWebSecurityOrigin(void* url) | |
| +{ | |
| + return new QWebSecurityOrigin(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void* QWebSecurityOrigin_NewQWebSecurityOrigin2(void* other) | |
| +{ | |
| + return new QWebSecurityOrigin(*static_cast<QWebSecurityOrigin*>(other)); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_AddAccessWhitelistEntry(void* ptr, char* scheme, char* host, long long subdomainSetting) | |
| +{ | |
| + static_cast<QWebSecurityOrigin*>(ptr)->addAccessWhitelistEntry(QString(scheme), QString(host), static_cast<QWebSecurityOrigin::SubdomainSetting>(subdomainSetting)); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_QWebSecurityOrigin_AddLocalScheme(char* scheme) | |
| +{ | |
| + QWebSecurityOrigin::addLocalScheme(QString(scheme)); | |
| +} | |
| + | |
| +long long QWebSecurityOrigin_DatabaseQuota(void* ptr) | |
| +{ | |
| + return static_cast<QWebSecurityOrigin*>(ptr)->databaseQuota(); | |
| +} | |
| + | |
| +long long QWebSecurityOrigin_DatabaseUsage(void* ptr) | |
| +{ | |
| + return static_cast<QWebSecurityOrigin*>(ptr)->databaseUsage(); | |
| +} | |
| + | |
| +char* QWebSecurityOrigin_Host(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebSecurityOrigin*>(ptr)->host().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebSecurityOrigin_QWebSecurityOrigin_LocalSchemes() | |
| +{ | |
| + return const_cast<char*>(QWebSecurityOrigin::localSchemes().join("|").toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +int QWebSecurityOrigin_Port(void* ptr) | |
| +{ | |
| + return static_cast<QWebSecurityOrigin*>(ptr)->port(); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_RemoveAccessWhitelistEntry(void* ptr, char* scheme, char* host, long long subdomainSetting) | |
| +{ | |
| + static_cast<QWebSecurityOrigin*>(ptr)->removeAccessWhitelistEntry(QString(scheme), QString(host), static_cast<QWebSecurityOrigin::SubdomainSetting>(subdomainSetting)); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_QWebSecurityOrigin_RemoveLocalScheme(char* scheme) | |
| +{ | |
| + QWebSecurityOrigin::removeLocalScheme(QString(scheme)); | |
| +} | |
| + | |
| +char* QWebSecurityOrigin_Scheme(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebSecurityOrigin*>(ptr)->scheme().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_SetDatabaseQuota(void* ptr, long long quota) | |
| +{ | |
| + static_cast<QWebSecurityOrigin*>(ptr)->setDatabaseQuota(quota); | |
| +} | |
| + | |
| +void QWebSecurityOrigin_DestroyQWebSecurityOrigin(void* ptr) | |
| +{ | |
| + static_cast<QWebSecurityOrigin*>(ptr)->~QWebSecurityOrigin(); | |
| +} | |
| + | |
| +int QWebSettings_LocalContentCanAccessRemoteUrls_Type() | |
| +{ | |
| + return QWebSettings::LocalContentCanAccessRemoteUrls; | |
| +} | |
| + | |
| +int QWebSettings_DnsPrefetchEnabled_Type() | |
| +{ | |
| + return QWebSettings::DnsPrefetchEnabled; | |
| +} | |
| + | |
| +int QWebSettings_XSSAuditingEnabled_Type() | |
| +{ | |
| + return QWebSettings::XSSAuditingEnabled; | |
| +} | |
| + | |
| +int QWebSettings_AcceleratedCompositingEnabled_Type() | |
| +{ | |
| + return QWebSettings::AcceleratedCompositingEnabled; | |
| +} | |
| + | |
| +int QWebSettings_SpatialNavigationEnabled_Type() | |
| +{ | |
| + return QWebSettings::SpatialNavigationEnabled; | |
| +} | |
| + | |
| +int QWebSettings_LocalContentCanAccessFileUrls_Type() | |
| +{ | |
| + return QWebSettings::LocalContentCanAccessFileUrls; | |
| +} | |
| + | |
| +int QWebSettings_TiledBackingStoreEnabled_Type() | |
| +{ | |
| + return QWebSettings::TiledBackingStoreEnabled; | |
| +} | |
| + | |
| +int QWebSettings_FrameFlatteningEnabled_Type() | |
| +{ | |
| + return QWebSettings::FrameFlatteningEnabled; | |
| +} | |
| + | |
| +int QWebSettings_SiteSpecificQuirksEnabled_Type() | |
| +{ | |
| + return QWebSettings::SiteSpecificQuirksEnabled; | |
| +} | |
| + | |
| +int QWebSettings_JavascriptCanCloseWindows_Type() | |
| +{ | |
| + return QWebSettings::JavascriptCanCloseWindows; | |
| +} | |
| + | |
| +int QWebSettings_WebGLEnabled_Type() | |
| +{ | |
| + return QWebSettings::WebGLEnabled; | |
| +} | |
| + | |
| +int QWebSettings_CSSRegionsEnabled_Type() | |
| +{ | |
| + return QWebSettings::CSSRegionsEnabled; | |
| +} | |
| + | |
| +int QWebSettings_HyperlinkAuditingEnabled_Type() | |
| +{ | |
| + return QWebSettings::HyperlinkAuditingEnabled; | |
| +} | |
| + | |
| +int QWebSettings_CSSGridLayoutEnabled_Type() | |
| +{ | |
| + return QWebSettings::CSSGridLayoutEnabled; | |
| +} | |
| + | |
| +int QWebSettings_ScrollAnimatorEnabled_Type() | |
| +{ | |
| + return QWebSettings::ScrollAnimatorEnabled; | |
| +} | |
| + | |
| +int QWebSettings_CaretBrowsingEnabled_Type() | |
| +{ | |
| + return QWebSettings::CaretBrowsingEnabled; | |
| +} | |
| + | |
| +int QWebSettings_NotificationsEnabled_Type() | |
| +{ | |
| + return QWebSettings::NotificationsEnabled; | |
| +} | |
| + | |
| +int QWebSettings_WebAudioEnabled_Type() | |
| +{ | |
| + return QWebSettings::WebAudioEnabled; | |
| +} | |
| + | |
| +int QWebSettings_Accelerated2dCanvasEnabled_Type() | |
| +{ | |
| + return QWebSettings::Accelerated2dCanvasEnabled; | |
| +} | |
| + | |
| +void QWebSettings_ResetAttribute(void* ptr, long long attribute) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->resetAttribute(static_cast<QWebSettings::WebAttribute>(attribute)); | |
| +} | |
| + | |
| +void QWebSettings_SetAttribute(void* ptr, long long attribute, char on) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setAttribute(static_cast<QWebSettings::WebAttribute>(attribute), on != 0); | |
| +} | |
| + | |
| +char QWebSettings_TestAttribute(void* ptr, long long attribute) | |
| +{ | |
| + return static_cast<QWebSettings*>(ptr)->testAttribute(static_cast<QWebSettings::WebAttribute>(attribute)); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_ClearIconDatabase() | |
| +{ | |
| + QWebSettings::clearIconDatabase(); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_ClearMemoryCaches() | |
| +{ | |
| + QWebSettings::clearMemoryCaches(); | |
| +} | |
| + | |
| +char* QWebSettings_CssMediaType(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebSettings*>(ptr)->cssMediaType().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebSettings_DefaultTextEncoding(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebSettings*>(ptr)->defaultTextEncoding().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_EnablePersistentStorage(char* path) | |
| +{ | |
| + QWebSettings::enablePersistentStorage(QString(path)); | |
| +} | |
| + | |
| +char* QWebSettings_FontFamily(void* ptr, long long which) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebSettings*>(ptr)->fontFamily(static_cast<QWebSettings::FontFamily>(which)).toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +int QWebSettings_FontSize(void* ptr, long long ty) | |
| +{ | |
| + return static_cast<QWebSettings*>(ptr)->fontSize(static_cast<QWebSettings::FontSize>(ty)); | |
| +} | |
| + | |
| +void* QWebSettings_QWebSettings_GlobalSettings() | |
| +{ | |
| + return QWebSettings::globalSettings(); | |
| +} | |
| + | |
| +char* QWebSettings_QWebSettings_IconDatabasePath() | |
| +{ | |
| + return const_cast<char*>(QWebSettings::iconDatabasePath().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebSettings_QWebSettings_IconForUrl(void* url) | |
| +{ | |
| + return new QIcon(QWebSettings::iconForUrl(*static_cast<QUrl*>(url))); | |
| +} | |
| + | |
| +char* QWebSettings_LocalStoragePath(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebSettings*>(ptr)->localStoragePath().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +int QWebSettings_QWebSettings_MaximumPagesInCache() | |
| +{ | |
| + return QWebSettings::maximumPagesInCache(); | |
| +} | |
| + | |
| +long long QWebSettings_QWebSettings_OfflineStorageDefaultQuota() | |
| +{ | |
| + return QWebSettings::offlineStorageDefaultQuota(); | |
| +} | |
| + | |
| +char* QWebSettings_QWebSettings_OfflineStoragePath() | |
| +{ | |
| + return const_cast<char*>(QWebSettings::offlineStoragePath().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebSettings_QWebSettings_OfflineWebApplicationCachePath() | |
| +{ | |
| + return const_cast<char*>(QWebSettings::offlineWebApplicationCachePath().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +long long QWebSettings_QWebSettings_OfflineWebApplicationCacheQuota() | |
| +{ | |
| + return QWebSettings::offlineWebApplicationCacheQuota(); | |
| +} | |
| + | |
| +void QWebSettings_ResetFontFamily(void* ptr, long long which) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->resetFontFamily(static_cast<QWebSettings::FontFamily>(which)); | |
| +} | |
| + | |
| +void QWebSettings_ResetFontSize(void* ptr, long long ty) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->resetFontSize(static_cast<QWebSettings::FontSize>(ty)); | |
| +} | |
| + | |
| +void QWebSettings_SetCSSMediaType(void* ptr, char* ty) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setCSSMediaType(QString(ty)); | |
| +} | |
| + | |
| +void QWebSettings_SetDefaultTextEncoding(void* ptr, char* encoding) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setDefaultTextEncoding(QString(encoding)); | |
| +} | |
| + | |
| +void QWebSettings_SetFontFamily(void* ptr, long long which, char* family) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setFontFamily(static_cast<QWebSettings::FontFamily>(which), QString(family)); | |
| +} | |
| + | |
| +void QWebSettings_SetFontSize(void* ptr, long long ty, int size) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setFontSize(static_cast<QWebSettings::FontSize>(ty), size); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetIconDatabasePath(char* path) | |
| +{ | |
| + QWebSettings::setIconDatabasePath(QString(path)); | |
| +} | |
| + | |
| +void QWebSettings_SetLocalStoragePath(void* ptr, char* path) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setLocalStoragePath(QString(path)); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetMaximumPagesInCache(int pages) | |
| +{ | |
| + QWebSettings::setMaximumPagesInCache(pages); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity) | |
| +{ | |
| + QWebSettings::setObjectCacheCapacities(cacheMinDeadCapacity, cacheMaxDead, totalCapacity); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetOfflineStorageDefaultQuota(long long maximumSize) | |
| +{ | |
| + QWebSettings::setOfflineStorageDefaultQuota(maximumSize); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetOfflineStoragePath(char* path) | |
| +{ | |
| + QWebSettings::setOfflineStoragePath(QString(path)); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetOfflineWebApplicationCachePath(char* path) | |
| +{ | |
| + QWebSettings::setOfflineWebApplicationCachePath(QString(path)); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetOfflineWebApplicationCacheQuota(long long maximumSize) | |
| +{ | |
| + QWebSettings::setOfflineWebApplicationCacheQuota(maximumSize); | |
| +} | |
| + | |
| +void QWebSettings_SetThirdPartyCookiePolicy(void* ptr, long long policy) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setThirdPartyCookiePolicy(static_cast<QWebSettings::ThirdPartyCookiePolicy>(policy)); | |
| +} | |
| + | |
| +void QWebSettings_SetUserStyleSheetUrl(void* ptr, void* location) | |
| +{ | |
| + static_cast<QWebSettings*>(ptr)->setUserStyleSheetUrl(*static_cast<QUrl*>(location)); | |
| +} | |
| + | |
| +void QWebSettings_QWebSettings_SetWebGraphic(long long ty, void* graphic) | |
| +{ | |
| + QWebSettings::setWebGraphic(static_cast<QWebSettings::WebGraphic>(ty), *static_cast<QPixmap*>(graphic)); | |
| +} | |
| + | |
| +long long QWebSettings_ThirdPartyCookiePolicy(void* ptr) | |
| +{ | |
| + return static_cast<QWebSettings*>(ptr)->thirdPartyCookiePolicy(); | |
| +} | |
| + | |
| +void* QWebSettings_UserStyleSheetUrl(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebSettings*>(ptr)->userStyleSheetUrl()); | |
| +} | |
| + | |
| +void* QWebSettings_QWebSettings_WebGraphic(long long ty) | |
| +{ | |
| + return new QPixmap(QWebSettings::webGraphic(static_cast<QWebSettings::WebGraphic>(ty))); | |
| +} | |
| + | |
| +class MyQWebView: public QWebView | |
| +{ | |
| +public: | |
| + MyQWebView(QWidget *parent) : QWebView(parent) {}; | |
| + void back() { callbackQWebView_Back(this); }; | |
| + void changeEvent(QEvent * e) { callbackQWebView_ChangeEvent(this, e); }; | |
| + void contextMenuEvent(QContextMenuEvent * ev) { callbackQWebView_ContextMenuEvent(this, ev); }; | |
| + QWebView * createWindow(QWebPage::WebWindowType ty) { return static_cast<QWebView*>(callbackQWebView_CreateWindow(this, ty)); }; | |
| + void dragEnterEvent(QDragEnterEvent * ev) { callbackQWebView_DragEnterEvent(this, ev); }; | |
| + void dragLeaveEvent(QDragLeaveEvent * ev) { callbackQWebView_DragLeaveEvent(this, ev); }; | |
| + void dragMoveEvent(QDragMoveEvent * ev) { callbackQWebView_DragMoveEvent(this, ev); }; | |
| + void dropEvent(QDropEvent * ev) { callbackQWebView_DropEvent(this, ev); }; | |
| + bool event(QEvent * e) { return callbackQWebView_Event(this, e) != 0; }; | |
| + void focusInEvent(QFocusEvent * ev) { callbackQWebView_FocusInEvent(this, ev); }; | |
| + bool focusNextPrevChild(bool next) { return callbackQWebView_FocusNextPrevChild(this, next) != 0; }; | |
| + void focusOutEvent(QFocusEvent * ev) { callbackQWebView_FocusOutEvent(this, ev); }; | |
| + void forward() { callbackQWebView_Forward(this); }; | |
| + void Signal_IconChanged() { callbackQWebView_IconChanged(this); }; | |
| + void inputMethodEvent(QInputMethodEvent * e) { callbackQWebView_InputMethodEvent(this, e); }; | |
| + void keyPressEvent(QKeyEvent * ev) { callbackQWebView_KeyPressEvent(this, ev); }; | |
| + void keyReleaseEvent(QKeyEvent * ev) { callbackQWebView_KeyReleaseEvent(this, ev); }; | |
| + void Signal_LinkClicked(const QUrl & url) { callbackQWebView_LinkClicked(this, const_cast<QUrl*>(&url)); }; | |
| + void Signal_LoadFinished(bool ok) { callbackQWebView_LoadFinished(this, ok); }; | |
| + void Signal_LoadProgress(int progress) { callbackQWebView_LoadProgress(this, progress); }; | |
| + void Signal_LoadStarted() { callbackQWebView_LoadStarted(this); }; | |
| + void mouseDoubleClickEvent(QMouseEvent * ev) { callbackQWebView_MouseDoubleClickEvent(this, ev); }; | |
| + void mouseMoveEvent(QMouseEvent * ev) { callbackQWebView_MouseMoveEvent(this, ev); }; | |
| + void mousePressEvent(QMouseEvent * ev) { callbackQWebView_MousePressEvent(this, ev); }; | |
| + void mouseReleaseEvent(QMouseEvent * ev) { callbackQWebView_MouseReleaseEvent(this, ev); }; | |
| + void print(QPrinter * printer) const { callbackQWebView_Print(const_cast<MyQWebView*>(this), printer); }; | |
| + void reload() { callbackQWebView_Reload(this); }; | |
| + void Signal_SelectionChanged() { callbackQWebView_SelectionChanged(this); }; | |
| + void Signal_StatusBarMessage(const QString & text) { callbackQWebView_StatusBarMessage(this, const_cast<char*>(text.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void stop() { callbackQWebView_Stop(this); }; | |
| + void Signal_TitleChanged(const QString & title) { callbackQWebView_TitleChanged(this, const_cast<char*>(title.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void Signal_UrlChanged(const QUrl & url) { callbackQWebView_UrlChanged(this, const_cast<QUrl*>(&url)); }; | |
| + void wheelEvent(QWheelEvent * ev) { callbackQWebView_WheelEvent(this, ev); }; | |
| + ~MyQWebView() { callbackQWebView_DestroyQWebView(this); }; | |
| + void actionEvent(QActionEvent * event) { callbackQWebView_ActionEvent(this, event); }; | |
| + void enterEvent(QEvent * event) { callbackQWebView_EnterEvent(this, event); }; | |
| + void hideEvent(QHideEvent * event) { callbackQWebView_HideEvent(this, event); }; | |
| + void leaveEvent(QEvent * event) { callbackQWebView_LeaveEvent(this, event); }; | |
| + QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWebView_MinimumSizeHint(const_cast<MyQWebView*>(this))); }; | |
| + void moveEvent(QMoveEvent * event) { callbackQWebView_MoveEvent(this, event); }; | |
| + void setEnabled(bool vbo) { callbackQWebView_SetEnabled(this, vbo); }; | |
| + void setStyleSheet(const QString & styleSheet) { callbackQWebView_SetStyleSheet(this, const_cast<char*>(styleSheet.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void setVisible(bool visible) { callbackQWebView_SetVisible(this, visible); }; | |
| + void setWindowModified(bool vbo) { callbackQWebView_SetWindowModified(this, vbo); }; | |
| + void setWindowTitle(const QString & vqs) { callbackQWebView_SetWindowTitle(this, const_cast<char*>(vqs.toUtf8().prepend("WHITESPACE").constData()+10)); }; | |
| + void showEvent(QShowEvent * event) { callbackQWebView_ShowEvent(this, event); }; | |
| + bool close() { return callbackQWebView_Close(this) != 0; }; | |
| + void closeEvent(QCloseEvent * event) { callbackQWebView_CloseEvent(this, event); }; | |
| + bool hasHeightForWidth() const { return callbackQWebView_HasHeightForWidth(const_cast<MyQWebView*>(this)) != 0; }; | |
| + int heightForWidth(int w) const { return callbackQWebView_HeightForWidth(const_cast<MyQWebView*>(this), w); }; | |
| + void hide() { callbackQWebView_Hide(this); }; | |
| + void lower() { callbackQWebView_Lower(this); }; | |
| + bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWebView_NativeEvent(this, const_cast<char*>(eventType.toHex().prepend("WHITESPACE").constData()+10), message, *result) != 0; }; | |
| + void raise() { callbackQWebView_Raise(this); }; | |
| + void repaint() { callbackQWebView_Repaint(this); }; | |
| + void setDisabled(bool disable) { callbackQWebView_SetDisabled(this, disable); }; | |
| + void setFocus() { callbackQWebView_SetFocus2(this); }; | |
| + void setHidden(bool hidden) { callbackQWebView_SetHidden(this, hidden); }; | |
| + void show() { callbackQWebView_Show(this); }; | |
| + void showFullScreen() { callbackQWebView_ShowFullScreen(this); }; | |
| + void showMaximized() { callbackQWebView_ShowMaximized(this); }; | |
| + void showMinimized() { callbackQWebView_ShowMinimized(this); }; | |
| + void showNormal() { callbackQWebView_ShowNormal(this); }; | |
| + void tabletEvent(QTabletEvent * event) { callbackQWebView_TabletEvent(this, event); }; | |
| + void update() { callbackQWebView_Update(this); }; | |
| + void updateMicroFocus() { callbackQWebView_UpdateMicroFocus(this); }; | |
| + void timerEvent(QTimerEvent * event) { callbackQWebView_TimerEvent(this, event); }; | |
| + void childEvent(QChildEvent * event) { callbackQWebView_ChildEvent(this, event); }; | |
| + void connectNotify(const QMetaMethod & sign) { callbackQWebView_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + void customEvent(QEvent * event) { callbackQWebView_CustomEvent(this, event); }; | |
| + void deleteLater() { callbackQWebView_DeleteLater(this); }; | |
| + void disconnectNotify(const QMetaMethod & sign) { callbackQWebView_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); }; | |
| + bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebView_EventFilter(this, watched, event) != 0; }; | |
| + const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebView_MetaObject(const_cast<MyQWebView*>(this))); }; | |
| +}; | |
| + | |
| +char QWebView_HasSelection(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->hasSelection(); | |
| +} | |
| + | |
| +void* QWebView_Icon(void* ptr) | |
| +{ | |
| + return new QIcon(static_cast<QWebView*>(ptr)->icon()); | |
| +} | |
| + | |
| +char QWebView_IsModified(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->isModified(); | |
| +} | |
| + | |
| +void QWebView_Load2(void* ptr, void* request, long long operation, char* body) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->load(*static_cast<QNetworkRequest*>(request), static_cast<QNetworkAccessManager::Operation>(operation), QByteArray::fromHex(QString(body).toUtf8())); | |
| +} | |
| + | |
| +char* QWebView_SelectedHtml(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebView*>(ptr)->selectedHtml().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +char* QWebView_SelectedText(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebView*>(ptr)->selectedText().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void QWebView_SetUrl(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setUrl(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebView_SetZoomFactor(void* ptr, double factor) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setZoomFactor(factor); | |
| +} | |
| + | |
| +char* QWebView_Title(void* ptr) | |
| +{ | |
| + return const_cast<char*>(static_cast<QWebView*>(ptr)->title().toUtf8().prepend("WHITESPACE").constData()+10); | |
| +} | |
| + | |
| +void* QWebView_Url(void* ptr) | |
| +{ | |
| + return new QUrl(static_cast<QWebView*>(ptr)->url()); | |
| +} | |
| + | |
| +double QWebView_ZoomFactor(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->zoomFactor(); | |
| +} | |
| + | |
| +void* QWebView_NewQWebView(void* parent) | |
| +{ | |
| + return new MyQWebView(static_cast<QWidget*>(parent)); | |
| +} | |
| + | |
| +void QWebView_Back(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "back"); | |
| +} | |
| + | |
| +void QWebView_ChangeEvent(void* ptr, void* e) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->changeEvent(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +void QWebView_ChangeEventDefault(void* ptr, void* e) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::changeEvent(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +void QWebView_ContextMenuEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->contextMenuEvent(static_cast<QContextMenuEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_ContextMenuEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::contextMenuEvent(static_cast<QContextMenuEvent*>(ev)); | |
| +} | |
| + | |
| +void* QWebView_CreateWindow(void* ptr, long long ty) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->createWindow(static_cast<QWebPage::WebWindowType>(ty)); | |
| +} | |
| + | |
| +void* QWebView_CreateWindowDefault(void* ptr, long long ty) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::createWindow(static_cast<QWebPage::WebWindowType>(ty)); | |
| +} | |
| + | |
| +void QWebView_DragEnterEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->dragEnterEvent(static_cast<QDragEnterEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DragEnterEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::dragEnterEvent(static_cast<QDragEnterEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DragLeaveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->dragLeaveEvent(static_cast<QDragLeaveEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DragLeaveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::dragLeaveEvent(static_cast<QDragLeaveEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DragMoveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->dragMoveEvent(static_cast<QDragMoveEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DragMoveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::dragMoveEvent(static_cast<QDragMoveEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DropEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->dropEvent(static_cast<QDropEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DropEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::dropEvent(static_cast<QDropEvent*>(ev)); | |
| +} | |
| + | |
| +char QWebView_Event(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebView_EventDefault(void* ptr, void* e) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::event(static_cast<QEvent*>(e)); | |
| +} | |
| + | |
| +char QWebView_FindText(void* ptr, char* subString, long long options) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->findText(QString(subString), static_cast<QWebPage::FindFlag>(options)); | |
| +} | |
| + | |
| +void QWebView_FocusInEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_FocusInEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::focusInEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +char QWebView_FocusNextPrevChild(void* ptr, char next) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +char QWebView_FocusNextPrevChildDefault(void* ptr, char next) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::focusNextPrevChild(next != 0); | |
| +} | |
| + | |
| +void QWebView_FocusOutEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_FocusOutEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::focusOutEvent(static_cast<QFocusEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_Forward(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "forward"); | |
| +} | |
| + | |
| +void* QWebView_History(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->history(); | |
| +} | |
| + | |
| +void QWebView_ConnectIconChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)()>(&QWebView::iconChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)()>(&MyQWebView::Signal_IconChanged)); | |
| +} | |
| + | |
| +void QWebView_DisconnectIconChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)()>(&QWebView::iconChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)()>(&MyQWebView::Signal_IconChanged)); | |
| +} | |
| + | |
| +void QWebView_IconChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->iconChanged(); | |
| +} | |
| + | |
| +void QWebView_InputMethodEvent(void* ptr, void* e) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(e)); | |
| +} | |
| + | |
| +void QWebView_InputMethodEventDefault(void* ptr, void* e) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::inputMethodEvent(static_cast<QInputMethodEvent*>(e)); | |
| +} | |
| + | |
| +void* QWebView_InputMethodQuery(void* ptr, long long property) | |
| +{ | |
| + return new QVariant(static_cast<QWebView*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(property))); | |
| +} | |
| + | |
| +void QWebView_KeyPressEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_KeyPressEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::keyPressEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_KeyReleaseEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_KeyReleaseEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::keyReleaseEvent(static_cast<QKeyEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_ConnectLinkClicked(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QUrl &)>(&QWebView::linkClicked), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QUrl &)>(&MyQWebView::Signal_LinkClicked)); | |
| +} | |
| + | |
| +void QWebView_DisconnectLinkClicked(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QUrl &)>(&QWebView::linkClicked), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QUrl &)>(&MyQWebView::Signal_LinkClicked)); | |
| +} | |
| + | |
| +void QWebView_LinkClicked(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->linkClicked(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebView_Load(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->load(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebView_ConnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(bool)>(&QWebView::loadFinished), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(bool)>(&MyQWebView::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QWebView_DisconnectLoadFinished(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(bool)>(&QWebView::loadFinished), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(bool)>(&MyQWebView::Signal_LoadFinished)); | |
| +} | |
| + | |
| +void QWebView_LoadFinished(void* ptr, char ok) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->loadFinished(ok != 0); | |
| +} | |
| + | |
| +void QWebView_ConnectLoadProgress(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(int)>(&QWebView::loadProgress), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(int)>(&MyQWebView::Signal_LoadProgress)); | |
| +} | |
| + | |
| +void QWebView_DisconnectLoadProgress(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(int)>(&QWebView::loadProgress), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(int)>(&MyQWebView::Signal_LoadProgress)); | |
| +} | |
| + | |
| +void QWebView_LoadProgress(void* ptr, int progress) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->loadProgress(progress); | |
| +} | |
| + | |
| +void QWebView_ConnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)()>(&QWebView::loadStarted), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)()>(&MyQWebView::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QWebView_DisconnectLoadStarted(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)()>(&QWebView::loadStarted), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)()>(&MyQWebView::Signal_LoadStarted)); | |
| +} | |
| + | |
| +void QWebView_LoadStarted(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->loadStarted(); | |
| +} | |
| + | |
| +void QWebView_MouseDoubleClickEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->mouseDoubleClickEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MouseDoubleClickEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MouseMoveEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->mouseMoveEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MouseMoveEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::mouseMoveEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MousePressEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->mousePressEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MousePressEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::mousePressEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MouseReleaseEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->mouseReleaseEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_MouseReleaseEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::mouseReleaseEvent(static_cast<QMouseEvent*>(ev)); | |
| +} | |
| + | |
| +void* QWebView_Page(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->page(); | |
| +} | |
| + | |
| +void* QWebView_PageAction(void* ptr, long long action) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->pageAction(static_cast<QWebPage::WebAction>(action)); | |
| +} | |
| + | |
| +void QWebView_PaintEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->paintEvent(static_cast<QPaintEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_Print(void* ptr, void* printer) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "print", Q_ARG(QPrinter*, static_cast<QPrinter*>(printer))); | |
| +} | |
| + | |
| +void QWebView_Reload(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "reload"); | |
| +} | |
| + | |
| +long long QWebView_RenderHints(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->renderHints(); | |
| +} | |
| + | |
| +void QWebView_ResizeEvent(void* ptr, void* e) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->resizeEvent(static_cast<QResizeEvent*>(e)); | |
| +} | |
| + | |
| +void QWebView_ConnectSelectionChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)()>(&QWebView::selectionChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)()>(&MyQWebView::Signal_SelectionChanged)); | |
| +} | |
| + | |
| +void QWebView_DisconnectSelectionChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)()>(&QWebView::selectionChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)()>(&MyQWebView::Signal_SelectionChanged)); | |
| +} | |
| + | |
| +void QWebView_SelectionChanged(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->selectionChanged(); | |
| +} | |
| + | |
| +void QWebView_SetContent(void* ptr, char* data, char* mimeType, void* baseUrl) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setContent(QByteArray::fromHex(QString(data).toUtf8()), QString(mimeType), *static_cast<QUrl*>(baseUrl)); | |
| +} | |
| + | |
| +void QWebView_SetHtml(void* ptr, char* html, void* baseUrl) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setHtml(QString(html), *static_cast<QUrl*>(baseUrl)); | |
| +} | |
| + | |
| +void QWebView_SetPage(void* ptr, void* page) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setPage(static_cast<QWebPage*>(page)); | |
| +} | |
| + | |
| +void QWebView_SetRenderHint(void* ptr, long long hint, char enabled) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setRenderHint(static_cast<QPainter::RenderHint>(hint), enabled != 0); | |
| +} | |
| + | |
| +void QWebView_SetRenderHints(void* ptr, long long hints) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setRenderHints(static_cast<QPainter::RenderHint>(hints)); | |
| +} | |
| + | |
| +void QWebView_SetTextSizeMultiplier(void* ptr, double factor) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->setTextSizeMultiplier(factor); | |
| +} | |
| + | |
| +void* QWebView_Settings(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->settings(); | |
| +} | |
| + | |
| +void* QWebView_SizeHint(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebView*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void QWebView_ConnectStatusBarMessage(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QString &)>(&QWebView::statusBarMessage), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QString &)>(&MyQWebView::Signal_StatusBarMessage)); | |
| +} | |
| + | |
| +void QWebView_DisconnectStatusBarMessage(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QString &)>(&QWebView::statusBarMessage), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QString &)>(&MyQWebView::Signal_StatusBarMessage)); | |
| +} | |
| + | |
| +void QWebView_StatusBarMessage(void* ptr, char* text) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->statusBarMessage(QString(text)); | |
| +} | |
| + | |
| +void QWebView_Stop(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "stop"); | |
| +} | |
| + | |
| +double QWebView_TextSizeMultiplier(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->textSizeMultiplier(); | |
| +} | |
| + | |
| +void QWebView_ConnectTitleChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QString &)>(&QWebView::titleChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QString &)>(&MyQWebView::Signal_TitleChanged)); | |
| +} | |
| + | |
| +void QWebView_DisconnectTitleChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QString &)>(&QWebView::titleChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QString &)>(&MyQWebView::Signal_TitleChanged)); | |
| +} | |
| + | |
| +void QWebView_TitleChanged(void* ptr, char* title) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->titleChanged(QString(title)); | |
| +} | |
| + | |
| +void QWebView_TriggerPageAction(void* ptr, long long action, char checked) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->triggerPageAction(static_cast<QWebPage::WebAction>(action), checked != 0); | |
| +} | |
| + | |
| +void QWebView_ConnectUrlChanged(void* ptr) | |
| +{ | |
| + QObject::connect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QUrl &)>(&QWebView::urlChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QUrl &)>(&MyQWebView::Signal_UrlChanged)); | |
| +} | |
| + | |
| +void QWebView_DisconnectUrlChanged(void* ptr) | |
| +{ | |
| + QObject::disconnect(static_cast<QWebView*>(ptr), static_cast<void (QWebView::*)(const QUrl &)>(&QWebView::urlChanged), static_cast<MyQWebView*>(ptr), static_cast<void (MyQWebView::*)(const QUrl &)>(&MyQWebView::Signal_UrlChanged)); | |
| +} | |
| + | |
| +void QWebView_UrlChanged(void* ptr, void* url) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->urlChanged(*static_cast<QUrl*>(url)); | |
| +} | |
| + | |
| +void QWebView_WheelEvent(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->wheelEvent(static_cast<QWheelEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_WheelEventDefault(void* ptr, void* ev) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::wheelEvent(static_cast<QWheelEvent*>(ev)); | |
| +} | |
| + | |
| +void QWebView_DestroyQWebView(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->~QWebView(); | |
| +} | |
| + | |
| +void QWebView_DestroyQWebViewDefault(void* ptr) | |
| +{ | |
| + | |
| +} | |
| + | |
| +void QWebView_ActionEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->actionEvent(static_cast<QActionEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_ActionEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::actionEvent(static_cast<QActionEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_EnterEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->enterEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_EnterEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::enterEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_HideEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->hideEvent(static_cast<QHideEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_HideEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::hideEvent(static_cast<QHideEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_LeaveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->leaveEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_LeaveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::leaveEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebView_MinimumSizeHint(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebView*>(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void* QWebView_MinimumSizeHintDefault(void* ptr) | |
| +{ | |
| + return ({ QSize tmpValue = static_cast<QWebView*>(ptr)->QWebView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); | |
| +} | |
| + | |
| +void QWebView_MoveEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->moveEvent(static_cast<QMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_MoveEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::moveEvent(static_cast<QMoveEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_SetEnabled(void* ptr, char vbo) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); | |
| +} | |
| + | |
| +void QWebView_SetEnabledDefault(void* ptr, char vbo) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setEnabled(vbo != 0); | |
| +} | |
| + | |
| +void QWebView_SetStyleSheet(void* ptr, char* styleSheet) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet))); | |
| +} | |
| + | |
| +void QWebView_SetStyleSheetDefault(void* ptr, char* styleSheet) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setStyleSheet(QString(styleSheet)); | |
| +} | |
| + | |
| +void QWebView_SetVisible(void* ptr, char visible) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setVisible", Q_ARG(bool, visible != 0)); | |
| +} | |
| + | |
| +void QWebView_SetVisibleDefault(void* ptr, char visible) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setVisible(visible != 0); | |
| +} | |
| + | |
| +void QWebView_SetWindowModified(void* ptr, char vbo) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); | |
| +} | |
| + | |
| +void QWebView_SetWindowModifiedDefault(void* ptr, char vbo) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setWindowModified(vbo != 0); | |
| +} | |
| + | |
| +void QWebView_SetWindowTitle(void* ptr, char* vqs) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs))); | |
| +} | |
| + | |
| +void QWebView_SetWindowTitleDefault(void* ptr, char* vqs) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setWindowTitle(QString(vqs)); | |
| +} | |
| + | |
| +void QWebView_ShowEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->showEvent(static_cast<QShowEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_ShowEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::showEvent(static_cast<QShowEvent*>(event)); | |
| +} | |
| + | |
| +char QWebView_Close(void* ptr) | |
| +{ | |
| + bool returnArg; | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "close", Q_RETURN_ARG(bool, returnArg)); | |
| + return returnArg; | |
| +} | |
| + | |
| +char QWebView_CloseDefault(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::close(); | |
| +} | |
| + | |
| +void QWebView_CloseEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->closeEvent(static_cast<QCloseEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_CloseEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::closeEvent(static_cast<QCloseEvent*>(event)); | |
| +} | |
| + | |
| +char QWebView_HasHeightForWidth(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->hasHeightForWidth(); | |
| +} | |
| + | |
| +char QWebView_HasHeightForWidthDefault(void* ptr) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::hasHeightForWidth(); | |
| +} | |
| + | |
| +int QWebView_HeightForWidth(void* ptr, int w) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->heightForWidth(w); | |
| +} | |
| + | |
| +int QWebView_HeightForWidthDefault(void* ptr, int w) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::heightForWidth(w); | |
| +} | |
| + | |
| +void QWebView_Hide(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "hide"); | |
| +} | |
| + | |
| +void QWebView_HideDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::hide(); | |
| +} | |
| + | |
| +void QWebView_Lower(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "lower"); | |
| +} | |
| + | |
| +void QWebView_LowerDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::lower(); | |
| +} | |
| + | |
| +char QWebView_NativeEvent(void* ptr, char* eventType, void* message, long result) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); | |
| +} | |
| + | |
| +char QWebView_NativeEventDefault(void* ptr, char* eventType, void* message, long result) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::nativeEvent(QByteArray::fromHex(QString(eventType).toUtf8()), message, &result); | |
| +} | |
| + | |
| +void QWebView_Raise(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "raise"); | |
| +} | |
| + | |
| +void QWebView_RaiseDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::raise(); | |
| +} | |
| + | |
| +void QWebView_Repaint(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "repaint"); | |
| +} | |
| + | |
| +void QWebView_RepaintDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::repaint(); | |
| +} | |
| + | |
| +void QWebView_SetDisabled(void* ptr, char disable) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setDisabled", Q_ARG(bool, disable != 0)); | |
| +} | |
| + | |
| +void QWebView_SetDisabledDefault(void* ptr, char disable) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setDisabled(disable != 0); | |
| +} | |
| + | |
| +void QWebView_SetFocus2(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setFocus"); | |
| +} | |
| + | |
| +void QWebView_SetFocus2Default(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setFocus(); | |
| +} | |
| + | |
| +void QWebView_SetHidden(void* ptr, char hidden) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "setHidden", Q_ARG(bool, hidden != 0)); | |
| +} | |
| + | |
| +void QWebView_SetHiddenDefault(void* ptr, char hidden) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::setHidden(hidden != 0); | |
| +} | |
| + | |
| +void QWebView_Show(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "show"); | |
| +} | |
| + | |
| +void QWebView_ShowDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::show(); | |
| +} | |
| + | |
| +void QWebView_ShowFullScreen(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "showFullScreen"); | |
| +} | |
| + | |
| +void QWebView_ShowFullScreenDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::showFullScreen(); | |
| +} | |
| + | |
| +void QWebView_ShowMaximized(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "showMaximized"); | |
| +} | |
| + | |
| +void QWebView_ShowMaximizedDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::showMaximized(); | |
| +} | |
| + | |
| +void QWebView_ShowMinimized(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "showMinimized"); | |
| +} | |
| + | |
| +void QWebView_ShowMinimizedDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::showMinimized(); | |
| +} | |
| + | |
| +void QWebView_ShowNormal(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "showNormal"); | |
| +} | |
| + | |
| +void QWebView_ShowNormalDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::showNormal(); | |
| +} | |
| + | |
| +void QWebView_TabletEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->tabletEvent(static_cast<QTabletEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_TabletEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::tabletEvent(static_cast<QTabletEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_Update(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "update"); | |
| +} | |
| + | |
| +void QWebView_UpdateDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::update(); | |
| +} | |
| + | |
| +void QWebView_UpdateMicroFocus(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "updateMicroFocus"); | |
| +} | |
| + | |
| +void QWebView_UpdateMicroFocusDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::updateMicroFocus(); | |
| +} | |
| + | |
| +void QWebView_TimerEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_TimerEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::timerEvent(static_cast<QTimerEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_ChildEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_ChildEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::childEvent(static_cast<QChildEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_ConnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebView_ConnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::connectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebView_CustomEvent(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_CustomEventDefault(void* ptr, void* event) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::customEvent(static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void QWebView_DeleteLater(void* ptr) | |
| +{ | |
| + QMetaObject::invokeMethod(static_cast<QWebView*>(ptr), "deleteLater"); | |
| +} | |
| + | |
| +void QWebView_DeleteLaterDefault(void* ptr) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::deleteLater(); | |
| +} | |
| + | |
| +void QWebView_DisconnectNotify(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +void QWebView_DisconnectNotifyDefault(void* ptr, void* sign) | |
| +{ | |
| + static_cast<QWebView*>(ptr)->QWebView::disconnectNotify(*static_cast<QMetaMethod*>(sign)); | |
| +} | |
| + | |
| +char QWebView_EventFilter(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +char QWebView_EventFilterDefault(void* ptr, void* watched, void* event) | |
| +{ | |
| + return static_cast<QWebView*>(ptr)->QWebView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event)); | |
| +} | |
| + | |
| +void* QWebView_MetaObject(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebView*>(ptr)->metaObject()); | |
| +} | |
| + | |
| +void* QWebView_MetaObjectDefault(void* ptr) | |
| +{ | |
| + return const_cast<QMetaObject*>(static_cast<QWebView*>(ptr)->QWebView::metaObject()); | |
| +} | |
| + | |
| diff -urN qt.orig/webkit/webkit.go qt/webkit/webkit.go | |
| --- qt.orig/webkit/webkit.go 1970-01-01 01:00:00.000000000 +0100 | |
| +++ qt/webkit/webkit.go 2016-11-01 02:08:20.718550729 +0100 | |
| @@ -0,0 +1,14027 @@ | |
| +// +build !minimal | |
| + | |
| +package webkit | |
| + | |
| +//#include <stdint.h> | |
| +//#include <stdlib.h> | |
| +//#include "webkit.h" | |
| +import "C" | |
| +import ( | |
| + "encoding/hex" | |
| + "fmt" | |
| + "github.com/therecipe/qt" | |
| + "github.com/therecipe/qt/core" | |
| + "github.com/therecipe/qt/gui" | |
| + "github.com/therecipe/qt/network" | |
| + "github.com/therecipe/qt/printsupport" | |
| + "github.com/therecipe/qt/widgets" | |
| + "runtime" | |
| + "strings" | |
| + "unsafe" | |
| +) | |
| + | |
| +type QGraphicsWebView struct { | |
| + widgets.QGraphicsWidget | |
| +} | |
| + | |
| +type QGraphicsWebView_ITF interface { | |
| + widgets.QGraphicsWidget_ITF | |
| + QGraphicsWebView_PTR() *QGraphicsWebView | |
| +} | |
| + | |
| +func (p *QGraphicsWebView) QGraphicsWebView_PTR() *QGraphicsWebView { | |
| + return p | |
| +} | |
| + | |
| +func (p *QGraphicsWebView) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QGraphicsWidget_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QGraphicsWebView) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QGraphicsWidget_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQGraphicsWebView(ptr QGraphicsWebView_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QGraphicsWebView_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQGraphicsWebViewFromPointer(ptr unsafe.Pointer) *QGraphicsWebView { | |
| + var n = new(QGraphicsWebView) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func (ptr *QGraphicsWebView) Icon() *gui.QIcon { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQIconFromPointer(C.QGraphicsWebView_Icon(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QIcon).DestroyQIcon) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) IsModified() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_IsModified(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) IsTiledBackingStoreFrozen() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_IsTiledBackingStoreFrozen(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Load2(request network.QNetworkRequest_ITF, operation network.QNetworkAccessManager__Operation, body string) { | |
| + if ptr.Pointer() != nil { | |
| + var bodyC = C.CString(hex.EncodeToString([]byte(body))) | |
| + defer C.free(unsafe.Pointer(bodyC)) | |
| + C.QGraphicsWebView_Load2(ptr.Pointer(), network.PointerFromQNetworkRequest(request), C.longlong(operation), bodyC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ResizesToContents() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_ResizesToContents(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetResizesToContents(enabled bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetResizesToContents(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(enabled)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetTiledBackingStoreFrozen(frozen bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetTiledBackingStoreFrozen(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(frozen)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetUrl(vqu core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetUrl(ptr.Pointer(), core.PointerFromQUrl(vqu)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetZoomFactor(vqr float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetZoomFactor(ptr.Pointer(), C.double(vqr)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Title() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QGraphicsWebView_Title(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Url() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QGraphicsWebView_Url(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ZoomFactor() float64 { | |
| + if ptr.Pointer() != nil { | |
| + return float64(C.QGraphicsWebView_ZoomFactor(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func NewQGraphicsWebView(parent widgets.QGraphicsItem_ITF) *QGraphicsWebView { | |
| + var tmpValue = NewQGraphicsWebViewFromPointer(C.QGraphicsWebView_NewQGraphicsWebView(widgets.PointerFromQGraphicsItem(parent))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Back | |
| +func callbackQGraphicsWebView_Back(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::back"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectBack(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::back", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectBack() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::back") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Back() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Back(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ContextMenuEvent | |
| +func callbackQGraphicsWebView_ContextMenuEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::contextMenuEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneContextMenuEvent))(widgets.NewQGraphicsSceneContextMenuEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).ContextMenuEventDefault(widgets.NewQGraphicsSceneContextMenuEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectContextMenuEvent(f func(ev *widgets.QGraphicsSceneContextMenuEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::contextMenuEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectContextMenuEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::contextMenuEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ContextMenuEvent(ev widgets.QGraphicsSceneContextMenuEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ContextMenuEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneContextMenuEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ContextMenuEventDefault(ev widgets.QGraphicsSceneContextMenuEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ContextMenuEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneContextMenuEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_DragEnterEvent | |
| +func callbackQGraphicsWebView_DragEnterEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::dragEnterEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneDragDropEvent))(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).DragEnterEventDefault(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectDragEnterEvent(f func(ev *widgets.QGraphicsSceneDragDropEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dragEnterEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectDragEnterEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dragEnterEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DragEnterEvent(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DragEnterEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DragEnterEventDefault(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DragEnterEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_DragLeaveEvent | |
| +func callbackQGraphicsWebView_DragLeaveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::dragLeaveEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneDragDropEvent))(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).DragLeaveEventDefault(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectDragLeaveEvent(f func(ev *widgets.QGraphicsSceneDragDropEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dragLeaveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectDragLeaveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dragLeaveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DragLeaveEvent(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DragLeaveEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DragLeaveEventDefault(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DragLeaveEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_DragMoveEvent | |
| +func callbackQGraphicsWebView_DragMoveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::dragMoveEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneDragDropEvent))(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).DragMoveEventDefault(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectDragMoveEvent(f func(ev *widgets.QGraphicsSceneDragDropEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dragMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectDragMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dragMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DragMoveEvent(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DragMoveEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DragMoveEventDefault(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DragMoveEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_DropEvent | |
| +func callbackQGraphicsWebView_DropEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::dropEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneDragDropEvent))(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).DropEventDefault(widgets.NewQGraphicsSceneDragDropEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectDropEvent(f func(ev *widgets.QGraphicsSceneDragDropEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dropEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectDropEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::dropEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DropEvent(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DropEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DropEventDefault(ev widgets.QGraphicsSceneDragDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DropEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneDragDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Event | |
| +func callbackQGraphicsWebView_Event(ptr unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::event"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).EventDefault(core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectEvent(f func(event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::event", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::event") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Event(event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_Event(ptr.Pointer(), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) EventDefault(event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_EventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FindText(subString string, options QWebPage__FindFlag) bool { | |
| + if ptr.Pointer() != nil { | |
| + var subStringC = C.CString(subString) | |
| + defer C.free(unsafe.Pointer(subStringC)) | |
| + return C.QGraphicsWebView_FindText(ptr.Pointer(), subStringC, C.longlong(options)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_FocusInEvent | |
| +func callbackQGraphicsWebView_FocusInEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::focusInEvent"); signal != nil { | |
| + signal.(func(*gui.QFocusEvent))(gui.NewQFocusEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).FocusInEventDefault(gui.NewQFocusEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectFocusInEvent(f func(ev *gui.QFocusEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::focusInEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectFocusInEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::focusInEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FocusInEvent(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_FocusInEvent(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FocusInEventDefault(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_FocusInEventDefault(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_FocusNextPrevChild | |
| +func callbackQGraphicsWebView_FocusNextPrevChild(ptr unsafe.Pointer, next C.char) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::focusNextPrevChild"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(bool) bool)(int8(next) != 0)))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).FocusNextPrevChildDefault(int8(next) != 0)))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectFocusNextPrevChild(f func(next bool) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::focusNextPrevChild", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectFocusNextPrevChild() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::focusNextPrevChild") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FocusNextPrevChild(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_FocusNextPrevChild(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FocusNextPrevChildDefault(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_FocusNextPrevChildDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_FocusOutEvent | |
| +func callbackQGraphicsWebView_FocusOutEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::focusOutEvent"); signal != nil { | |
| + signal.(func(*gui.QFocusEvent))(gui.NewQFocusEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).FocusOutEventDefault(gui.NewQFocusEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectFocusOutEvent(f func(ev *gui.QFocusEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::focusOutEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectFocusOutEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::focusOutEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FocusOutEvent(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_FocusOutEvent(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) FocusOutEventDefault(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_FocusOutEventDefault(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Forward | |
| +func callbackQGraphicsWebView_Forward(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::forward"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectForward(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::forward", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectForward() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::forward") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Forward() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Forward(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) History() *QWebHistory { | |
| + if ptr.Pointer() != nil { | |
| + return NewQWebHistoryFromPointer(C.QGraphicsWebView_History(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_HoverLeaveEvent | |
| +func callbackQGraphicsWebView_HoverLeaveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::hoverLeaveEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneHoverEvent))(widgets.NewQGraphicsSceneHoverEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).HoverLeaveEventDefault(widgets.NewQGraphicsSceneHoverEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectHoverLeaveEvent(f func(ev *widgets.QGraphicsSceneHoverEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hoverLeaveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectHoverLeaveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hoverLeaveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HoverLeaveEvent(ev widgets.QGraphicsSceneHoverEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HoverLeaveEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneHoverEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HoverLeaveEventDefault(ev widgets.QGraphicsSceneHoverEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HoverLeaveEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneHoverEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_HoverMoveEvent | |
| +func callbackQGraphicsWebView_HoverMoveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::hoverMoveEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneHoverEvent))(widgets.NewQGraphicsSceneHoverEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).HoverMoveEventDefault(widgets.NewQGraphicsSceneHoverEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectHoverMoveEvent(f func(ev *widgets.QGraphicsSceneHoverEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hoverMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectHoverMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hoverMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HoverMoveEvent(ev widgets.QGraphicsSceneHoverEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HoverMoveEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneHoverEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HoverMoveEventDefault(ev widgets.QGraphicsSceneHoverEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HoverMoveEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneHoverEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_IconChanged | |
| +func callbackQGraphicsWebView_IconChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::iconChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectIconChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectIconChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::iconChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectIconChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectIconChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::iconChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) IconChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_IconChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_InputMethodEvent | |
| +func callbackQGraphicsWebView_InputMethodEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::inputMethodEvent"); signal != nil { | |
| + signal.(func(*gui.QInputMethodEvent))(gui.NewQInputMethodEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).InputMethodEventDefault(gui.NewQInputMethodEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectInputMethodEvent(f func(ev *gui.QInputMethodEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::inputMethodEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectInputMethodEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::inputMethodEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) InputMethodEvent(ev gui.QInputMethodEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_InputMethodEvent(ptr.Pointer(), gui.PointerFromQInputMethodEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) InputMethodEventDefault(ev gui.QInputMethodEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_InputMethodEventDefault(ptr.Pointer(), gui.PointerFromQInputMethodEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_InputMethodQuery | |
| +func callbackQGraphicsWebView_InputMethodQuery(ptr unsafe.Pointer, query C.longlong) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::inputMethodQuery"); signal != nil { | |
| + return core.PointerFromQVariant(signal.(func(core.Qt__InputMethodQuery) *core.QVariant)(core.Qt__InputMethodQuery(query))) | |
| + } | |
| + | |
| + return core.PointerFromQVariant(NewQGraphicsWebViewFromPointer(ptr).InputMethodQueryDefault(core.Qt__InputMethodQuery(query))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectInputMethodQuery(f func(query core.Qt__InputMethodQuery) *core.QVariant) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::inputMethodQuery", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectInputMethodQuery() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::inputMethodQuery") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) InputMethodQuery(query core.Qt__InputMethodQuery) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QGraphicsWebView_InputMethodQuery(ptr.Pointer(), C.longlong(query))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) InputMethodQueryDefault(query core.Qt__InputMethodQuery) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QGraphicsWebView_InputMethodQueryDefault(ptr.Pointer(), C.longlong(query))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ItemChange | |
| +func callbackQGraphicsWebView_ItemChange(ptr unsafe.Pointer, change C.longlong, value unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::itemChange"); signal != nil { | |
| + return core.PointerFromQVariant(signal.(func(widgets.QGraphicsItem__GraphicsItemChange, *core.QVariant) *core.QVariant)(widgets.QGraphicsItem__GraphicsItemChange(change), core.NewQVariantFromPointer(value))) | |
| + } | |
| + | |
| + return core.PointerFromQVariant(NewQGraphicsWebViewFromPointer(ptr).ItemChangeDefault(widgets.QGraphicsItem__GraphicsItemChange(change), core.NewQVariantFromPointer(value))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectItemChange(f func(change widgets.QGraphicsItem__GraphicsItemChange, value *core.QVariant) *core.QVariant) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::itemChange", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectItemChange() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::itemChange") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ItemChange(change widgets.QGraphicsItem__GraphicsItemChange, value core.QVariant_ITF) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QGraphicsWebView_ItemChange(ptr.Pointer(), C.longlong(change), core.PointerFromQVariant(value))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ItemChangeDefault(change widgets.QGraphicsItem__GraphicsItemChange, value core.QVariant_ITF) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QGraphicsWebView_ItemChangeDefault(ptr.Pointer(), C.longlong(change), core.PointerFromQVariant(value))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_KeyPressEvent | |
| +func callbackQGraphicsWebView_KeyPressEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::keyPressEvent"); signal != nil { | |
| + signal.(func(*gui.QKeyEvent))(gui.NewQKeyEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).KeyPressEventDefault(gui.NewQKeyEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectKeyPressEvent(f func(ev *gui.QKeyEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::keyPressEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectKeyPressEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::keyPressEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) KeyPressEvent(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_KeyPressEvent(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) KeyPressEventDefault(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_KeyPressEventDefault(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_KeyReleaseEvent | |
| +func callbackQGraphicsWebView_KeyReleaseEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::keyReleaseEvent"); signal != nil { | |
| + signal.(func(*gui.QKeyEvent))(gui.NewQKeyEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).KeyReleaseEventDefault(gui.NewQKeyEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectKeyReleaseEvent(f func(ev *gui.QKeyEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::keyReleaseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectKeyReleaseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::keyReleaseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) KeyReleaseEvent(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_KeyReleaseEvent(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) KeyReleaseEventDefault(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_KeyReleaseEventDefault(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_LinkClicked | |
| +func callbackQGraphicsWebView_LinkClicked(ptr unsafe.Pointer, url unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::linkClicked"); signal != nil { | |
| + signal.(func(*core.QUrl))(core.NewQUrlFromPointer(url)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectLinkClicked(f func(url *core.QUrl)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectLinkClicked(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::linkClicked", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectLinkClicked() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectLinkClicked(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::linkClicked") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) LinkClicked(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_LinkClicked(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Load(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Load(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_LoadFinished | |
| +func callbackQGraphicsWebView_LoadFinished(ptr unsafe.Pointer, ok C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::loadFinished"); signal != nil { | |
| + signal.(func(bool))(int8(ok) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectLoadFinished(f func(ok bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectLoadFinished(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::loadFinished", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectLoadFinished() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectLoadFinished(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::loadFinished") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) LoadFinished(ok bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_LoadFinished(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(ok)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_LoadProgress | |
| +func callbackQGraphicsWebView_LoadProgress(ptr unsafe.Pointer, progress C.int) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::loadProgress"); signal != nil { | |
| + signal.(func(int))(int(int32(progress))) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectLoadProgress(f func(progress int)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectLoadProgress(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::loadProgress", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectLoadProgress() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectLoadProgress(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::loadProgress") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) LoadProgress(progress int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_LoadProgress(ptr.Pointer(), C.int(int32(progress))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_LoadStarted | |
| +func callbackQGraphicsWebView_LoadStarted(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::loadStarted"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectLoadStarted(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectLoadStarted(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::loadStarted", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectLoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectLoadStarted(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::loadStarted") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) LoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_LoadStarted(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_MouseDoubleClickEvent | |
| +func callbackQGraphicsWebView_MouseDoubleClickEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::mouseDoubleClickEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneMouseEvent))(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).MouseDoubleClickEventDefault(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectMouseDoubleClickEvent(f func(ev *widgets.QGraphicsSceneMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mouseDoubleClickEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectMouseDoubleClickEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mouseDoubleClickEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MouseDoubleClickEvent(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MouseDoubleClickEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MouseDoubleClickEventDefault(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MouseDoubleClickEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_MouseMoveEvent | |
| +func callbackQGraphicsWebView_MouseMoveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::mouseMoveEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneMouseEvent))(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).MouseMoveEventDefault(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectMouseMoveEvent(f func(ev *widgets.QGraphicsSceneMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mouseMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectMouseMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mouseMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MouseMoveEvent(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MouseMoveEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MouseMoveEventDefault(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MouseMoveEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_MousePressEvent | |
| +func callbackQGraphicsWebView_MousePressEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::mousePressEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneMouseEvent))(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).MousePressEventDefault(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectMousePressEvent(f func(ev *widgets.QGraphicsSceneMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mousePressEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectMousePressEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mousePressEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MousePressEvent(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MousePressEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MousePressEventDefault(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MousePressEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_MouseReleaseEvent | |
| +func callbackQGraphicsWebView_MouseReleaseEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::mouseReleaseEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneMouseEvent))(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).MouseReleaseEventDefault(widgets.NewQGraphicsSceneMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectMouseReleaseEvent(f func(ev *widgets.QGraphicsSceneMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mouseReleaseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectMouseReleaseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::mouseReleaseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MouseReleaseEvent(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MouseReleaseEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MouseReleaseEventDefault(ev widgets.QGraphicsSceneMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MouseReleaseEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Page() *QWebPage { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPageFromPointer(C.QGraphicsWebView_Page(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) PageAction(action QWebPage__WebAction) *widgets.QAction { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = widgets.NewQActionFromPointer(C.QGraphicsWebView_PageAction(ptr.Pointer(), C.longlong(action))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Paint | |
| +func callbackQGraphicsWebView_Paint(ptr unsafe.Pointer, painter unsafe.Pointer, option unsafe.Pointer, widget unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::paint"); signal != nil { | |
| + signal.(func(*gui.QPainter, *widgets.QStyleOptionGraphicsItem, *widgets.QWidget))(gui.NewQPainterFromPointer(painter), widgets.NewQStyleOptionGraphicsItemFromPointer(option), widgets.NewQWidgetFromPointer(widget)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).PaintDefault(gui.NewQPainterFromPointer(painter), widgets.NewQStyleOptionGraphicsItemFromPointer(option), widgets.NewQWidgetFromPointer(widget)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectPaint(f func(painter *gui.QPainter, option *widgets.QStyleOptionGraphicsItem, widget *widgets.QWidget)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::paint", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectPaint() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::paint") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Paint(painter gui.QPainter_ITF, option widgets.QStyleOptionGraphicsItem_ITF, widget widgets.QWidget_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Paint(ptr.Pointer(), gui.PointerFromQPainter(painter), widgets.PointerFromQStyleOptionGraphicsItem(option), widgets.PointerFromQWidget(widget)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) PaintDefault(painter gui.QPainter_ITF, option widgets.QStyleOptionGraphicsItem_ITF, widget widgets.QWidget_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_PaintDefault(ptr.Pointer(), gui.PointerFromQPainter(painter), widgets.PointerFromQStyleOptionGraphicsItem(option), widgets.PointerFromQWidget(widget)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Reload | |
| +func callbackQGraphicsWebView_Reload(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::reload"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectReload(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::reload", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectReload() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::reload") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Reload() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Reload(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) RenderHints() gui.QPainter__RenderHint { | |
| + if ptr.Pointer() != nil { | |
| + return gui.QPainter__RenderHint(C.QGraphicsWebView_RenderHints(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_SceneEvent | |
| +func callbackQGraphicsWebView_SceneEvent(ptr unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::sceneEvent"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).SceneEventDefault(core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectSceneEvent(f func(event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::sceneEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectSceneEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::sceneEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SceneEvent(event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_SceneEvent(ptr.Pointer(), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SceneEventDefault(event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_SceneEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetContent(data string, mimeType string, baseUrl core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + var dataC = C.CString(hex.EncodeToString([]byte(data))) | |
| + defer C.free(unsafe.Pointer(dataC)) | |
| + var mimeTypeC = C.CString(mimeType) | |
| + defer C.free(unsafe.Pointer(mimeTypeC)) | |
| + C.QGraphicsWebView_SetContent(ptr.Pointer(), dataC, mimeTypeC, core.PointerFromQUrl(baseUrl)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_SetGeometry | |
| +func callbackQGraphicsWebView_SetGeometry(ptr unsafe.Pointer, rect unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::setGeometry"); signal != nil { | |
| + signal.(func(*core.QRectF))(core.NewQRectFFromPointer(rect)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).SetGeometryDefault(core.NewQRectFFromPointer(rect)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectSetGeometry(f func(rect *core.QRectF)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::setGeometry", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectSetGeometry() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::setGeometry") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetGeometry(rect core.QRectF_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetGeometry(ptr.Pointer(), core.PointerFromQRectF(rect)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetGeometryDefault(rect core.QRectF_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetGeometryDefault(ptr.Pointer(), core.PointerFromQRectF(rect)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetHtml(html string, baseUrl core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + var htmlC = C.CString(html) | |
| + defer C.free(unsafe.Pointer(htmlC)) | |
| + C.QGraphicsWebView_SetHtml(ptr.Pointer(), htmlC, core.PointerFromQUrl(baseUrl)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetPage(page QWebPage_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetPage(ptr.Pointer(), PointerFromQWebPage(page)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetRenderHint(hint gui.QPainter__RenderHint, enabled bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetRenderHint(ptr.Pointer(), C.longlong(hint), C.char(int8(qt.GoBoolToInt(enabled)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SetRenderHints(hints gui.QPainter__RenderHint) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_SetRenderHints(ptr.Pointer(), C.longlong(hints)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Settings() *QWebSettings { | |
| + if ptr.Pointer() != nil { | |
| + return NewQWebSettingsFromPointer(C.QGraphicsWebView_Settings(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_SizeHint | |
| +func callbackQGraphicsWebView_SizeHint(ptr unsafe.Pointer, which C.longlong, constraint unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::sizeHint"); signal != nil { | |
| + return core.PointerFromQSizeF(signal.(func(core.Qt__SizeHint, *core.QSizeF) *core.QSizeF)(core.Qt__SizeHint(which), core.NewQSizeFFromPointer(constraint))) | |
| + } | |
| + | |
| + return core.PointerFromQSizeF(NewQGraphicsWebViewFromPointer(ptr).SizeHintDefault(core.Qt__SizeHint(which), core.NewQSizeFFromPointer(constraint))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectSizeHint(f func(which core.Qt__SizeHint, constraint *core.QSizeF) *core.QSizeF) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::sizeHint", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectSizeHint() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::sizeHint") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SizeHint(which core.Qt__SizeHint, constraint core.QSizeF_ITF) *core.QSizeF { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFFromPointer(C.QGraphicsWebView_SizeHint(ptr.Pointer(), C.longlong(which), core.PointerFromQSizeF(constraint))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSizeF).DestroyQSizeF) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SizeHintDefault(which core.Qt__SizeHint, constraint core.QSizeF_ITF) *core.QSizeF { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFFromPointer(C.QGraphicsWebView_SizeHintDefault(ptr.Pointer(), C.longlong(which), core.PointerFromQSizeF(constraint))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSizeF).DestroyQSizeF) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_StatusBarMessage | |
| +func callbackQGraphicsWebView_StatusBarMessage(ptr unsafe.Pointer, text *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::statusBarMessage"); signal != nil { | |
| + signal.(func(string))(C.GoString(text)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectStatusBarMessage(f func(text string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectStatusBarMessage(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::statusBarMessage", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectStatusBarMessage() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectStatusBarMessage(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::statusBarMessage") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) StatusBarMessage(text string) { | |
| + if ptr.Pointer() != nil { | |
| + var textC = C.CString(text) | |
| + defer C.free(unsafe.Pointer(textC)) | |
| + C.QGraphicsWebView_StatusBarMessage(ptr.Pointer(), textC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Stop | |
| +func callbackQGraphicsWebView_Stop(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::stop"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectStop(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::stop", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectStop() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::stop") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Stop() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Stop(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_TitleChanged | |
| +func callbackQGraphicsWebView_TitleChanged(ptr unsafe.Pointer, vqs *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::titleChanged"); signal != nil { | |
| + signal.(func(string))(C.GoString(vqs)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectTitleChanged(f func(vqs string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectTitleChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::titleChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectTitleChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectTitleChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::titleChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) TitleChanged(vqs string) { | |
| + if ptr.Pointer() != nil { | |
| + var vqsC = C.CString(vqs) | |
| + defer C.free(unsafe.Pointer(vqsC)) | |
| + C.QGraphicsWebView_TitleChanged(ptr.Pointer(), vqsC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) TriggerPageAction(action QWebPage__WebAction, checked bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_TriggerPageAction(ptr.Pointer(), C.longlong(action), C.char(int8(qt.GoBoolToInt(checked)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_UpdateGeometry | |
| +func callbackQGraphicsWebView_UpdateGeometry(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::updateGeometry"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).UpdateGeometryDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectUpdateGeometry(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::updateGeometry", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectUpdateGeometry() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::updateGeometry") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UpdateGeometry() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UpdateGeometry(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UpdateGeometryDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UpdateGeometryDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_UrlChanged | |
| +func callbackQGraphicsWebView_UrlChanged(ptr unsafe.Pointer, vqu unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::urlChanged"); signal != nil { | |
| + signal.(func(*core.QUrl))(core.NewQUrlFromPointer(vqu)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectUrlChanged(f func(vqu *core.QUrl)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectUrlChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::urlChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectUrlChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectUrlChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::urlChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UrlChanged(vqu core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UrlChanged(ptr.Pointer(), core.PointerFromQUrl(vqu)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_WheelEvent | |
| +func callbackQGraphicsWebView_WheelEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::wheelEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneWheelEvent))(widgets.NewQGraphicsSceneWheelEventFromPointer(ev)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).WheelEventDefault(widgets.NewQGraphicsSceneWheelEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectWheelEvent(f func(ev *widgets.QGraphicsSceneWheelEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::wheelEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectWheelEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::wheelEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) WheelEvent(ev widgets.QGraphicsSceneWheelEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_WheelEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneWheelEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) WheelEventDefault(ev widgets.QGraphicsSceneWheelEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_WheelEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneWheelEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DestroyQGraphicsWebView() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DestroyQGraphicsWebView(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_BoundingRect | |
| +func callbackQGraphicsWebView_BoundingRect(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::boundingRect"); signal != nil { | |
| + return core.PointerFromQRectF(signal.(func() *core.QRectF)()) | |
| + } | |
| + | |
| + return core.PointerFromQRectF(NewQGraphicsWebViewFromPointer(ptr).BoundingRectDefault()) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectBoundingRect(f func() *core.QRectF) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::boundingRect", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectBoundingRect() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::boundingRect") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) BoundingRect() *core.QRectF { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQRectFFromPointer(C.QGraphicsWebView_BoundingRect(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QRectF).DestroyQRectF) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) BoundingRectDefault() *core.QRectF { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQRectFFromPointer(C.QGraphicsWebView_BoundingRectDefault(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QRectF).DestroyQRectF) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ChangeEvent | |
| +func callbackQGraphicsWebView_ChangeEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::changeEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).ChangeEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectChangeEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::changeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectChangeEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::changeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ChangeEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ChangeEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ChangeEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ChangeEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Close | |
| +func callbackQGraphicsWebView_Close(ptr unsafe.Pointer) C.char { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::close"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func() bool)()))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).CloseDefault()))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectClose(f func() bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::close", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectClose() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::close") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Close() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_Close(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CloseDefault() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_CloseDefault(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_CloseEvent | |
| +func callbackQGraphicsWebView_CloseEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::closeEvent"); signal != nil { | |
| + signal.(func(*gui.QCloseEvent))(gui.NewQCloseEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).CloseEventDefault(gui.NewQCloseEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectCloseEvent(f func(event *gui.QCloseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::closeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectCloseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::closeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CloseEvent(event gui.QCloseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_CloseEvent(ptr.Pointer(), gui.PointerFromQCloseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CloseEventDefault(event gui.QCloseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_CloseEventDefault(ptr.Pointer(), gui.PointerFromQCloseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_GetContentsMargins | |
| +func callbackQGraphicsWebView_GetContentsMargins(ptr unsafe.Pointer, left C.double, top C.double, right C.double, bottom C.double) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::getContentsMargins"); signal != nil { | |
| + signal.(func(float64, float64, float64, float64))(float64(left), float64(top), float64(right), float64(bottom)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).GetContentsMarginsDefault(float64(left), float64(top), float64(right), float64(bottom)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectGetContentsMargins(f func(left float64, top float64, right float64, bottom float64)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::getContentsMargins", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectGetContentsMargins() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::getContentsMargins") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) GetContentsMargins(left float64, top float64, right float64, bottom float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_GetContentsMargins(ptr.Pointer(), C.double(left), C.double(top), C.double(right), C.double(bottom)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) GetContentsMarginsDefault(left float64, top float64, right float64, bottom float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_GetContentsMarginsDefault(ptr.Pointer(), C.double(left), C.double(top), C.double(right), C.double(bottom)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_GrabKeyboardEvent | |
| +func callbackQGraphicsWebView_GrabKeyboardEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::grabKeyboardEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).GrabKeyboardEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectGrabKeyboardEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::grabKeyboardEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectGrabKeyboardEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::grabKeyboardEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) GrabKeyboardEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_GrabKeyboardEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) GrabKeyboardEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_GrabKeyboardEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_GrabMouseEvent | |
| +func callbackQGraphicsWebView_GrabMouseEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::grabMouseEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).GrabMouseEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectGrabMouseEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::grabMouseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectGrabMouseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::grabMouseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) GrabMouseEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_GrabMouseEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) GrabMouseEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_GrabMouseEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_HideEvent | |
| +func callbackQGraphicsWebView_HideEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::hideEvent"); signal != nil { | |
| + signal.(func(*gui.QHideEvent))(gui.NewQHideEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).HideEventDefault(gui.NewQHideEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectHideEvent(f func(event *gui.QHideEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hideEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectHideEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hideEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HideEvent(event gui.QHideEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HideEvent(ptr.Pointer(), gui.PointerFromQHideEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HideEventDefault(event gui.QHideEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HideEventDefault(ptr.Pointer(), gui.PointerFromQHideEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_InitStyleOption | |
| +func callbackQGraphicsWebView_InitStyleOption(ptr unsafe.Pointer, option unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::initStyleOption"); signal != nil { | |
| + signal.(func(*widgets.QStyleOption))(widgets.NewQStyleOptionFromPointer(option)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).InitStyleOptionDefault(widgets.NewQStyleOptionFromPointer(option)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectInitStyleOption(f func(option *widgets.QStyleOption)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::initStyleOption", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectInitStyleOption() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::initStyleOption") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) InitStyleOption(option widgets.QStyleOption_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_InitStyleOption(ptr.Pointer(), widgets.PointerFromQStyleOption(option)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) InitStyleOptionDefault(option widgets.QStyleOption_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_InitStyleOptionDefault(ptr.Pointer(), widgets.PointerFromQStyleOption(option)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_MoveEvent | |
| +func callbackQGraphicsWebView_MoveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::moveEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneMoveEvent))(widgets.NewQGraphicsSceneMoveEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).MoveEventDefault(widgets.NewQGraphicsSceneMoveEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectMoveEvent(f func(event *widgets.QGraphicsSceneMoveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::moveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::moveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MoveEvent(event widgets.QGraphicsSceneMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MoveEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MoveEventDefault(event widgets.QGraphicsSceneMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_MoveEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_PaintWindowFrame | |
| +func callbackQGraphicsWebView_PaintWindowFrame(ptr unsafe.Pointer, painter unsafe.Pointer, option unsafe.Pointer, widget unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::paintWindowFrame"); signal != nil { | |
| + signal.(func(*gui.QPainter, *widgets.QStyleOptionGraphicsItem, *widgets.QWidget))(gui.NewQPainterFromPointer(painter), widgets.NewQStyleOptionGraphicsItemFromPointer(option), widgets.NewQWidgetFromPointer(widget)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).PaintWindowFrameDefault(gui.NewQPainterFromPointer(painter), widgets.NewQStyleOptionGraphicsItemFromPointer(option), widgets.NewQWidgetFromPointer(widget)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectPaintWindowFrame(f func(painter *gui.QPainter, option *widgets.QStyleOptionGraphicsItem, widget *widgets.QWidget)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::paintWindowFrame", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectPaintWindowFrame() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::paintWindowFrame") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) PaintWindowFrame(painter gui.QPainter_ITF, option widgets.QStyleOptionGraphicsItem_ITF, widget widgets.QWidget_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_PaintWindowFrame(ptr.Pointer(), gui.PointerFromQPainter(painter), widgets.PointerFromQStyleOptionGraphicsItem(option), widgets.PointerFromQWidget(widget)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) PaintWindowFrameDefault(painter gui.QPainter_ITF, option widgets.QStyleOptionGraphicsItem_ITF, widget widgets.QWidget_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_PaintWindowFrameDefault(ptr.Pointer(), gui.PointerFromQPainter(painter), widgets.PointerFromQStyleOptionGraphicsItem(option), widgets.PointerFromQWidget(widget)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_PolishEvent | |
| +func callbackQGraphicsWebView_PolishEvent(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::polishEvent"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).PolishEventDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectPolishEvent(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::polishEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectPolishEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::polishEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) PolishEvent() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_PolishEvent(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) PolishEventDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_PolishEventDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ResizeEvent | |
| +func callbackQGraphicsWebView_ResizeEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::resizeEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneResizeEvent))(widgets.NewQGraphicsSceneResizeEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).ResizeEventDefault(widgets.NewQGraphicsSceneResizeEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectResizeEvent(f func(event *widgets.QGraphicsSceneResizeEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::resizeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectResizeEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::resizeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ResizeEvent(event widgets.QGraphicsSceneResizeEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ResizeEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneResizeEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ResizeEventDefault(event widgets.QGraphicsSceneResizeEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ResizeEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneResizeEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Shape | |
| +func callbackQGraphicsWebView_Shape(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::shape"); signal != nil { | |
| + return gui.PointerFromQPainterPath(signal.(func() *gui.QPainterPath)()) | |
| + } | |
| + | |
| + return gui.PointerFromQPainterPath(NewQGraphicsWebViewFromPointer(ptr).ShapeDefault()) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectShape(f func() *gui.QPainterPath) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::shape", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectShape() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::shape") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Shape() *gui.QPainterPath { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQPainterPathFromPointer(C.QGraphicsWebView_Shape(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPainterPath).DestroyQPainterPath) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ShapeDefault() *gui.QPainterPath { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQPainterPathFromPointer(C.QGraphicsWebView_ShapeDefault(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPainterPath).DestroyQPainterPath) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ShowEvent | |
| +func callbackQGraphicsWebView_ShowEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::showEvent"); signal != nil { | |
| + signal.(func(*gui.QShowEvent))(gui.NewQShowEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).ShowEventDefault(gui.NewQShowEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectShowEvent(f func(event *gui.QShowEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::showEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectShowEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::showEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ShowEvent(event gui.QShowEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ShowEvent(ptr.Pointer(), gui.PointerFromQShowEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ShowEventDefault(event gui.QShowEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ShowEventDefault(ptr.Pointer(), gui.PointerFromQShowEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Type | |
| +func callbackQGraphicsWebView_Type(ptr unsafe.Pointer) C.int { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::type"); signal != nil { | |
| + return C.int(int32(signal.(func() int)())) | |
| + } | |
| + | |
| + return C.int(int32(NewQGraphicsWebViewFromPointer(ptr).TypeDefault())) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectType(f func() int) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::type", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectType() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::type") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Type() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QGraphicsWebView_Type(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) TypeDefault() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QGraphicsWebView_TypeDefault(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_UngrabKeyboardEvent | |
| +func callbackQGraphicsWebView_UngrabKeyboardEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::ungrabKeyboardEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).UngrabKeyboardEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectUngrabKeyboardEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::ungrabKeyboardEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectUngrabKeyboardEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::ungrabKeyboardEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UngrabKeyboardEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UngrabKeyboardEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UngrabKeyboardEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UngrabKeyboardEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_UngrabMouseEvent | |
| +func callbackQGraphicsWebView_UngrabMouseEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::ungrabMouseEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).UngrabMouseEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectUngrabMouseEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::ungrabMouseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectUngrabMouseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::ungrabMouseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UngrabMouseEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UngrabMouseEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UngrabMouseEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UngrabMouseEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_WindowFrameEvent | |
| +func callbackQGraphicsWebView_WindowFrameEvent(ptr unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::windowFrameEvent"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).WindowFrameEventDefault(core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectWindowFrameEvent(f func(event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::windowFrameEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectWindowFrameEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::windowFrameEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) WindowFrameEvent(event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_WindowFrameEvent(ptr.Pointer(), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) WindowFrameEventDefault(event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_WindowFrameEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_WindowFrameSectionAt | |
| +func callbackQGraphicsWebView_WindowFrameSectionAt(ptr unsafe.Pointer, pos unsafe.Pointer) C.longlong { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::windowFrameSectionAt"); signal != nil { | |
| + return C.longlong(signal.(func(*core.QPointF) core.Qt__WindowFrameSection)(core.NewQPointFFromPointer(pos))) | |
| + } | |
| + | |
| + return C.longlong(NewQGraphicsWebViewFromPointer(ptr).WindowFrameSectionAtDefault(core.NewQPointFFromPointer(pos))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectWindowFrameSectionAt(f func(pos *core.QPointF) core.Qt__WindowFrameSection) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::windowFrameSectionAt", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectWindowFrameSectionAt() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::windowFrameSectionAt") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) WindowFrameSectionAt(pos core.QPointF_ITF) core.Qt__WindowFrameSection { | |
| + if ptr.Pointer() != nil { | |
| + return core.Qt__WindowFrameSection(C.QGraphicsWebView_WindowFrameSectionAt(ptr.Pointer(), core.PointerFromQPointF(pos))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) WindowFrameSectionAtDefault(pos core.QPointF_ITF) core.Qt__WindowFrameSection { | |
| + if ptr.Pointer() != nil { | |
| + return core.Qt__WindowFrameSection(C.QGraphicsWebView_WindowFrameSectionAtDefault(ptr.Pointer(), core.PointerFromQPointF(pos))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_UpdateMicroFocus | |
| +func callbackQGraphicsWebView_UpdateMicroFocus(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::updateMicroFocus"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).UpdateMicroFocusDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectUpdateMicroFocus(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::updateMicroFocus", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectUpdateMicroFocus() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::updateMicroFocus") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UpdateMicroFocus() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UpdateMicroFocus(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) UpdateMicroFocusDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_UpdateMicroFocusDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_TimerEvent | |
| +func callbackQGraphicsWebView_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ChildEvent | |
| +func callbackQGraphicsWebView_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_ConnectNotify | |
| +func callbackQGraphicsWebView_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_CustomEvent | |
| +func callbackQGraphicsWebView_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_DeleteLater | |
| +func callbackQGraphicsWebView_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_DisconnectNotify | |
| +func callbackQGraphicsWebView_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_EventFilter | |
| +func callbackQGraphicsWebView_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_MetaObject | |
| +func callbackQGraphicsWebView_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQGraphicsWebViewFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QGraphicsWebView_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QGraphicsWebView_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Advance | |
| +func callbackQGraphicsWebView_Advance(ptr unsafe.Pointer, phase C.int) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::advance"); signal != nil { | |
| + signal.(func(int))(int(int32(phase))) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).AdvanceDefault(int(int32(phase))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectAdvance(f func(phase int)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::advance", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectAdvance() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::advance") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Advance(phase int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_Advance(ptr.Pointer(), C.int(int32(phase))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) AdvanceDefault(phase int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_AdvanceDefault(ptr.Pointer(), C.int(int32(phase))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_CollidesWithItem | |
| +func callbackQGraphicsWebView_CollidesWithItem(ptr unsafe.Pointer, other unsafe.Pointer, mode C.longlong) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::collidesWithItem"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*widgets.QGraphicsItem, core.Qt__ItemSelectionMode) bool)(widgets.NewQGraphicsItemFromPointer(other), core.Qt__ItemSelectionMode(mode))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).CollidesWithItemDefault(widgets.NewQGraphicsItemFromPointer(other), core.Qt__ItemSelectionMode(mode))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectCollidesWithItem(f func(other *widgets.QGraphicsItem, mode core.Qt__ItemSelectionMode) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::collidesWithItem", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectCollidesWithItem() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::collidesWithItem") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CollidesWithItem(other widgets.QGraphicsItem_ITF, mode core.Qt__ItemSelectionMode) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_CollidesWithItem(ptr.Pointer(), widgets.PointerFromQGraphicsItem(other), C.longlong(mode)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CollidesWithItemDefault(other widgets.QGraphicsItem_ITF, mode core.Qt__ItemSelectionMode) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_CollidesWithItemDefault(ptr.Pointer(), widgets.PointerFromQGraphicsItem(other), C.longlong(mode)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_CollidesWithPath | |
| +func callbackQGraphicsWebView_CollidesWithPath(ptr unsafe.Pointer, path unsafe.Pointer, mode C.longlong) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::collidesWithPath"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*gui.QPainterPath, core.Qt__ItemSelectionMode) bool)(gui.NewQPainterPathFromPointer(path), core.Qt__ItemSelectionMode(mode))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).CollidesWithPathDefault(gui.NewQPainterPathFromPointer(path), core.Qt__ItemSelectionMode(mode))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectCollidesWithPath(f func(path *gui.QPainterPath, mode core.Qt__ItemSelectionMode) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::collidesWithPath", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectCollidesWithPath() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::collidesWithPath") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CollidesWithPath(path gui.QPainterPath_ITF, mode core.Qt__ItemSelectionMode) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_CollidesWithPath(ptr.Pointer(), gui.PointerFromQPainterPath(path), C.longlong(mode)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) CollidesWithPathDefault(path gui.QPainterPath_ITF, mode core.Qt__ItemSelectionMode) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_CollidesWithPathDefault(ptr.Pointer(), gui.PointerFromQPainterPath(path), C.longlong(mode)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_Contains | |
| +func callbackQGraphicsWebView_Contains(ptr unsafe.Pointer, point unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::contains"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QPointF) bool)(core.NewQPointFFromPointer(point))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).ContainsDefault(core.NewQPointFFromPointer(point))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectContains(f func(point *core.QPointF) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::contains", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectContains() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::contains") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) Contains(point core.QPointF_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_Contains(ptr.Pointer(), core.PointerFromQPointF(point)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ContainsDefault(point core.QPointF_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_ContainsDefault(ptr.Pointer(), core.PointerFromQPointF(point)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_HoverEnterEvent | |
| +func callbackQGraphicsWebView_HoverEnterEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::hoverEnterEvent"); signal != nil { | |
| + signal.(func(*widgets.QGraphicsSceneHoverEvent))(widgets.NewQGraphicsSceneHoverEventFromPointer(event)) | |
| + } else { | |
| + NewQGraphicsWebViewFromPointer(ptr).HoverEnterEventDefault(widgets.NewQGraphicsSceneHoverEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectHoverEnterEvent(f func(event *widgets.QGraphicsSceneHoverEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hoverEnterEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectHoverEnterEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::hoverEnterEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HoverEnterEvent(event widgets.QGraphicsSceneHoverEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HoverEnterEvent(ptr.Pointer(), widgets.PointerFromQGraphicsSceneHoverEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) HoverEnterEventDefault(event widgets.QGraphicsSceneHoverEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QGraphicsWebView_HoverEnterEventDefault(ptr.Pointer(), widgets.PointerFromQGraphicsSceneHoverEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_IsObscuredBy | |
| +func callbackQGraphicsWebView_IsObscuredBy(ptr unsafe.Pointer, item unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::isObscuredBy"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*widgets.QGraphicsItem) bool)(widgets.NewQGraphicsItemFromPointer(item))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).IsObscuredByDefault(widgets.NewQGraphicsItemFromPointer(item))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectIsObscuredBy(f func(item *widgets.QGraphicsItem) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::isObscuredBy", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectIsObscuredBy() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::isObscuredBy") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) IsObscuredBy(item widgets.QGraphicsItem_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_IsObscuredBy(ptr.Pointer(), widgets.PointerFromQGraphicsItem(item)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) IsObscuredByDefault(item widgets.QGraphicsItem_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_IsObscuredByDefault(ptr.Pointer(), widgets.PointerFromQGraphicsItem(item)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_OpaqueArea | |
| +func callbackQGraphicsWebView_OpaqueArea(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::opaqueArea"); signal != nil { | |
| + return gui.PointerFromQPainterPath(signal.(func() *gui.QPainterPath)()) | |
| + } | |
| + | |
| + return gui.PointerFromQPainterPath(NewQGraphicsWebViewFromPointer(ptr).OpaqueAreaDefault()) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectOpaqueArea(f func() *gui.QPainterPath) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::opaqueArea", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectOpaqueArea() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::opaqueArea") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) OpaqueArea() *gui.QPainterPath { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQPainterPathFromPointer(C.QGraphicsWebView_OpaqueArea(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPainterPath).DestroyQPainterPath) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) OpaqueAreaDefault() *gui.QPainterPath { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQPainterPathFromPointer(C.QGraphicsWebView_OpaqueAreaDefault(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPainterPath).DestroyQPainterPath) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQGraphicsWebView_SceneEventFilter | |
| +func callbackQGraphicsWebView_SceneEventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QGraphicsWebView::sceneEventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*widgets.QGraphicsItem, *core.QEvent) bool)(widgets.NewQGraphicsItemFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQGraphicsWebViewFromPointer(ptr).SceneEventFilterDefault(widgets.NewQGraphicsItemFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) ConnectSceneEventFilter(f func(watched *widgets.QGraphicsItem, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::sceneEventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) DisconnectSceneEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QGraphicsWebView::sceneEventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SceneEventFilter(watched widgets.QGraphicsItem_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_SceneEventFilter(ptr.Pointer(), widgets.PointerFromQGraphicsItem(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QGraphicsWebView) SceneEventFilterDefault(watched widgets.QGraphicsItem_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QGraphicsWebView_SceneEventFilterDefault(ptr.Pointer(), widgets.PointerFromQGraphicsItem(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +type QWebDatabase struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebDatabase_ITF interface { | |
| + QWebDatabase_PTR() *QWebDatabase | |
| +} | |
| + | |
| +func (p *QWebDatabase) QWebDatabase_PTR() *QWebDatabase { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebDatabase) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebDatabase) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebDatabase(ptr QWebDatabase_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebDatabase_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebDatabaseFromPointer(ptr unsafe.Pointer) *QWebDatabase { | |
| + var n = new(QWebDatabase) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebDatabase(other QWebDatabase_ITF) *QWebDatabase { | |
| + var tmpValue = NewQWebDatabaseFromPointer(C.QWebDatabase_NewQWebDatabase(PointerFromQWebDatabase(other))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebDatabase).DestroyQWebDatabase) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) DisplayName() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebDatabase_DisplayName(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) ExpectedSize() int64 { | |
| + if ptr.Pointer() != nil { | |
| + return int64(C.QWebDatabase_ExpectedSize(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) FileName() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebDatabase_FileName(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) Name() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebDatabase_Name(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) Origin() *QWebSecurityOrigin { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebSecurityOriginFromPointer(C.QWebDatabase_Origin(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebSecurityOrigin).DestroyQWebSecurityOrigin) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func QWebDatabase_RemoveAllDatabases() { | |
| + C.QWebDatabase_QWebDatabase_RemoveAllDatabases() | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) RemoveAllDatabases() { | |
| + C.QWebDatabase_QWebDatabase_RemoveAllDatabases() | |
| +} | |
| + | |
| +func QWebDatabase_RemoveDatabase(db QWebDatabase_ITF) { | |
| + C.QWebDatabase_QWebDatabase_RemoveDatabase(PointerFromQWebDatabase(db)) | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) RemoveDatabase(db QWebDatabase_ITF) { | |
| + C.QWebDatabase_QWebDatabase_RemoveDatabase(PointerFromQWebDatabase(db)) | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) Size() int64 { | |
| + if ptr.Pointer() != nil { | |
| + return int64(C.QWebDatabase_Size(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebDatabase) DestroyQWebDatabase() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebDatabase_DestroyQWebDatabase(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//QWebElement::StyleResolveStrategy | |
| +type QWebElement__StyleResolveStrategy int64 | |
| + | |
| +var ( | |
| + QWebElement__InlineStyle = QWebElement__StyleResolveStrategy(0) | |
| + QWebElement__CascadedStyle = QWebElement__StyleResolveStrategy(1) | |
| + QWebElement__ComputedStyle = QWebElement__StyleResolveStrategy(2) | |
| +) | |
| + | |
| +type QWebElement struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebElement_ITF interface { | |
| + QWebElement_PTR() *QWebElement | |
| +} | |
| + | |
| +func (p *QWebElement) QWebElement_PTR() *QWebElement { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebElement) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebElement) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebElement(ptr QWebElement_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebElement_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebElementFromPointer(ptr unsafe.Pointer) *QWebElement { | |
| + var n = new(QWebElement) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebElement() *QWebElement { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_NewQWebElement()) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| +} | |
| + | |
| +func NewQWebElement2(other QWebElement_ITF) *QWebElement { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_NewQWebElement2(PointerFromQWebElement(other))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebElement) AddClass(name string) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + C.QWebElement_AddClass(ptr.Pointer(), nameC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) AppendInside(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_AppendInside(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) AppendInside2(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_AppendInside2(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) AppendOutside(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_AppendOutside(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) AppendOutside2(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_AppendOutside2(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) Attribute(name string, defaultValue string) string { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + var defaultValueC = C.CString(defaultValue) | |
| + defer C.free(unsafe.Pointer(defaultValueC)) | |
| + return C.GoString(C.QWebElement_Attribute(ptr.Pointer(), nameC, defaultValueC)) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) AttributeNS(namespaceUri string, name string, defaultValue string) string { | |
| + if ptr.Pointer() != nil { | |
| + var namespaceUriC = C.CString(namespaceUri) | |
| + defer C.free(unsafe.Pointer(namespaceUriC)) | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + var defaultValueC = C.CString(defaultValue) | |
| + defer C.free(unsafe.Pointer(defaultValueC)) | |
| + return C.GoString(C.QWebElement_AttributeNS(ptr.Pointer(), namespaceUriC, nameC, defaultValueC)) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) AttributeNames(namespaceUri string) []string { | |
| + if ptr.Pointer() != nil { | |
| + var namespaceUriC = C.CString(namespaceUri) | |
| + defer C.free(unsafe.Pointer(namespaceUriC)) | |
| + return strings.Split(C.GoString(C.QWebElement_AttributeNames(ptr.Pointer(), namespaceUriC)), "|") | |
| + } | |
| + return make([]string, 0) | |
| +} | |
| + | |
| +func (ptr *QWebElement) Classes() []string { | |
| + if ptr.Pointer() != nil { | |
| + return strings.Split(C.GoString(C.QWebElement_Classes(ptr.Pointer())), "|") | |
| + } | |
| + return make([]string, 0) | |
| +} | |
| + | |
| +func (ptr *QWebElement) Clone() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_Clone(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) Document() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_Document(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) EncloseContentsWith2(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_EncloseContentsWith2(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) EncloseContentsWith(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_EncloseContentsWith(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) EncloseWith(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_EncloseWith(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) EncloseWith2(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_EncloseWith2(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) EvaluateJavaScript(scriptSource string) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var scriptSourceC = C.CString(scriptSource) | |
| + defer C.free(unsafe.Pointer(scriptSourceC)) | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebElement_EvaluateJavaScript(ptr.Pointer(), scriptSourceC)) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) FindAll(selectorQuery string) *QWebElementCollection { | |
| + if ptr.Pointer() != nil { | |
| + var selectorQueryC = C.CString(selectorQuery) | |
| + defer C.free(unsafe.Pointer(selectorQueryC)) | |
| + var tmpValue = NewQWebElementCollectionFromPointer(C.QWebElement_FindAll(ptr.Pointer(), selectorQueryC)) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElementCollection).DestroyQWebElementCollection) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) FindFirst(selectorQuery string) *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var selectorQueryC = C.CString(selectorQuery) | |
| + defer C.free(unsafe.Pointer(selectorQueryC)) | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_FindFirst(ptr.Pointer(), selectorQueryC)) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) FirstChild() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_FirstChild(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) Geometry() *core.QRect { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQRectFromPointer(C.QWebElement_Geometry(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QRect).DestroyQRect) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) HasAttribute(name string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + return C.QWebElement_HasAttribute(ptr.Pointer(), nameC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebElement) HasAttributeNS(namespaceUri string, name string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var namespaceUriC = C.CString(namespaceUri) | |
| + defer C.free(unsafe.Pointer(namespaceUriC)) | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + return C.QWebElement_HasAttributeNS(ptr.Pointer(), namespaceUriC, nameC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebElement) HasAttributes() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebElement_HasAttributes(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebElement) HasClass(name string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + return C.QWebElement_HasClass(ptr.Pointer(), nameC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebElement) HasFocus() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebElement_HasFocus(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebElement) IsNull() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebElement_IsNull(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebElement) LastChild() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_LastChild(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) LocalName() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_LocalName(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) NamespaceUri() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_NamespaceUri(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) NextSibling() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_NextSibling(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) Parent() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_Parent(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) Prefix() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_Prefix(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) PrependInside(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_PrependInside(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) PrependInside2(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_PrependInside2(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) PrependOutside(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_PrependOutside(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) PrependOutside2(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_PrependOutside2(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) PreviousSibling() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_PreviousSibling(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) RemoveAllChildren() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_RemoveAllChildren(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) RemoveAttribute(name string) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + C.QWebElement_RemoveAttribute(ptr.Pointer(), nameC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) RemoveAttributeNS(namespaceUri string, name string) { | |
| + if ptr.Pointer() != nil { | |
| + var namespaceUriC = C.CString(namespaceUri) | |
| + defer C.free(unsafe.Pointer(namespaceUriC)) | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + C.QWebElement_RemoveAttributeNS(ptr.Pointer(), namespaceUriC, nameC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) RemoveClass(name string) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + C.QWebElement_RemoveClass(ptr.Pointer(), nameC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) RemoveFromDocument() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_RemoveFromDocument(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) Render(painter gui.QPainter_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_Render(ptr.Pointer(), gui.PointerFromQPainter(painter)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) Render2(painter gui.QPainter_ITF, clip core.QRect_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_Render2(ptr.Pointer(), gui.PointerFromQPainter(painter), core.PointerFromQRect(clip)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) Replace(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_Replace(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) Replace2(element QWebElement_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_Replace2(ptr.Pointer(), PointerFromQWebElement(element)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetAttribute(name string, value string) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + var valueC = C.CString(value) | |
| + defer C.free(unsafe.Pointer(valueC)) | |
| + C.QWebElement_SetAttribute(ptr.Pointer(), nameC, valueC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetAttributeNS(namespaceUri string, name string, value string) { | |
| + if ptr.Pointer() != nil { | |
| + var namespaceUriC = C.CString(namespaceUri) | |
| + defer C.free(unsafe.Pointer(namespaceUriC)) | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + var valueC = C.CString(value) | |
| + defer C.free(unsafe.Pointer(valueC)) | |
| + C.QWebElement_SetAttributeNS(ptr.Pointer(), namespaceUriC, nameC, valueC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetFocus() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_SetFocus(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetInnerXml(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_SetInnerXml(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetOuterXml(markup string) { | |
| + if ptr.Pointer() != nil { | |
| + var markupC = C.CString(markup) | |
| + defer C.free(unsafe.Pointer(markupC)) | |
| + C.QWebElement_SetOuterXml(ptr.Pointer(), markupC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetPlainText(text string) { | |
| + if ptr.Pointer() != nil { | |
| + var textC = C.CString(text) | |
| + defer C.free(unsafe.Pointer(textC)) | |
| + C.QWebElement_SetPlainText(ptr.Pointer(), textC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) SetStyleProperty(name string, value string) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + var valueC = C.CString(value) | |
| + defer C.free(unsafe.Pointer(valueC)) | |
| + C.QWebElement_SetStyleProperty(ptr.Pointer(), nameC, valueC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) StyleProperty(name string, strategy QWebElement__StyleResolveStrategy) string { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + return C.GoString(C.QWebElement_StyleProperty(ptr.Pointer(), nameC, C.longlong(strategy))) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) TagName() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_TagName(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) TakeFromDocument() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElement_TakeFromDocument(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) ToInnerXml() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_ToInnerXml(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) ToOuterXml() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_ToOuterXml(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) ToPlainText() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebElement_ToPlainText(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebElement) ToggleClass(name string) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + C.QWebElement_ToggleClass(ptr.Pointer(), nameC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElement) WebFrame() *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebElement_WebFrame(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElement) DestroyQWebElement() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElement_DestroyQWebElement(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +type QWebElementCollection struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebElementCollection_ITF interface { | |
| + QWebElementCollection_PTR() *QWebElementCollection | |
| +} | |
| + | |
| +func (p *QWebElementCollection) QWebElementCollection_PTR() *QWebElementCollection { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebElementCollection) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebElementCollection) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebElementCollection(ptr QWebElementCollection_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebElementCollection_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebElementCollectionFromPointer(ptr unsafe.Pointer) *QWebElementCollection { | |
| + var n = new(QWebElementCollection) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebElementCollection() *QWebElementCollection { | |
| + var tmpValue = NewQWebElementCollectionFromPointer(C.QWebElementCollection_NewQWebElementCollection()) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElementCollection).DestroyQWebElementCollection) | |
| + return tmpValue | |
| +} | |
| + | |
| +func NewQWebElementCollection2(contextElement QWebElement_ITF, query string) *QWebElementCollection { | |
| + var queryC = C.CString(query) | |
| + defer C.free(unsafe.Pointer(queryC)) | |
| + var tmpValue = NewQWebElementCollectionFromPointer(C.QWebElementCollection_NewQWebElementCollection2(PointerFromQWebElement(contextElement), queryC)) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElementCollection).DestroyQWebElementCollection) | |
| + return tmpValue | |
| +} | |
| + | |
| +func NewQWebElementCollection3(other QWebElementCollection_ITF) *QWebElementCollection { | |
| + var tmpValue = NewQWebElementCollectionFromPointer(C.QWebElementCollection_NewQWebElementCollection3(PointerFromQWebElementCollection(other))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElementCollection).DestroyQWebElementCollection) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebElementCollection) Append(other QWebElementCollection_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElementCollection_Append(ptr.Pointer(), PointerFromQWebElementCollection(other)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebElementCollection) At(i int) *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElementCollection_At(ptr.Pointer(), C.int(int32(i)))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElementCollection) Count() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebElementCollection_Count(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebElementCollection) First() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElementCollection_First(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElementCollection) Last() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebElementCollection_Last(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebElementCollection) DestroyQWebElementCollection() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebElementCollection_DestroyQWebElementCollection(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//QWebFrame::RenderLayer | |
| +type QWebFrame__RenderLayer int64 | |
| + | |
| +const ( | |
| + QWebFrame__ContentsLayer = QWebFrame__RenderLayer(0x10) | |
| + QWebFrame__ScrollBarLayer = QWebFrame__RenderLayer(0x20) | |
| + QWebFrame__PanIconLayer = QWebFrame__RenderLayer(0x40) | |
| + QWebFrame__AllLayers = QWebFrame__RenderLayer(0xff) | |
| +) | |
| + | |
| +//QWebFrame::ValueOwnership | |
| +type QWebFrame__ValueOwnership int64 | |
| + | |
| +const ( | |
| + QWebFrame__QtOwnership = QWebFrame__ValueOwnership(0) | |
| + QWebFrame__ScriptOwnership = QWebFrame__ValueOwnership(1) | |
| + QWebFrame__AutoOwnership = QWebFrame__ValueOwnership(2) | |
| +) | |
| + | |
| +type QWebFrame struct { | |
| + core.QObject | |
| +} | |
| + | |
| +type QWebFrame_ITF interface { | |
| + core.QObject_ITF | |
| + QWebFrame_PTR() *QWebFrame | |
| +} | |
| + | |
| +func (p *QWebFrame) QWebFrame_PTR() *QWebFrame { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebFrame) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QObject_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebFrame) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QObject_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebFrame(ptr QWebFrame_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebFrame_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebFrameFromPointer(ptr unsafe.Pointer) *QWebFrame { | |
| + var n = new(QWebFrame) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DestroyQWebFrame() { | |
| + C.free(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| +} | |
| + | |
| +func (ptr *QWebFrame) AddToJavaScriptWindowObject(name string, object core.QObject_ITF, own QWebFrame__ValueOwnership) { | |
| + if ptr.Pointer() != nil { | |
| + var nameC = C.CString(name) | |
| + defer C.free(unsafe.Pointer(nameC)) | |
| + C.QWebFrame_AddToJavaScriptWindowObject(ptr.Pointer(), nameC, core.PointerFromQObject(object), C.longlong(own)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) BaseUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebFrame_BaseUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ContentsSize() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebFrame_ContentsSize(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) HasFocus() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebFrame_HasFocus(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Icon() *gui.QIcon { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQIconFromPointer(C.QWebFrame_Icon(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QIcon).DestroyQIcon) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) RequestedUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebFrame_RequestedUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollPosition() *core.QPoint { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQPointFromPointer(C.QWebFrame_ScrollPosition(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QPoint).DestroyQPoint) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetScrollPosition(pos core.QPoint_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetScrollPosition(ptr.Pointer(), core.PointerFromQPoint(pos)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetUrl(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetUrl(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetZoomFactor(factor float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetZoomFactor(ptr.Pointer(), C.double(factor)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Title() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebFrame_Title(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Url() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebFrame_Url(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ZoomFactor() float64 { | |
| + if ptr.Pointer() != nil { | |
| + return float64(C.QWebFrame_ZoomFactor(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebFrame_ContentsSizeChanged | |
| +func callbackQWebFrame_ContentsSizeChanged(ptr unsafe.Pointer, size unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::contentsSizeChanged"); signal != nil { | |
| + signal.(func(*core.QSize))(core.NewQSizeFromPointer(size)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectContentsSizeChanged(f func(size *core.QSize)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectContentsSizeChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::contentsSizeChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectContentsSizeChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectContentsSizeChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::contentsSizeChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ContentsSizeChanged(size core.QSize_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ContentsSizeChanged(ptr.Pointer(), core.PointerFromQSize(size)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DocumentElement() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebFrame_DocumentElement(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebFrame_EvaluateJavaScript | |
| +func callbackQWebFrame_EvaluateJavaScript(ptr unsafe.Pointer, scriptSource *C.char) unsafe.Pointer { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::evaluateJavaScript"); signal != nil { | |
| + return core.PointerFromQVariant(signal.(func(string) *core.QVariant)(C.GoString(scriptSource))) | |
| + } | |
| + | |
| + return core.PointerFromQVariant(nil) | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectEvaluateJavaScript(f func(scriptSource string) *core.QVariant) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::evaluateJavaScript", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectEvaluateJavaScript(scriptSource string) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::evaluateJavaScript") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) EvaluateJavaScript(scriptSource string) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var scriptSourceC = C.CString(scriptSource) | |
| + defer C.free(unsafe.Pointer(scriptSourceC)) | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebFrame_EvaluateJavaScript(ptr.Pointer(), scriptSourceC)) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebFrame_Event | |
| +func callbackQWebFrame_Event(ptr unsafe.Pointer, e unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::event"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(e))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebFrameFromPointer(ptr).EventDefault(core.NewQEventFromPointer(e))))) | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectEvent(f func(e *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::event", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::event") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Event(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebFrame_Event(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebFrame) EventDefault(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebFrame_EventDefault(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebFrame) FindAllElements(selectorQuery string) *QWebElementCollection { | |
| + if ptr.Pointer() != nil { | |
| + var selectorQueryC = C.CString(selectorQuery) | |
| + defer C.free(unsafe.Pointer(selectorQueryC)) | |
| + var tmpValue = NewQWebElementCollectionFromPointer(C.QWebFrame_FindAllElements(ptr.Pointer(), selectorQueryC)) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElementCollection).DestroyQWebElementCollection) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) FindFirstElement(selectorQuery string) *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var selectorQueryC = C.CString(selectorQuery) | |
| + defer C.free(unsafe.Pointer(selectorQueryC)) | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebFrame_FindFirstElement(ptr.Pointer(), selectorQueryC)) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) FrameName() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebFrame_FrameName(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Geometry() *core.QRect { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQRectFromPointer(C.QWebFrame_Geometry(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QRect).DestroyQRect) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) HitTestContent(pos core.QPoint_ITF) *QWebHitTestResult { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebHitTestResultFromPointer(C.QWebFrame_HitTestContent(ptr.Pointer(), core.PointerFromQPoint(pos))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHitTestResult).DestroyQWebHitTestResult) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebFrame_IconChanged | |
| +func callbackQWebFrame_IconChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::iconChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectIconChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectIconChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::iconChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectIconChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectIconChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::iconChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) IconChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_IconChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_InitialLayoutCompleted | |
| +func callbackQWebFrame_InitialLayoutCompleted(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::initialLayoutCompleted"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectInitialLayoutCompleted(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectInitialLayoutCompleted(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::initialLayoutCompleted", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectInitialLayoutCompleted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectInitialLayoutCompleted(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::initialLayoutCompleted") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) InitialLayoutCompleted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_InitialLayoutCompleted(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_JavaScriptWindowObjectCleared | |
| +func callbackQWebFrame_JavaScriptWindowObjectCleared(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::javaScriptWindowObjectCleared"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectJavaScriptWindowObjectCleared(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectJavaScriptWindowObjectCleared(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::javaScriptWindowObjectCleared", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectJavaScriptWindowObjectCleared() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectJavaScriptWindowObjectCleared(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::javaScriptWindowObjectCleared") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) JavaScriptWindowObjectCleared() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_JavaScriptWindowObjectCleared(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Load2(req network.QNetworkRequest_ITF, operation network.QNetworkAccessManager__Operation, body string) { | |
| + if ptr.Pointer() != nil { | |
| + var bodyC = C.CString(hex.EncodeToString([]byte(body))) | |
| + defer C.free(unsafe.Pointer(bodyC)) | |
| + C.QWebFrame_Load2(ptr.Pointer(), network.PointerFromQNetworkRequest(req), C.longlong(operation), bodyC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Load(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_Load(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_LoadFinished | |
| +func callbackQWebFrame_LoadFinished(ptr unsafe.Pointer, ok C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::loadFinished"); signal != nil { | |
| + signal.(func(bool))(int8(ok) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectLoadFinished(f func(ok bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectLoadFinished(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::loadFinished", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectLoadFinished() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectLoadFinished(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::loadFinished") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) LoadFinished(ok bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_LoadFinished(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(ok)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_LoadStarted | |
| +func callbackQWebFrame_LoadStarted(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::loadStarted"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectLoadStarted(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectLoadStarted(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::loadStarted", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectLoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectLoadStarted(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::loadStarted") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) LoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_LoadStarted(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Page() *QWebPage { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPageFromPointer(C.QWebFrame_Page(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebFrame_PageChanged | |
| +func callbackQWebFrame_PageChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::pageChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectPageChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectPageChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::pageChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectPageChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectPageChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::pageChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) PageChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_PageChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ParentFrame() *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebFrame_ParentFrame(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Pos() *core.QPoint { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQPointFromPointer(C.QWebFrame_Pos(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QPoint).DestroyQPoint) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebFrame_Print | |
| +func callbackQWebFrame_Print(ptr unsafe.Pointer, printer unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::print"); signal != nil { | |
| + signal.(func(*printsupport.QPrinter))(printsupport.NewQPrinterFromPointer(printer)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectPrint(f func(printer *printsupport.QPrinter)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::print", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectPrint(printer printsupport.QPrinter_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::print") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Print(printer printsupport.QPrinter_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_Print(ptr.Pointer(), printsupport.PointerFromQPrinter(printer)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Render2(painter gui.QPainter_ITF, layer QWebFrame__RenderLayer, clip gui.QRegion_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_Render2(ptr.Pointer(), gui.PointerFromQPainter(painter), C.longlong(layer), gui.PointerFromQRegion(clip)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Render(painter gui.QPainter_ITF, clip gui.QRegion_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_Render(ptr.Pointer(), gui.PointerFromQPainter(painter), gui.PointerFromQRegion(clip)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) Scroll(dx int, dy int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_Scroll(ptr.Pointer(), C.int(int32(dx)), C.int(int32(dy))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollBarGeometry(orientation core.Qt__Orientation) *core.QRect { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQRectFromPointer(C.QWebFrame_ScrollBarGeometry(ptr.Pointer(), C.longlong(orientation))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QRect).DestroyQRect) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollBarMaximum(orientation core.Qt__Orientation) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebFrame_ScrollBarMaximum(ptr.Pointer(), C.longlong(orientation)))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollBarMinimum(orientation core.Qt__Orientation) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebFrame_ScrollBarMinimum(ptr.Pointer(), C.longlong(orientation)))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollBarPolicy(orientation core.Qt__Orientation) core.Qt__ScrollBarPolicy { | |
| + if ptr.Pointer() != nil { | |
| + return core.Qt__ScrollBarPolicy(C.QWebFrame_ScrollBarPolicy(ptr.Pointer(), C.longlong(orientation))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollBarValue(orientation core.Qt__Orientation) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebFrame_ScrollBarValue(ptr.Pointer(), C.longlong(orientation)))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ScrollToAnchor(anchor string) { | |
| + if ptr.Pointer() != nil { | |
| + var anchorC = C.CString(anchor) | |
| + defer C.free(unsafe.Pointer(anchorC)) | |
| + C.QWebFrame_ScrollToAnchor(ptr.Pointer(), anchorC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SecurityOrigin() *QWebSecurityOrigin { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebSecurityOriginFromPointer(C.QWebFrame_SecurityOrigin(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebSecurityOrigin).DestroyQWebSecurityOrigin) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetContent(data string, mimeType string, baseUrl core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + var dataC = C.CString(hex.EncodeToString([]byte(data))) | |
| + defer C.free(unsafe.Pointer(dataC)) | |
| + var mimeTypeC = C.CString(mimeType) | |
| + defer C.free(unsafe.Pointer(mimeTypeC)) | |
| + C.QWebFrame_SetContent(ptr.Pointer(), dataC, mimeTypeC, core.PointerFromQUrl(baseUrl)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetFocus() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetFocus(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetHtml(html string, baseUrl core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + var htmlC = C.CString(html) | |
| + defer C.free(unsafe.Pointer(htmlC)) | |
| + C.QWebFrame_SetHtml(ptr.Pointer(), htmlC, core.PointerFromQUrl(baseUrl)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetScrollBarPolicy(orientation core.Qt__Orientation, policy core.Qt__ScrollBarPolicy) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetScrollBarPolicy(ptr.Pointer(), C.longlong(orientation), C.longlong(policy)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetScrollBarValue(orientation core.Qt__Orientation, value int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetScrollBarValue(ptr.Pointer(), C.longlong(orientation), C.int(int32(value))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) SetTextSizeMultiplier(factor float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_SetTextSizeMultiplier(ptr.Pointer(), C.double(factor)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) TextSizeMultiplier() float64 { | |
| + if ptr.Pointer() != nil { | |
| + return float64(C.QWebFrame_TextSizeMultiplier(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebFrame_TitleChanged | |
| +func callbackQWebFrame_TitleChanged(ptr unsafe.Pointer, title *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::titleChanged"); signal != nil { | |
| + signal.(func(string))(C.GoString(title)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectTitleChanged(f func(title string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectTitleChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::titleChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectTitleChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectTitleChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::titleChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) TitleChanged(title string) { | |
| + if ptr.Pointer() != nil { | |
| + var titleC = C.CString(title) | |
| + defer C.free(unsafe.Pointer(titleC)) | |
| + C.QWebFrame_TitleChanged(ptr.Pointer(), titleC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ToHtml() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebFrame_ToHtml(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ToPlainText() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebFrame_ToPlainText(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +//export callbackQWebFrame_UrlChanged | |
| +func callbackQWebFrame_UrlChanged(ptr unsafe.Pointer, url unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::urlChanged"); signal != nil { | |
| + signal.(func(*core.QUrl))(core.NewQUrlFromPointer(url)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectUrlChanged(f func(url *core.QUrl)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectUrlChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::urlChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectUrlChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectUrlChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::urlChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) UrlChanged(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_UrlChanged(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_TimerEvent | |
| +func callbackQWebFrame_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQWebFrameFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_ChildEvent | |
| +func callbackQWebFrame_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQWebFrameFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_ConnectNotify | |
| +func callbackQWebFrame_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebFrameFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_CustomEvent | |
| +func callbackQWebFrame_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebFrameFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_DeleteLater | |
| +func callbackQWebFrame_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebFrameFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_DisconnectNotify | |
| +func callbackQWebFrame_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebFrameFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebFrame_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebFrame_EventFilter | |
| +func callbackQWebFrame_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebFrameFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebFrame_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebFrame) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebFrame_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebFrame_MetaObject | |
| +func callbackQWebFrame_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebFrame::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQWebFrameFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebFrame) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebFrame::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebFrame) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebFrame_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebFrame) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebFrame_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +type QWebHistory struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebHistory_ITF interface { | |
| + QWebHistory_PTR() *QWebHistory | |
| +} | |
| + | |
| +func (p *QWebHistory) QWebHistory_PTR() *QWebHistory { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebHistory) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebHistory) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebHistory(ptr QWebHistory_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebHistory_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebHistoryFromPointer(ptr unsafe.Pointer) *QWebHistory { | |
| + var n = new(QWebHistory) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| + | |
| +func (ptr *QWebHistory) DestroyQWebHistory() { | |
| + C.free(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| +} | |
| + | |
| +func (ptr *QWebHistory) Back() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistory_Back(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistory) BackItem() *QWebHistoryItem { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebHistoryItemFromPointer(C.QWebHistory_BackItem(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHistoryItem).DestroyQWebHistoryItem) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistory) CanGoBack() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistory_CanGoBack(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHistory) CanGoForward() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistory_CanGoForward(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHistory) Clear() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistory_Clear(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistory) Count() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebHistory_Count(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebHistory) CurrentItem() *QWebHistoryItem { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebHistoryItemFromPointer(C.QWebHistory_CurrentItem(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHistoryItem).DestroyQWebHistoryItem) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistory) CurrentItemIndex() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebHistory_CurrentItemIndex(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebHistory) Forward() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistory_Forward(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistory) ForwardItem() *QWebHistoryItem { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebHistoryItemFromPointer(C.QWebHistory_ForwardItem(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHistoryItem).DestroyQWebHistoryItem) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistory) GoToItem(item QWebHistoryItem_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistory_GoToItem(ptr.Pointer(), PointerFromQWebHistoryItem(item)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistory) ItemAt(i int) *QWebHistoryItem { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebHistoryItemFromPointer(C.QWebHistory_ItemAt(ptr.Pointer(), C.int(int32(i)))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHistoryItem).DestroyQWebHistoryItem) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistory) MaximumItemCount() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebHistory_MaximumItemCount(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebHistory) SetMaximumItemCount(count int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistory_SetMaximumItemCount(ptr.Pointer(), C.int(int32(count))) | |
| + } | |
| +} | |
| + | |
| +type QWebHistoryInterface struct { | |
| + core.QObject | |
| +} | |
| + | |
| +type QWebHistoryInterface_ITF interface { | |
| + core.QObject_ITF | |
| + QWebHistoryInterface_PTR() *QWebHistoryInterface | |
| +} | |
| + | |
| +func (p *QWebHistoryInterface) QWebHistoryInterface_PTR() *QWebHistoryInterface { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebHistoryInterface) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QObject_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebHistoryInterface) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QObject_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebHistoryInterface(ptr QWebHistoryInterface_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebHistoryInterface_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebHistoryInterfaceFromPointer(ptr unsafe.Pointer) *QWebHistoryInterface { | |
| + var n = new(QWebHistoryInterface) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebHistoryInterface(parent core.QObject_ITF) *QWebHistoryInterface { | |
| + var tmpValue = NewQWebHistoryInterfaceFromPointer(C.QWebHistoryInterface_NewQWebHistoryInterface(core.PointerFromQObject(parent))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_AddHistoryEntry | |
| +func callbackQWebHistoryInterface_AddHistoryEntry(ptr unsafe.Pointer, url *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::addHistoryEntry"); signal != nil { | |
| + signal.(func(string))(C.GoString(url)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectAddHistoryEntry(f func(url string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::addHistoryEntry", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectAddHistoryEntry(url string) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::addHistoryEntry") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) AddHistoryEntry(url string) { | |
| + if ptr.Pointer() != nil { | |
| + var urlC = C.CString(url) | |
| + defer C.free(unsafe.Pointer(urlC)) | |
| + C.QWebHistoryInterface_AddHistoryEntry(ptr.Pointer(), urlC) | |
| + } | |
| +} | |
| + | |
| +func QWebHistoryInterface_DefaultInterface() *QWebHistoryInterface { | |
| + var tmpValue = NewQWebHistoryInterfaceFromPointer(C.QWebHistoryInterface_QWebHistoryInterface_DefaultInterface()) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DefaultInterface() *QWebHistoryInterface { | |
| + var tmpValue = NewQWebHistoryInterfaceFromPointer(C.QWebHistoryInterface_QWebHistoryInterface_DefaultInterface()) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_HistoryContains | |
| +func callbackQWebHistoryInterface_HistoryContains(ptr unsafe.Pointer, url *C.char) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::historyContains"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(string) bool)(C.GoString(url))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(false))) | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectHistoryContains(f func(url string) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::historyContains", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectHistoryContains(url string) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::historyContains") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) HistoryContains(url string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var urlC = C.CString(url) | |
| + defer C.free(unsafe.Pointer(urlC)) | |
| + return C.QWebHistoryInterface_HistoryContains(ptr.Pointer(), urlC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func QWebHistoryInterface_SetDefaultInterface(defaultInterface QWebHistoryInterface_ITF) { | |
| + C.QWebHistoryInterface_QWebHistoryInterface_SetDefaultInterface(PointerFromQWebHistoryInterface(defaultInterface)) | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) SetDefaultInterface(defaultInterface QWebHistoryInterface_ITF) { | |
| + C.QWebHistoryInterface_QWebHistoryInterface_SetDefaultInterface(PointerFromQWebHistoryInterface(defaultInterface)) | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DestroyQWebHistoryInterface() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_DestroyQWebHistoryInterface(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_TimerEvent | |
| +func callbackQWebHistoryInterface_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQWebHistoryInterfaceFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_ChildEvent | |
| +func callbackQWebHistoryInterface_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQWebHistoryInterfaceFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_ConnectNotify | |
| +func callbackQWebHistoryInterface_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebHistoryInterfaceFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_CustomEvent | |
| +func callbackQWebHistoryInterface_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebHistoryInterfaceFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_DeleteLater | |
| +func callbackQWebHistoryInterface_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebHistoryInterfaceFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_DisconnectNotify | |
| +func callbackQWebHistoryInterface_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebHistoryInterfaceFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryInterface_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_Event | |
| +func callbackQWebHistoryInterface_Event(ptr unsafe.Pointer, e unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::event"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(e))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebHistoryInterfaceFromPointer(ptr).EventDefault(core.NewQEventFromPointer(e))))) | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectEvent(f func(e *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::event", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::event") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) Event(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistoryInterface_Event(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) EventDefault(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistoryInterface_EventDefault(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_EventFilter | |
| +func callbackQWebHistoryInterface_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebHistoryInterfaceFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistoryInterface_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistoryInterface_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebHistoryInterface_MetaObject | |
| +func callbackQWebHistoryInterface_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebHistoryInterface::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQWebHistoryInterfaceFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebHistoryInterface::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebHistoryInterface_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistoryInterface) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebHistoryInterface_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +type QWebHistoryItem struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebHistoryItem_ITF interface { | |
| + QWebHistoryItem_PTR() *QWebHistoryItem | |
| +} | |
| + | |
| +func (p *QWebHistoryItem) QWebHistoryItem_PTR() *QWebHistoryItem { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebHistoryItem) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebHistoryItem) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebHistoryItem(ptr QWebHistoryItem_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebHistoryItem_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebHistoryItemFromPointer(ptr unsafe.Pointer) *QWebHistoryItem { | |
| + var n = new(QWebHistoryItem) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebHistoryItem(other QWebHistoryItem_ITF) *QWebHistoryItem { | |
| + var tmpValue = NewQWebHistoryItemFromPointer(C.QWebHistoryItem_NewQWebHistoryItem(PointerFromQWebHistoryItem(other))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHistoryItem).DestroyQWebHistoryItem) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) Icon() *gui.QIcon { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQIconFromPointer(C.QWebHistoryItem_Icon(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QIcon).DestroyQIcon) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) IsValid() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHistoryItem_IsValid(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) LastVisited() *core.QDateTime { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQDateTimeFromPointer(C.QWebHistoryItem_LastVisited(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QDateTime).DestroyQDateTime) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) OriginalUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebHistoryItem_OriginalUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) SetUserData(userData core.QVariant_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryItem_SetUserData(ptr.Pointer(), core.PointerFromQVariant(userData)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) Title() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebHistoryItem_Title(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) Url() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebHistoryItem_Url(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) UserData() *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebHistoryItem_UserData(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHistoryItem) DestroyQWebHistoryItem() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHistoryItem_DestroyQWebHistoryItem(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +type QWebHitTestResult struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebHitTestResult_ITF interface { | |
| + QWebHitTestResult_PTR() *QWebHitTestResult | |
| +} | |
| + | |
| +func (p *QWebHitTestResult) QWebHitTestResult_PTR() *QWebHitTestResult { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebHitTestResult) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebHitTestResult) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebHitTestResult(ptr QWebHitTestResult_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebHitTestResult_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebHitTestResultFromPointer(ptr unsafe.Pointer) *QWebHitTestResult { | |
| + var n = new(QWebHitTestResult) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebHitTestResult() *QWebHitTestResult { | |
| + var tmpValue = NewQWebHitTestResultFromPointer(C.QWebHitTestResult_NewQWebHitTestResult()) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHitTestResult).DestroyQWebHitTestResult) | |
| + return tmpValue | |
| +} | |
| + | |
| +func NewQWebHitTestResult2(other QWebHitTestResult_ITF) *QWebHitTestResult { | |
| + var tmpValue = NewQWebHitTestResultFromPointer(C.QWebHitTestResult_NewQWebHitTestResult2(PointerFromQWebHitTestResult(other))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebHitTestResult).DestroyQWebHitTestResult) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) AlternateText() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebHitTestResult_AlternateText(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) BoundingRect() *core.QRect { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQRectFromPointer(C.QWebHitTestResult_BoundingRect(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QRect).DestroyQRect) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) Element() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebHitTestResult_Element(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) EnclosingBlockElement() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebHitTestResult_EnclosingBlockElement(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) Frame() *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebHitTestResult_Frame(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) ImageUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebHitTestResult_ImageUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) IsContentEditable() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHitTestResult_IsContentEditable(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) IsContentSelected() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHitTestResult_IsContentSelected(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) IsNull() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebHitTestResult_IsNull(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) LinkElement() *QWebElement { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebElementFromPointer(C.QWebHitTestResult_LinkElement(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*QWebElement).DestroyQWebElement) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) LinkTargetFrame() *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebHitTestResult_LinkTargetFrame(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) LinkText() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebHitTestResult_LinkText(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) LinkTitleString() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebHitTestResult_LinkTitleString(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) LinkUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebHitTestResult_LinkUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) MediaUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebHitTestResult_MediaUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) Pixmap() *gui.QPixmap { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQPixmapFromPointer(C.QWebHitTestResult_Pixmap(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPixmap).DestroyQPixmap) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) Pos() *core.QPoint { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQPointFromPointer(C.QWebHitTestResult_Pos(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QPoint).DestroyQPoint) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) Title() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebHitTestResult_Title(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebHitTestResult) DestroyQWebHitTestResult() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebHitTestResult_DestroyQWebHitTestResult(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +type QWebInspector struct { | |
| + widgets.QWidget | |
| +} | |
| + | |
| +type QWebInspector_ITF interface { | |
| + widgets.QWidget_ITF | |
| + QWebInspector_PTR() *QWebInspector | |
| +} | |
| + | |
| +func (p *QWebInspector) QWebInspector_PTR() *QWebInspector { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebInspector) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QWidget_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebInspector) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QWidget_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebInspector(ptr QWebInspector_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebInspector_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebInspectorFromPointer(ptr unsafe.Pointer) *QWebInspector { | |
| + var n = new(QWebInspector) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func NewQWebInspector(parent widgets.QWidget_ITF) *QWebInspector { | |
| + var tmpValue = NewQWebInspectorFromPointer(C.QWebInspector_NewQWebInspector(widgets.PointerFromQWidget(parent))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebInspector) CloseEvent(event gui.QCloseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_CloseEvent(ptr.Pointer(), gui.PointerFromQCloseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Event(ev core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_Event(ptr.Pointer(), core.PointerFromQEvent(ev)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebInspector) HideEvent(event gui.QHideEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_HideEvent(ptr.Pointer(), gui.PointerFromQHideEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Page() *QWebPage { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPageFromPointer(C.QWebInspector_Page(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ResizeEvent(event gui.QResizeEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ResizeEvent(ptr.Pointer(), gui.PointerFromQResizeEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetPage(page QWebPage_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetPage(ptr.Pointer(), PointerFromQWebPage(page)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowEvent(event gui.QShowEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowEvent(ptr.Pointer(), gui.PointerFromQShowEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SizeHint() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebInspector_SizeHint(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DestroyQWebInspector() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DestroyQWebInspector(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ActionEvent | |
| +func callbackQWebInspector_ActionEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::actionEvent"); signal != nil { | |
| + signal.(func(*gui.QActionEvent))(gui.NewQActionEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ActionEventDefault(gui.NewQActionEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectActionEvent(f func(event *gui.QActionEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::actionEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectActionEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::actionEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ActionEvent(event gui.QActionEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ActionEvent(ptr.Pointer(), gui.PointerFromQActionEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ActionEventDefault(event gui.QActionEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ActionEventDefault(ptr.Pointer(), gui.PointerFromQActionEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_DragEnterEvent | |
| +func callbackQWebInspector_DragEnterEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::dragEnterEvent"); signal != nil { | |
| + signal.(func(*gui.QDragEnterEvent))(gui.NewQDragEnterEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).DragEnterEventDefault(gui.NewQDragEnterEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectDragEnterEvent(f func(event *gui.QDragEnterEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dragEnterEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectDragEnterEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dragEnterEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DragEnterEvent(event gui.QDragEnterEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DragEnterEvent(ptr.Pointer(), gui.PointerFromQDragEnterEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DragEnterEventDefault(event gui.QDragEnterEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DragEnterEventDefault(ptr.Pointer(), gui.PointerFromQDragEnterEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_DragLeaveEvent | |
| +func callbackQWebInspector_DragLeaveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::dragLeaveEvent"); signal != nil { | |
| + signal.(func(*gui.QDragLeaveEvent))(gui.NewQDragLeaveEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).DragLeaveEventDefault(gui.NewQDragLeaveEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectDragLeaveEvent(f func(event *gui.QDragLeaveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dragLeaveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectDragLeaveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dragLeaveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DragLeaveEvent(event gui.QDragLeaveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DragLeaveEvent(ptr.Pointer(), gui.PointerFromQDragLeaveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DragLeaveEventDefault(event gui.QDragLeaveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DragLeaveEventDefault(ptr.Pointer(), gui.PointerFromQDragLeaveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_DragMoveEvent | |
| +func callbackQWebInspector_DragMoveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::dragMoveEvent"); signal != nil { | |
| + signal.(func(*gui.QDragMoveEvent))(gui.NewQDragMoveEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).DragMoveEventDefault(gui.NewQDragMoveEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectDragMoveEvent(f func(event *gui.QDragMoveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dragMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectDragMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dragMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DragMoveEvent(event gui.QDragMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DragMoveEvent(ptr.Pointer(), gui.PointerFromQDragMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DragMoveEventDefault(event gui.QDragMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DragMoveEventDefault(ptr.Pointer(), gui.PointerFromQDragMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_DropEvent | |
| +func callbackQWebInspector_DropEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::dropEvent"); signal != nil { | |
| + signal.(func(*gui.QDropEvent))(gui.NewQDropEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).DropEventDefault(gui.NewQDropEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectDropEvent(f func(event *gui.QDropEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dropEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectDropEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::dropEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DropEvent(event gui.QDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DropEvent(ptr.Pointer(), gui.PointerFromQDropEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DropEventDefault(event gui.QDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DropEventDefault(ptr.Pointer(), gui.PointerFromQDropEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_EnterEvent | |
| +func callbackQWebInspector_EnterEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::enterEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).EnterEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectEnterEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::enterEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectEnterEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::enterEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) EnterEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_EnterEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) EnterEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_EnterEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_FocusInEvent | |
| +func callbackQWebInspector_FocusInEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::focusInEvent"); signal != nil { | |
| + signal.(func(*gui.QFocusEvent))(gui.NewQFocusEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).FocusInEventDefault(gui.NewQFocusEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectFocusInEvent(f func(event *gui.QFocusEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::focusInEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectFocusInEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::focusInEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) FocusInEvent(event gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_FocusInEvent(ptr.Pointer(), gui.PointerFromQFocusEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) FocusInEventDefault(event gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_FocusInEventDefault(ptr.Pointer(), gui.PointerFromQFocusEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_FocusOutEvent | |
| +func callbackQWebInspector_FocusOutEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::focusOutEvent"); signal != nil { | |
| + signal.(func(*gui.QFocusEvent))(gui.NewQFocusEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).FocusOutEventDefault(gui.NewQFocusEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectFocusOutEvent(f func(event *gui.QFocusEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::focusOutEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectFocusOutEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::focusOutEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) FocusOutEvent(event gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_FocusOutEvent(ptr.Pointer(), gui.PointerFromQFocusEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) FocusOutEventDefault(event gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_FocusOutEventDefault(ptr.Pointer(), gui.PointerFromQFocusEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_LeaveEvent | |
| +func callbackQWebInspector_LeaveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::leaveEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).LeaveEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectLeaveEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::leaveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectLeaveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::leaveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) LeaveEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_LeaveEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) LeaveEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_LeaveEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_MinimumSizeHint | |
| +func callbackQWebInspector_MinimumSizeHint(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::minimumSizeHint"); signal != nil { | |
| + return core.PointerFromQSize(signal.(func() *core.QSize)()) | |
| + } | |
| + | |
| + return core.PointerFromQSize(NewQWebInspectorFromPointer(ptr).MinimumSizeHintDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMinimumSizeHint(f func() *core.QSize) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::minimumSizeHint", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMinimumSizeHint() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::minimumSizeHint") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MinimumSizeHint() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebInspector_MinimumSizeHint(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MinimumSizeHintDefault() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebInspector_MinimumSizeHintDefault(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebInspector_MoveEvent | |
| +func callbackQWebInspector_MoveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::moveEvent"); signal != nil { | |
| + signal.(func(*gui.QMoveEvent))(gui.NewQMoveEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).MoveEventDefault(gui.NewQMoveEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMoveEvent(f func(event *gui.QMoveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::moveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::moveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MoveEvent(event gui.QMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MoveEvent(ptr.Pointer(), gui.PointerFromQMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MoveEventDefault(event gui.QMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MoveEventDefault(ptr.Pointer(), gui.PointerFromQMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_PaintEvent | |
| +func callbackQWebInspector_PaintEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::paintEvent"); signal != nil { | |
| + signal.(func(*gui.QPaintEvent))(gui.NewQPaintEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).PaintEventDefault(gui.NewQPaintEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectPaintEvent(f func(event *gui.QPaintEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::paintEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectPaintEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::paintEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) PaintEvent(event gui.QPaintEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_PaintEvent(ptr.Pointer(), gui.PointerFromQPaintEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) PaintEventDefault(event gui.QPaintEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_PaintEventDefault(ptr.Pointer(), gui.PointerFromQPaintEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetEnabled | |
| +func callbackQWebInspector_SetEnabled(ptr unsafe.Pointer, vbo C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setEnabled"); signal != nil { | |
| + signal.(func(bool))(int8(vbo) != 0) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetEnabledDefault(int8(vbo) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetEnabled(f func(vbo bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setEnabled", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetEnabled() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setEnabled") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetEnabled(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetEnabled(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetEnabledDefault(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetEnabledDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetStyleSheet | |
| +func callbackQWebInspector_SetStyleSheet(ptr unsafe.Pointer, styleSheet *C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setStyleSheet"); signal != nil { | |
| + signal.(func(string))(C.GoString(styleSheet)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetStyleSheetDefault(C.GoString(styleSheet)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetStyleSheet(f func(styleSheet string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setStyleSheet", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetStyleSheet() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setStyleSheet") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetStyleSheet(styleSheet string) { | |
| + if ptr.Pointer() != nil { | |
| + var styleSheetC = C.CString(styleSheet) | |
| + defer C.free(unsafe.Pointer(styleSheetC)) | |
| + C.QWebInspector_SetStyleSheet(ptr.Pointer(), styleSheetC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetStyleSheetDefault(styleSheet string) { | |
| + if ptr.Pointer() != nil { | |
| + var styleSheetC = C.CString(styleSheet) | |
| + defer C.free(unsafe.Pointer(styleSheetC)) | |
| + C.QWebInspector_SetStyleSheetDefault(ptr.Pointer(), styleSheetC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetVisible | |
| +func callbackQWebInspector_SetVisible(ptr unsafe.Pointer, visible C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setVisible"); signal != nil { | |
| + signal.(func(bool))(int8(visible) != 0) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetVisibleDefault(int8(visible) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetVisible(f func(visible bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setVisible", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetVisible() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setVisible") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetVisible(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetVisible(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetVisibleDefault(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetVisibleDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetWindowModified | |
| +func callbackQWebInspector_SetWindowModified(ptr unsafe.Pointer, vbo C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setWindowModified"); signal != nil { | |
| + signal.(func(bool))(int8(vbo) != 0) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetWindowModifiedDefault(int8(vbo) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetWindowModified(f func(vbo bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setWindowModified", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetWindowModified() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setWindowModified") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetWindowModified(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetWindowModified(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetWindowModifiedDefault(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetWindowModifiedDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetWindowTitle | |
| +func callbackQWebInspector_SetWindowTitle(ptr unsafe.Pointer, vqs *C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setWindowTitle"); signal != nil { | |
| + signal.(func(string))(C.GoString(vqs)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetWindowTitleDefault(C.GoString(vqs)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetWindowTitle(f func(vqs string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setWindowTitle", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetWindowTitle() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setWindowTitle") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetWindowTitle(vqs string) { | |
| + if ptr.Pointer() != nil { | |
| + var vqsC = C.CString(vqs) | |
| + defer C.free(unsafe.Pointer(vqsC)) | |
| + C.QWebInspector_SetWindowTitle(ptr.Pointer(), vqsC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetWindowTitleDefault(vqs string) { | |
| + if ptr.Pointer() != nil { | |
| + var vqsC = C.CString(vqs) | |
| + defer C.free(unsafe.Pointer(vqsC)) | |
| + C.QWebInspector_SetWindowTitleDefault(ptr.Pointer(), vqsC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ChangeEvent | |
| +func callbackQWebInspector_ChangeEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::changeEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ChangeEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectChangeEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::changeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectChangeEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::changeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ChangeEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ChangeEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ChangeEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ChangeEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_Close | |
| +func callbackQWebInspector_Close(ptr unsafe.Pointer) C.char { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::close"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func() bool)()))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebInspectorFromPointer(ptr).CloseDefault()))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectClose(f func() bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::close", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectClose() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::close") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Close() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_Close(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebInspector) CloseDefault() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_CloseDefault(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebInspector_ContextMenuEvent | |
| +func callbackQWebInspector_ContextMenuEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::contextMenuEvent"); signal != nil { | |
| + signal.(func(*gui.QContextMenuEvent))(gui.NewQContextMenuEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ContextMenuEventDefault(gui.NewQContextMenuEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectContextMenuEvent(f func(event *gui.QContextMenuEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::contextMenuEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectContextMenuEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::contextMenuEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ContextMenuEvent(event gui.QContextMenuEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ContextMenuEvent(ptr.Pointer(), gui.PointerFromQContextMenuEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ContextMenuEventDefault(event gui.QContextMenuEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ContextMenuEventDefault(ptr.Pointer(), gui.PointerFromQContextMenuEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_FocusNextPrevChild | |
| +func callbackQWebInspector_FocusNextPrevChild(ptr unsafe.Pointer, next C.char) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::focusNextPrevChild"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(bool) bool)(int8(next) != 0)))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebInspectorFromPointer(ptr).FocusNextPrevChildDefault(int8(next) != 0)))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectFocusNextPrevChild(f func(next bool) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::focusNextPrevChild", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectFocusNextPrevChild() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::focusNextPrevChild") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) FocusNextPrevChild(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_FocusNextPrevChild(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebInspector) FocusNextPrevChildDefault(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_FocusNextPrevChildDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebInspector_HasHeightForWidth | |
| +func callbackQWebInspector_HasHeightForWidth(ptr unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::hasHeightForWidth"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func() bool)()))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebInspectorFromPointer(ptr).HasHeightForWidthDefault()))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectHasHeightForWidth(f func() bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::hasHeightForWidth", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectHasHeightForWidth() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::hasHeightForWidth") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) HasHeightForWidth() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_HasHeightForWidth(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebInspector) HasHeightForWidthDefault() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_HasHeightForWidthDefault(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebInspector_HeightForWidth | |
| +func callbackQWebInspector_HeightForWidth(ptr unsafe.Pointer, w C.int) C.int { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::heightForWidth"); signal != nil { | |
| + return C.int(int32(signal.(func(int) int)(int(int32(w))))) | |
| + } | |
| + | |
| + return C.int(int32(NewQWebInspectorFromPointer(ptr).HeightForWidthDefault(int(int32(w))))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectHeightForWidth(f func(w int) int) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::heightForWidth", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectHeightForWidth() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::heightForWidth") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) HeightForWidth(w int) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebInspector_HeightForWidth(ptr.Pointer(), C.int(int32(w))))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebInspector) HeightForWidthDefault(w int) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebInspector_HeightForWidthDefault(ptr.Pointer(), C.int(int32(w))))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebInspector_Hide | |
| +func callbackQWebInspector_Hide(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::hide"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).HideDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectHide(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::hide", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectHide() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::hide") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Hide() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_Hide(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) HideDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_HideDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_InputMethodEvent | |
| +func callbackQWebInspector_InputMethodEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::inputMethodEvent"); signal != nil { | |
| + signal.(func(*gui.QInputMethodEvent))(gui.NewQInputMethodEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).InputMethodEventDefault(gui.NewQInputMethodEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectInputMethodEvent(f func(event *gui.QInputMethodEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::inputMethodEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectInputMethodEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::inputMethodEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) InputMethodEvent(event gui.QInputMethodEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_InputMethodEvent(ptr.Pointer(), gui.PointerFromQInputMethodEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) InputMethodEventDefault(event gui.QInputMethodEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_InputMethodEventDefault(ptr.Pointer(), gui.PointerFromQInputMethodEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_InputMethodQuery | |
| +func callbackQWebInspector_InputMethodQuery(ptr unsafe.Pointer, query C.longlong) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::inputMethodQuery"); signal != nil { | |
| + return core.PointerFromQVariant(signal.(func(core.Qt__InputMethodQuery) *core.QVariant)(core.Qt__InputMethodQuery(query))) | |
| + } | |
| + | |
| + return core.PointerFromQVariant(NewQWebInspectorFromPointer(ptr).InputMethodQueryDefault(core.Qt__InputMethodQuery(query))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectInputMethodQuery(f func(query core.Qt__InputMethodQuery) *core.QVariant) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::inputMethodQuery", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectInputMethodQuery() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::inputMethodQuery") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) InputMethodQuery(query core.Qt__InputMethodQuery) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebInspector_InputMethodQuery(ptr.Pointer(), C.longlong(query))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebInspector) InputMethodQueryDefault(query core.Qt__InputMethodQuery) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebInspector_InputMethodQueryDefault(ptr.Pointer(), C.longlong(query))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebInspector_KeyPressEvent | |
| +func callbackQWebInspector_KeyPressEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::keyPressEvent"); signal != nil { | |
| + signal.(func(*gui.QKeyEvent))(gui.NewQKeyEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).KeyPressEventDefault(gui.NewQKeyEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectKeyPressEvent(f func(event *gui.QKeyEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::keyPressEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectKeyPressEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::keyPressEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) KeyPressEvent(event gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_KeyPressEvent(ptr.Pointer(), gui.PointerFromQKeyEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) KeyPressEventDefault(event gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_KeyPressEventDefault(ptr.Pointer(), gui.PointerFromQKeyEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_KeyReleaseEvent | |
| +func callbackQWebInspector_KeyReleaseEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::keyReleaseEvent"); signal != nil { | |
| + signal.(func(*gui.QKeyEvent))(gui.NewQKeyEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).KeyReleaseEventDefault(gui.NewQKeyEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectKeyReleaseEvent(f func(event *gui.QKeyEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::keyReleaseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectKeyReleaseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::keyReleaseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) KeyReleaseEvent(event gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_KeyReleaseEvent(ptr.Pointer(), gui.PointerFromQKeyEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) KeyReleaseEventDefault(event gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_KeyReleaseEventDefault(ptr.Pointer(), gui.PointerFromQKeyEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_Lower | |
| +func callbackQWebInspector_Lower(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::lower"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).LowerDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectLower(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::lower", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectLower() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::lower") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Lower() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_Lower(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) LowerDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_LowerDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_MouseDoubleClickEvent | |
| +func callbackQWebInspector_MouseDoubleClickEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::mouseDoubleClickEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).MouseDoubleClickEventDefault(gui.NewQMouseEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMouseDoubleClickEvent(f func(event *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mouseDoubleClickEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMouseDoubleClickEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mouseDoubleClickEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MouseDoubleClickEvent(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MouseDoubleClickEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MouseDoubleClickEventDefault(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MouseDoubleClickEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_MouseMoveEvent | |
| +func callbackQWebInspector_MouseMoveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::mouseMoveEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).MouseMoveEventDefault(gui.NewQMouseEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMouseMoveEvent(f func(event *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mouseMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMouseMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mouseMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MouseMoveEvent(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MouseMoveEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MouseMoveEventDefault(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MouseMoveEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_MousePressEvent | |
| +func callbackQWebInspector_MousePressEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::mousePressEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).MousePressEventDefault(gui.NewQMouseEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMousePressEvent(f func(event *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mousePressEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMousePressEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mousePressEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MousePressEvent(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MousePressEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MousePressEventDefault(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MousePressEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_MouseReleaseEvent | |
| +func callbackQWebInspector_MouseReleaseEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::mouseReleaseEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).MouseReleaseEventDefault(gui.NewQMouseEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMouseReleaseEvent(f func(event *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mouseReleaseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMouseReleaseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::mouseReleaseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MouseReleaseEvent(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MouseReleaseEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MouseReleaseEventDefault(event gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_MouseReleaseEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_NativeEvent | |
| +func callbackQWebInspector_NativeEvent(ptr unsafe.Pointer, eventType *C.char, message unsafe.Pointer, result C.long) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::nativeEvent"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(string, unsafe.Pointer, int) bool)(qt.HexDecodeToString(C.GoString(eventType)), message, int(int32(result)))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebInspectorFromPointer(ptr).NativeEventDefault(qt.HexDecodeToString(C.GoString(eventType)), message, int(int32(result)))))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectNativeEvent(f func(eventType string, message unsafe.Pointer, result int) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::nativeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectNativeEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::nativeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) NativeEvent(eventType string, message unsafe.Pointer, result int) bool { | |
| + if ptr.Pointer() != nil { | |
| + var eventTypeC = C.CString(hex.EncodeToString([]byte(eventType))) | |
| + defer C.free(unsafe.Pointer(eventTypeC)) | |
| + return C.QWebInspector_NativeEvent(ptr.Pointer(), eventTypeC, message, C.long(int32(result))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebInspector) NativeEventDefault(eventType string, message unsafe.Pointer, result int) bool { | |
| + if ptr.Pointer() != nil { | |
| + var eventTypeC = C.CString(hex.EncodeToString([]byte(eventType))) | |
| + defer C.free(unsafe.Pointer(eventTypeC)) | |
| + return C.QWebInspector_NativeEventDefault(ptr.Pointer(), eventTypeC, message, C.long(int32(result))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebInspector_Raise | |
| +func callbackQWebInspector_Raise(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::raise"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).RaiseDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectRaise(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::raise", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectRaise() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::raise") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Raise() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_Raise(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) RaiseDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_RaiseDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_Repaint | |
| +func callbackQWebInspector_Repaint(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::repaint"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).RepaintDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectRepaint(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::repaint", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectRepaint() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::repaint") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Repaint() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_Repaint(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) RepaintDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_RepaintDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetDisabled | |
| +func callbackQWebInspector_SetDisabled(ptr unsafe.Pointer, disable C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setDisabled"); signal != nil { | |
| + signal.(func(bool))(int8(disable) != 0) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetDisabledDefault(int8(disable) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetDisabled(f func(disable bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setDisabled", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetDisabled() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setDisabled") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetDisabled(disable bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetDisabled(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(disable)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetDisabledDefault(disable bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetDisabledDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(disable)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetFocus2 | |
| +func callbackQWebInspector_SetFocus2(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setFocus2"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetFocus2Default() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetFocus2(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setFocus2", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetFocus2() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setFocus2") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetFocus2() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetFocus2(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetFocus2Default() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetFocus2Default(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_SetHidden | |
| +func callbackQWebInspector_SetHidden(ptr unsafe.Pointer, hidden C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::setHidden"); signal != nil { | |
| + signal.(func(bool))(int8(hidden) != 0) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).SetHiddenDefault(int8(hidden) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectSetHidden(f func(hidden bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setHidden", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectSetHidden() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::setHidden") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetHidden(hidden bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetHidden(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(hidden)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) SetHiddenDefault(hidden bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_SetHiddenDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(hidden)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_Show | |
| +func callbackQWebInspector_Show(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::show"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ShowDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectShow(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::show", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectShow() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::show") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Show() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_Show(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ShowFullScreen | |
| +func callbackQWebInspector_ShowFullScreen(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::showFullScreen"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ShowFullScreenDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectShowFullScreen(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showFullScreen", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectShowFullScreen() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showFullScreen") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowFullScreen() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowFullScreen(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowFullScreenDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowFullScreenDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ShowMaximized | |
| +func callbackQWebInspector_ShowMaximized(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::showMaximized"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ShowMaximizedDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectShowMaximized(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showMaximized", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectShowMaximized() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showMaximized") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowMaximized() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowMaximized(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowMaximizedDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowMaximizedDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ShowMinimized | |
| +func callbackQWebInspector_ShowMinimized(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::showMinimized"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ShowMinimizedDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectShowMinimized(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showMinimized", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectShowMinimized() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showMinimized") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowMinimized() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowMinimized(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowMinimizedDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowMinimizedDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ShowNormal | |
| +func callbackQWebInspector_ShowNormal(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::showNormal"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ShowNormalDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectShowNormal(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showNormal", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectShowNormal() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::showNormal") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowNormal() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowNormal(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ShowNormalDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ShowNormalDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_TabletEvent | |
| +func callbackQWebInspector_TabletEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::tabletEvent"); signal != nil { | |
| + signal.(func(*gui.QTabletEvent))(gui.NewQTabletEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).TabletEventDefault(gui.NewQTabletEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectTabletEvent(f func(event *gui.QTabletEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::tabletEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectTabletEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::tabletEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) TabletEvent(event gui.QTabletEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_TabletEvent(ptr.Pointer(), gui.PointerFromQTabletEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) TabletEventDefault(event gui.QTabletEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_TabletEventDefault(ptr.Pointer(), gui.PointerFromQTabletEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_Update | |
| +func callbackQWebInspector_Update(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::update"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).UpdateDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectUpdate(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::update", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectUpdate() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::update") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) Update() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_Update(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) UpdateDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_UpdateDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_UpdateMicroFocus | |
| +func callbackQWebInspector_UpdateMicroFocus(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::updateMicroFocus"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).UpdateMicroFocusDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectUpdateMicroFocus(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::updateMicroFocus", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectUpdateMicroFocus() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::updateMicroFocus") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) UpdateMicroFocus() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_UpdateMicroFocus(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) UpdateMicroFocusDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_UpdateMicroFocusDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_WheelEvent | |
| +func callbackQWebInspector_WheelEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::wheelEvent"); signal != nil { | |
| + signal.(func(*gui.QWheelEvent))(gui.NewQWheelEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).WheelEventDefault(gui.NewQWheelEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectWheelEvent(f func(event *gui.QWheelEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::wheelEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectWheelEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::wheelEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) WheelEvent(event gui.QWheelEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_WheelEvent(ptr.Pointer(), gui.PointerFromQWheelEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) WheelEventDefault(event gui.QWheelEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_WheelEventDefault(ptr.Pointer(), gui.PointerFromQWheelEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_TimerEvent | |
| +func callbackQWebInspector_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ChildEvent | |
| +func callbackQWebInspector_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_ConnectNotify | |
| +func callbackQWebInspector_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_CustomEvent | |
| +func callbackQWebInspector_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_DeleteLater | |
| +func callbackQWebInspector_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_DisconnectNotify | |
| +func callbackQWebInspector_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebInspectorFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebInspector_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebInspector_EventFilter | |
| +func callbackQWebInspector_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebInspectorFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebInspector) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebInspector_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebInspector_MetaObject | |
| +func callbackQWebInspector_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebInspector::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQWebInspectorFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebInspector) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebInspector::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebInspector_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebInspector) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebInspector_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//QWebPage::ErrorDomain | |
| +type QWebPage__ErrorDomain int64 | |
| + | |
| +const ( | |
| + QWebPage__QtNetwork = QWebPage__ErrorDomain(0) | |
| + QWebPage__Http = QWebPage__ErrorDomain(1) | |
| + QWebPage__WebKit = QWebPage__ErrorDomain(2) | |
| +) | |
| + | |
| +//QWebPage::Extension | |
| +type QWebPage__Extension int64 | |
| + | |
| +const ( | |
| + QWebPage__ChooseMultipleFilesExtension = QWebPage__Extension(0) | |
| + QWebPage__ErrorPageExtension = QWebPage__Extension(1) | |
| +) | |
| + | |
| +//QWebPage::Feature | |
| +type QWebPage__Feature int64 | |
| + | |
| +const ( | |
| + QWebPage__Notifications = QWebPage__Feature(0) | |
| + QWebPage__Geolocation = QWebPage__Feature(1) | |
| +) | |
| + | |
| +//QWebPage::FindFlag | |
| +type QWebPage__FindFlag int64 | |
| + | |
| +const ( | |
| + QWebPage__FindBackward = QWebPage__FindFlag(1) | |
| + QWebPage__FindCaseSensitively = QWebPage__FindFlag(2) | |
| + QWebPage__FindWrapsAroundDocument = QWebPage__FindFlag(4) | |
| + QWebPage__HighlightAllOccurrences = QWebPage__FindFlag(8) | |
| + QWebPage__FindAtWordBeginningsOnly = QWebPage__FindFlag(16) | |
| + QWebPage__TreatMedialCapitalAsWordBeginning = QWebPage__FindFlag(32) | |
| + QWebPage__FindBeginsInSelection = QWebPage__FindFlag(64) | |
| +) | |
| + | |
| +//QWebPage::LinkDelegationPolicy | |
| +type QWebPage__LinkDelegationPolicy int64 | |
| + | |
| +const ( | |
| + QWebPage__DontDelegateLinks = QWebPage__LinkDelegationPolicy(0) | |
| + QWebPage__DelegateExternalLinks = QWebPage__LinkDelegationPolicy(1) | |
| + QWebPage__DelegateAllLinks = QWebPage__LinkDelegationPolicy(2) | |
| +) | |
| + | |
| +//QWebPage::NavigationType | |
| +type QWebPage__NavigationType int64 | |
| + | |
| +const ( | |
| + QWebPage__NavigationTypeLinkClicked = QWebPage__NavigationType(0) | |
| + QWebPage__NavigationTypeFormSubmitted = QWebPage__NavigationType(1) | |
| + QWebPage__NavigationTypeBackOrForward = QWebPage__NavigationType(2) | |
| + QWebPage__NavigationTypeReload = QWebPage__NavigationType(3) | |
| + QWebPage__NavigationTypeFormResubmitted = QWebPage__NavigationType(4) | |
| + QWebPage__NavigationTypeOther = QWebPage__NavigationType(5) | |
| +) | |
| + | |
| +//QWebPage::PermissionPolicy | |
| +type QWebPage__PermissionPolicy int64 | |
| + | |
| +const ( | |
| + QWebPage__PermissionUnknown = QWebPage__PermissionPolicy(0) | |
| + QWebPage__PermissionGrantedByUser = QWebPage__PermissionPolicy(1) | |
| + QWebPage__PermissionDeniedByUser = QWebPage__PermissionPolicy(2) | |
| +) | |
| + | |
| +//QWebPage::VisibilityState | |
| +type QWebPage__VisibilityState int64 | |
| + | |
| +const ( | |
| + QWebPage__VisibilityStateVisible = QWebPage__VisibilityState(0) | |
| + QWebPage__VisibilityStateHidden = QWebPage__VisibilityState(1) | |
| + QWebPage__VisibilityStatePrerender = QWebPage__VisibilityState(2) | |
| + QWebPage__VisibilityStateUnloaded = QWebPage__VisibilityState(3) | |
| +) | |
| + | |
| +//QWebPage::WebAction | |
| +type QWebPage__WebAction int64 | |
| + | |
| +const ( | |
| + QWebPage__NoWebAction = QWebPage__WebAction(-1) | |
| + QWebPage__OpenLink = QWebPage__WebAction(0) | |
| + QWebPage__OpenLinkInNewWindow = QWebPage__WebAction(1) | |
| + QWebPage__OpenFrameInNewWindow = QWebPage__WebAction(2) | |
| + QWebPage__DownloadLinkToDisk = QWebPage__WebAction(3) | |
| + QWebPage__CopyLinkToClipboard = QWebPage__WebAction(4) | |
| + QWebPage__OpenImageInNewWindow = QWebPage__WebAction(5) | |
| + QWebPage__DownloadImageToDisk = QWebPage__WebAction(6) | |
| + QWebPage__CopyImageToClipboard = QWebPage__WebAction(7) | |
| + QWebPage__Back = QWebPage__WebAction(8) | |
| + QWebPage__Forward = QWebPage__WebAction(9) | |
| + QWebPage__Stop = QWebPage__WebAction(10) | |
| + QWebPage__Reload = QWebPage__WebAction(11) | |
| + QWebPage__Cut = QWebPage__WebAction(12) | |
| + QWebPage__Copy = QWebPage__WebAction(13) | |
| + QWebPage__Paste = QWebPage__WebAction(14) | |
| + QWebPage__Undo = QWebPage__WebAction(15) | |
| + QWebPage__Redo = QWebPage__WebAction(16) | |
| + QWebPage__MoveToNextChar = QWebPage__WebAction(17) | |
| + QWebPage__MoveToPreviousChar = QWebPage__WebAction(18) | |
| + QWebPage__MoveToNextWord = QWebPage__WebAction(19) | |
| + QWebPage__MoveToPreviousWord = QWebPage__WebAction(20) | |
| + QWebPage__MoveToNextLine = QWebPage__WebAction(21) | |
| + QWebPage__MoveToPreviousLine = QWebPage__WebAction(22) | |
| + QWebPage__MoveToStartOfLine = QWebPage__WebAction(23) | |
| + QWebPage__MoveToEndOfLine = QWebPage__WebAction(24) | |
| + QWebPage__MoveToStartOfBlock = QWebPage__WebAction(25) | |
| + QWebPage__MoveToEndOfBlock = QWebPage__WebAction(26) | |
| + QWebPage__MoveToStartOfDocument = QWebPage__WebAction(27) | |
| + QWebPage__MoveToEndOfDocument = QWebPage__WebAction(28) | |
| + QWebPage__SelectNextChar = QWebPage__WebAction(29) | |
| + QWebPage__SelectPreviousChar = QWebPage__WebAction(30) | |
| + QWebPage__SelectNextWord = QWebPage__WebAction(31) | |
| + QWebPage__SelectPreviousWord = QWebPage__WebAction(32) | |
| + QWebPage__SelectNextLine = QWebPage__WebAction(33) | |
| + QWebPage__SelectPreviousLine = QWebPage__WebAction(34) | |
| + QWebPage__SelectStartOfLine = QWebPage__WebAction(35) | |
| + QWebPage__SelectEndOfLine = QWebPage__WebAction(36) | |
| + QWebPage__SelectStartOfBlock = QWebPage__WebAction(37) | |
| + QWebPage__SelectEndOfBlock = QWebPage__WebAction(38) | |
| + QWebPage__SelectStartOfDocument = QWebPage__WebAction(39) | |
| + QWebPage__SelectEndOfDocument = QWebPage__WebAction(40) | |
| + QWebPage__DeleteStartOfWord = QWebPage__WebAction(41) | |
| + QWebPage__DeleteEndOfWord = QWebPage__WebAction(42) | |
| + QWebPage__SetTextDirectionDefault = QWebPage__WebAction(43) | |
| + QWebPage__SetTextDirectionLeftToRight = QWebPage__WebAction(44) | |
| + QWebPage__SetTextDirectionRightToLeft = QWebPage__WebAction(45) | |
| + QWebPage__ToggleBold = QWebPage__WebAction(46) | |
| + QWebPage__ToggleItalic = QWebPage__WebAction(47) | |
| + QWebPage__ToggleUnderline = QWebPage__WebAction(48) | |
| + QWebPage__InspectElement = QWebPage__WebAction(49) | |
| + QWebPage__InsertParagraphSeparator = QWebPage__WebAction(50) | |
| + QWebPage__InsertLineSeparator = QWebPage__WebAction(51) | |
| + QWebPage__SelectAll = QWebPage__WebAction(52) | |
| + QWebPage__ReloadAndBypassCache = QWebPage__WebAction(53) | |
| + QWebPage__PasteAndMatchStyle = QWebPage__WebAction(54) | |
| + QWebPage__RemoveFormat = QWebPage__WebAction(55) | |
| + QWebPage__ToggleStrikethrough = QWebPage__WebAction(56) | |
| + QWebPage__ToggleSubscript = QWebPage__WebAction(57) | |
| + QWebPage__ToggleSuperscript = QWebPage__WebAction(58) | |
| + QWebPage__InsertUnorderedList = QWebPage__WebAction(59) | |
| + QWebPage__InsertOrderedList = QWebPage__WebAction(60) | |
| + QWebPage__Indent = QWebPage__WebAction(61) | |
| + QWebPage__Outdent = QWebPage__WebAction(62) | |
| + QWebPage__AlignCenter = QWebPage__WebAction(63) | |
| + QWebPage__AlignJustified = QWebPage__WebAction(64) | |
| + QWebPage__AlignLeft = QWebPage__WebAction(65) | |
| + QWebPage__AlignRight = QWebPage__WebAction(66) | |
| + QWebPage__StopScheduledPageRefresh = QWebPage__WebAction(67) | |
| + QWebPage__CopyImageUrlToClipboard = QWebPage__WebAction(68) | |
| + QWebPage__OpenLinkInThisWindow = QWebPage__WebAction(69) | |
| + QWebPage__DownloadMediaToDisk = QWebPage__WebAction(70) | |
| + QWebPage__CopyMediaUrlToClipboard = QWebPage__WebAction(71) | |
| + QWebPage__ToggleMediaControls = QWebPage__WebAction(72) | |
| + QWebPage__ToggleMediaLoop = QWebPage__WebAction(73) | |
| + QWebPage__ToggleMediaPlayPause = QWebPage__WebAction(74) | |
| + QWebPage__ToggleMediaMute = QWebPage__WebAction(75) | |
| + QWebPage__ToggleVideoFullscreen = QWebPage__WebAction(76) | |
| + QWebPage__WebActionCount = QWebPage__WebAction(77) | |
| +) | |
| + | |
| +//QWebPage::WebWindowType | |
| +type QWebPage__WebWindowType int64 | |
| + | |
| +const ( | |
| + QWebPage__WebBrowserWindow = QWebPage__WebWindowType(0) | |
| + QWebPage__WebModalDialog = QWebPage__WebWindowType(1) | |
| +) | |
| + | |
| +type QWebPage struct { | |
| + core.QObject | |
| +} | |
| + | |
| +type QWebPage_ITF interface { | |
| + core.QObject_ITF | |
| + QWebPage_PTR() *QWebPage | |
| +} | |
| + | |
| +func (p *QWebPage) QWebPage_PTR() *QWebPage { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebPage) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QObject_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebPage) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QObject_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebPage(ptr QWebPage_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebPage_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebPageFromPointer(ptr unsafe.Pointer) *QWebPage { | |
| + var n = new(QWebPage) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| + | |
| +//export callbackQWebPage_AcceptNavigationRequest | |
| +func callbackQWebPage_AcceptNavigationRequest(ptr unsafe.Pointer, frame unsafe.Pointer, request unsafe.Pointer, ty C.longlong) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::acceptNavigationRequest"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*QWebFrame, *network.QNetworkRequest, QWebPage__NavigationType) bool)(NewQWebFrameFromPointer(frame), network.NewQNetworkRequestFromPointer(request), QWebPage__NavigationType(ty))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).AcceptNavigationRequestDefault(NewQWebFrameFromPointer(frame), network.NewQNetworkRequestFromPointer(request), QWebPage__NavigationType(ty))))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectAcceptNavigationRequest(f func(frame *QWebFrame, request *network.QNetworkRequest, ty QWebPage__NavigationType) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::acceptNavigationRequest", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectAcceptNavigationRequest() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::acceptNavigationRequest") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) AcceptNavigationRequest(frame QWebFrame_ITF, request network.QNetworkRequest_ITF, ty QWebPage__NavigationType) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_AcceptNavigationRequest(ptr.Pointer(), PointerFromQWebFrame(frame), network.PointerFromQNetworkRequest(request), C.longlong(ty)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) AcceptNavigationRequestDefault(frame QWebFrame_ITF, request network.QNetworkRequest_ITF, ty QWebPage__NavigationType) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_AcceptNavigationRequestDefault(ptr.Pointer(), PointerFromQWebFrame(frame), network.PointerFromQNetworkRequest(request), C.longlong(ty)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) ForwardUnsupportedContent() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_ForwardUnsupportedContent(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) HasSelection() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_HasSelection(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) IsContentEditable() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_IsContentEditable(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) IsModified() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_IsModified(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) LinkDelegationPolicy() QWebPage__LinkDelegationPolicy { | |
| + if ptr.Pointer() != nil { | |
| + return QWebPage__LinkDelegationPolicy(C.QWebPage_LinkDelegationPolicy(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebPage) Palette() *gui.QPalette { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQPaletteFromPointer(C.QWebPage_Palette(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPalette).DestroyQPalette) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) PreferredContentsSize() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebPage_PreferredContentsSize(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) SelectedHtml() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebPage_SelectedHtml(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebPage) SelectedText() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebPage_SelectedText(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetActualVisibleContentRect(rect core.QRect_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetActualVisibleContentRect(ptr.Pointer(), core.PointerFromQRect(rect)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetContentEditable(editable bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetContentEditable(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(editable)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetFeaturePermission(frame QWebFrame_ITF, feature QWebPage__Feature, policy QWebPage__PermissionPolicy) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetFeaturePermission(ptr.Pointer(), PointerFromQWebFrame(frame), C.longlong(feature), C.longlong(policy)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetForwardUnsupportedContent(forward bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetForwardUnsupportedContent(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(forward)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetLinkDelegationPolicy(policy QWebPage__LinkDelegationPolicy) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetLinkDelegationPolicy(ptr.Pointer(), C.longlong(policy)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetPalette(palette gui.QPalette_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetPalette(ptr.Pointer(), gui.PointerFromQPalette(palette)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetPreferredContentsSize(size core.QSize_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetPreferredContentsSize(ptr.Pointer(), core.PointerFromQSize(size)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetViewportSize(size core.QSize_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetViewportSize(ptr.Pointer(), core.PointerFromQSize(size)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetVisibilityState(vvi QWebPage__VisibilityState) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetVisibilityState(ptr.Pointer(), C.longlong(vvi)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_ShouldInterruptJavaScript | |
| +func callbackQWebPage_ShouldInterruptJavaScript(ptr unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::shouldInterruptJavaScript"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func() bool)()))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).ShouldInterruptJavaScriptDefault()))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectShouldInterruptJavaScript(f func() bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::shouldInterruptJavaScript", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectShouldInterruptJavaScript() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::shouldInterruptJavaScript") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ShouldInterruptJavaScript() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_ShouldInterruptJavaScript(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) ShouldInterruptJavaScriptDefault() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_ShouldInterruptJavaScriptDefault(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) ViewportSize() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebPage_ViewportSize(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) VisibilityState() QWebPage__VisibilityState { | |
| + if ptr.Pointer() != nil { | |
| + return QWebPage__VisibilityState(C.QWebPage_VisibilityState(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func NewQWebPage(parent core.QObject_ITF) *QWebPage { | |
| + var tmpValue = NewQWebPageFromPointer(C.QWebPage_NewQWebPage(core.PointerFromQObject(parent))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebPage) Action(action QWebPage__WebAction) *widgets.QAction { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = widgets.NewQActionFromPointer(C.QWebPage_Action(ptr.Pointer(), C.longlong(action))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_ApplicationCacheQuotaExceeded | |
| +func callbackQWebPage_ApplicationCacheQuotaExceeded(ptr unsafe.Pointer, origin unsafe.Pointer, defaultOriginQuota C.ulonglong, totalSpaceNeeded C.ulonglong) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::applicationCacheQuotaExceeded"); signal != nil { | |
| + signal.(func(*QWebSecurityOrigin, uint64, uint64))(NewQWebSecurityOriginFromPointer(origin), uint64(defaultOriginQuota), uint64(totalSpaceNeeded)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectApplicationCacheQuotaExceeded(f func(origin *QWebSecurityOrigin, defaultOriginQuota uint64, totalSpaceNeeded uint64)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectApplicationCacheQuotaExceeded(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::applicationCacheQuotaExceeded", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectApplicationCacheQuotaExceeded() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectApplicationCacheQuotaExceeded(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::applicationCacheQuotaExceeded") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ApplicationCacheQuotaExceeded(origin QWebSecurityOrigin_ITF, defaultOriginQuota uint64, totalSpaceNeeded uint64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ApplicationCacheQuotaExceeded(ptr.Pointer(), PointerFromQWebSecurityOrigin(origin), C.ulonglong(defaultOriginQuota), C.ulonglong(totalSpaceNeeded)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) BytesReceived() uint64 { | |
| + if ptr.Pointer() != nil { | |
| + return uint64(C.QWebPage_BytesReceived(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebPage_ChooseFile | |
| +func callbackQWebPage_ChooseFile(ptr unsafe.Pointer, parentFrame unsafe.Pointer, suggestedFile *C.char) *C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::chooseFile"); signal != nil { | |
| + return C.CString(signal.(func(*QWebFrame, string) string)(NewQWebFrameFromPointer(parentFrame), C.GoString(suggestedFile))) | |
| + } | |
| + | |
| + return C.CString(NewQWebPageFromPointer(ptr).ChooseFileDefault(NewQWebFrameFromPointer(parentFrame), C.GoString(suggestedFile))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectChooseFile(f func(parentFrame *QWebFrame, suggestedFile string) string) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::chooseFile", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectChooseFile() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::chooseFile") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ChooseFile(parentFrame QWebFrame_ITF, suggestedFile string) string { | |
| + if ptr.Pointer() != nil { | |
| + var suggestedFileC = C.CString(suggestedFile) | |
| + defer C.free(unsafe.Pointer(suggestedFileC)) | |
| + return C.GoString(C.QWebPage_ChooseFile(ptr.Pointer(), PointerFromQWebFrame(parentFrame), suggestedFileC)) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebPage) ChooseFileDefault(parentFrame QWebFrame_ITF, suggestedFile string) string { | |
| + if ptr.Pointer() != nil { | |
| + var suggestedFileC = C.CString(suggestedFile) | |
| + defer C.free(unsafe.Pointer(suggestedFileC)) | |
| + return C.GoString(C.QWebPage_ChooseFileDefault(ptr.Pointer(), PointerFromQWebFrame(parentFrame), suggestedFileC)) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +//export callbackQWebPage_ContentsChanged | |
| +func callbackQWebPage_ContentsChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::contentsChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectContentsChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectContentsChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::contentsChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectContentsChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectContentsChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::contentsChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ContentsChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ContentsChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_CreatePlugin | |
| +func callbackQWebPage_CreatePlugin(ptr unsafe.Pointer, classid *C.char, url unsafe.Pointer, paramNames *C.char, paramValues *C.char) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::createPlugin"); signal != nil { | |
| + return core.PointerFromQObject(signal.(func(string, *core.QUrl, []string, []string) *core.QObject)(C.GoString(classid), core.NewQUrlFromPointer(url), strings.Split(C.GoString(paramNames), "|"), strings.Split(C.GoString(paramValues), "|"))) | |
| + } | |
| + | |
| + return core.PointerFromQObject(NewQWebPageFromPointer(ptr).CreatePluginDefault(C.GoString(classid), core.NewQUrlFromPointer(url), strings.Split(C.GoString(paramNames), "|"), strings.Split(C.GoString(paramValues), "|"))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectCreatePlugin(f func(classid string, url *core.QUrl, paramNames []string, paramValues []string) *core.QObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::createPlugin", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectCreatePlugin() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::createPlugin") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) CreatePlugin(classid string, url core.QUrl_ITF, paramNames []string, paramValues []string) *core.QObject { | |
| + if ptr.Pointer() != nil { | |
| + var classidC = C.CString(classid) | |
| + defer C.free(unsafe.Pointer(classidC)) | |
| + var paramNamesC = C.CString(strings.Join(paramNames, "|")) | |
| + defer C.free(unsafe.Pointer(paramNamesC)) | |
| + var paramValuesC = C.CString(strings.Join(paramValues, "|")) | |
| + defer C.free(unsafe.Pointer(paramValuesC)) | |
| + var tmpValue = core.NewQObjectFromPointer(C.QWebPage_CreatePlugin(ptr.Pointer(), classidC, core.PointerFromQUrl(url), paramNamesC, paramValuesC)) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) CreatePluginDefault(classid string, url core.QUrl_ITF, paramNames []string, paramValues []string) *core.QObject { | |
| + if ptr.Pointer() != nil { | |
| + var classidC = C.CString(classid) | |
| + defer C.free(unsafe.Pointer(classidC)) | |
| + var paramNamesC = C.CString(strings.Join(paramNames, "|")) | |
| + defer C.free(unsafe.Pointer(paramNamesC)) | |
| + var paramValuesC = C.CString(strings.Join(paramValues, "|")) | |
| + defer C.free(unsafe.Pointer(paramValuesC)) | |
| + var tmpValue = core.NewQObjectFromPointer(C.QWebPage_CreatePluginDefault(ptr.Pointer(), classidC, core.PointerFromQUrl(url), paramNamesC, paramValuesC)) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) CreateStandardContextMenu() *widgets.QMenu { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = widgets.NewQMenuFromPointer(C.QWebPage_CreateStandardContextMenu(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_CreateWindow | |
| +func callbackQWebPage_CreateWindow(ptr unsafe.Pointer, ty C.longlong) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::createWindow"); signal != nil { | |
| + return PointerFromQWebPage(signal.(func(QWebPage__WebWindowType) *QWebPage)(QWebPage__WebWindowType(ty))) | |
| + } | |
| + | |
| + return PointerFromQWebPage(NewQWebPageFromPointer(ptr).CreateWindowDefault(QWebPage__WebWindowType(ty))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectCreateWindow(f func(ty QWebPage__WebWindowType) *QWebPage) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::createWindow", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectCreateWindow() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::createWindow") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) CreateWindow(ty QWebPage__WebWindowType) *QWebPage { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPageFromPointer(C.QWebPage_CreateWindow(ptr.Pointer(), C.longlong(ty))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) CreateWindowDefault(ty QWebPage__WebWindowType) *QWebPage { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPageFromPointer(C.QWebPage_CreateWindowDefault(ptr.Pointer(), C.longlong(ty))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) CurrentFrame() *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebPage_CurrentFrame(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_DatabaseQuotaExceeded | |
| +func callbackQWebPage_DatabaseQuotaExceeded(ptr unsafe.Pointer, frame unsafe.Pointer, databaseName *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::databaseQuotaExceeded"); signal != nil { | |
| + signal.(func(*QWebFrame, string))(NewQWebFrameFromPointer(frame), C.GoString(databaseName)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectDatabaseQuotaExceeded(f func(frame *QWebFrame, databaseName string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectDatabaseQuotaExceeded(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::databaseQuotaExceeded", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectDatabaseQuotaExceeded() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectDatabaseQuotaExceeded(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::databaseQuotaExceeded") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DatabaseQuotaExceeded(frame QWebFrame_ITF, databaseName string) { | |
| + if ptr.Pointer() != nil { | |
| + var databaseNameC = C.CString(databaseName) | |
| + defer C.free(unsafe.Pointer(databaseNameC)) | |
| + C.QWebPage_DatabaseQuotaExceeded(ptr.Pointer(), PointerFromQWebFrame(frame), databaseNameC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_DownloadRequested | |
| +func callbackQWebPage_DownloadRequested(ptr unsafe.Pointer, request unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::downloadRequested"); signal != nil { | |
| + signal.(func(*network.QNetworkRequest))(network.NewQNetworkRequestFromPointer(request)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectDownloadRequested(f func(request *network.QNetworkRequest)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectDownloadRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::downloadRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectDownloadRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectDownloadRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::downloadRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DownloadRequested(request network.QNetworkRequest_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DownloadRequested(ptr.Pointer(), network.PointerFromQNetworkRequest(request)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_Event | |
| +func callbackQWebPage_Event(ptr unsafe.Pointer, ev unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::event"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(ev))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).EventDefault(core.NewQEventFromPointer(ev))))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectEvent(f func(ev *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::event", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::event") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) Event(ev core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_Event(ptr.Pointer(), core.PointerFromQEvent(ev)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) EventDefault(ev core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_EventDefault(ptr.Pointer(), core.PointerFromQEvent(ev)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPage_FeaturePermissionRequestCanceled | |
| +func callbackQWebPage_FeaturePermissionRequestCanceled(ptr unsafe.Pointer, frame unsafe.Pointer, feature C.longlong) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::featurePermissionRequestCanceled"); signal != nil { | |
| + signal.(func(*QWebFrame, QWebPage__Feature))(NewQWebFrameFromPointer(frame), QWebPage__Feature(feature)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectFeaturePermissionRequestCanceled(f func(frame *QWebFrame, feature QWebPage__Feature)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectFeaturePermissionRequestCanceled(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::featurePermissionRequestCanceled", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectFeaturePermissionRequestCanceled() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectFeaturePermissionRequestCanceled(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::featurePermissionRequestCanceled") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) FeaturePermissionRequestCanceled(frame QWebFrame_ITF, feature QWebPage__Feature) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_FeaturePermissionRequestCanceled(ptr.Pointer(), PointerFromQWebFrame(frame), C.longlong(feature)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_FeaturePermissionRequested | |
| +func callbackQWebPage_FeaturePermissionRequested(ptr unsafe.Pointer, frame unsafe.Pointer, feature C.longlong) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::featurePermissionRequested"); signal != nil { | |
| + signal.(func(*QWebFrame, QWebPage__Feature))(NewQWebFrameFromPointer(frame), QWebPage__Feature(feature)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectFeaturePermissionRequested(f func(frame *QWebFrame, feature QWebPage__Feature)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectFeaturePermissionRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::featurePermissionRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectFeaturePermissionRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectFeaturePermissionRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::featurePermissionRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) FeaturePermissionRequested(frame QWebFrame_ITF, feature QWebPage__Feature) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_FeaturePermissionRequested(ptr.Pointer(), PointerFromQWebFrame(frame), C.longlong(feature)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) FindText(subString string, options QWebPage__FindFlag) bool { | |
| + if ptr.Pointer() != nil { | |
| + var subStringC = C.CString(subString) | |
| + defer C.free(unsafe.Pointer(subStringC)) | |
| + return C.QWebPage_FindText(ptr.Pointer(), subStringC, C.longlong(options)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) FocusNextPrevChild(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_FocusNextPrevChild(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) FrameAt(pos core.QPoint_ITF) *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebPage_FrameAt(ptr.Pointer(), core.PointerFromQPoint(pos))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_FrameCreated | |
| +func callbackQWebPage_FrameCreated(ptr unsafe.Pointer, frame unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::frameCreated"); signal != nil { | |
| + signal.(func(*QWebFrame))(NewQWebFrameFromPointer(frame)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectFrameCreated(f func(frame *QWebFrame)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectFrameCreated(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::frameCreated", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectFrameCreated() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectFrameCreated(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::frameCreated") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) FrameCreated(frame QWebFrame_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_FrameCreated(ptr.Pointer(), PointerFromQWebFrame(frame)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_GeometryChangeRequested | |
| +func callbackQWebPage_GeometryChangeRequested(ptr unsafe.Pointer, geom unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::geometryChangeRequested"); signal != nil { | |
| + signal.(func(*core.QRect))(core.NewQRectFromPointer(geom)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectGeometryChangeRequested(f func(geom *core.QRect)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectGeometryChangeRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::geometryChangeRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectGeometryChangeRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectGeometryChangeRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::geometryChangeRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) GeometryChangeRequested(geom core.QRect_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_GeometryChangeRequested(ptr.Pointer(), core.PointerFromQRect(geom)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) History() *QWebHistory { | |
| + if ptr.Pointer() != nil { | |
| + return NewQWebHistoryFromPointer(C.QWebPage_History(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) InputMethodQuery(property core.Qt__InputMethodQuery) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebPage_InputMethodQuery(ptr.Pointer(), C.longlong(property))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_JavaScriptAlert | |
| +func callbackQWebPage_JavaScriptAlert(ptr unsafe.Pointer, frame unsafe.Pointer, msg *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::javaScriptAlert"); signal != nil { | |
| + signal.(func(*QWebFrame, string))(NewQWebFrameFromPointer(frame), C.GoString(msg)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).JavaScriptAlertDefault(NewQWebFrameFromPointer(frame), C.GoString(msg)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectJavaScriptAlert(f func(frame *QWebFrame, msg string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptAlert", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectJavaScriptAlert() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptAlert") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptAlert(frame QWebFrame_ITF, msg string) { | |
| + if ptr.Pointer() != nil { | |
| + var msgC = C.CString(msg) | |
| + defer C.free(unsafe.Pointer(msgC)) | |
| + C.QWebPage_JavaScriptAlert(ptr.Pointer(), PointerFromQWebFrame(frame), msgC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptAlertDefault(frame QWebFrame_ITF, msg string) { | |
| + if ptr.Pointer() != nil { | |
| + var msgC = C.CString(msg) | |
| + defer C.free(unsafe.Pointer(msgC)) | |
| + C.QWebPage_JavaScriptAlertDefault(ptr.Pointer(), PointerFromQWebFrame(frame), msgC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_JavaScriptConfirm | |
| +func callbackQWebPage_JavaScriptConfirm(ptr unsafe.Pointer, frame unsafe.Pointer, msg *C.char) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::javaScriptConfirm"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*QWebFrame, string) bool)(NewQWebFrameFromPointer(frame), C.GoString(msg))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).JavaScriptConfirmDefault(NewQWebFrameFromPointer(frame), C.GoString(msg))))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectJavaScriptConfirm(f func(frame *QWebFrame, msg string) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptConfirm", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectJavaScriptConfirm() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptConfirm") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptConfirm(frame QWebFrame_ITF, msg string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var msgC = C.CString(msg) | |
| + defer C.free(unsafe.Pointer(msgC)) | |
| + return C.QWebPage_JavaScriptConfirm(ptr.Pointer(), PointerFromQWebFrame(frame), msgC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptConfirmDefault(frame QWebFrame_ITF, msg string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var msgC = C.CString(msg) | |
| + defer C.free(unsafe.Pointer(msgC)) | |
| + return C.QWebPage_JavaScriptConfirmDefault(ptr.Pointer(), PointerFromQWebFrame(frame), msgC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPage_JavaScriptConsoleMessage | |
| +func callbackQWebPage_JavaScriptConsoleMessage(ptr unsafe.Pointer, message *C.char, lineNumber C.int, sourceID *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::javaScriptConsoleMessage"); signal != nil { | |
| + signal.(func(string, int, string))(C.GoString(message), int(int32(lineNumber)), C.GoString(sourceID)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).JavaScriptConsoleMessageDefault(C.GoString(message), int(int32(lineNumber)), C.GoString(sourceID)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectJavaScriptConsoleMessage(f func(message string, lineNumber int, sourceID string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptConsoleMessage", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectJavaScriptConsoleMessage() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptConsoleMessage") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptConsoleMessage(message string, lineNumber int, sourceID string) { | |
| + if ptr.Pointer() != nil { | |
| + var messageC = C.CString(message) | |
| + defer C.free(unsafe.Pointer(messageC)) | |
| + var sourceIDC = C.CString(sourceID) | |
| + defer C.free(unsafe.Pointer(sourceIDC)) | |
| + C.QWebPage_JavaScriptConsoleMessage(ptr.Pointer(), messageC, C.int(int32(lineNumber)), sourceIDC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptConsoleMessageDefault(message string, lineNumber int, sourceID string) { | |
| + if ptr.Pointer() != nil { | |
| + var messageC = C.CString(message) | |
| + defer C.free(unsafe.Pointer(messageC)) | |
| + var sourceIDC = C.CString(sourceID) | |
| + defer C.free(unsafe.Pointer(sourceIDC)) | |
| + C.QWebPage_JavaScriptConsoleMessageDefault(ptr.Pointer(), messageC, C.int(int32(lineNumber)), sourceIDC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_JavaScriptPrompt | |
| +func callbackQWebPage_JavaScriptPrompt(ptr unsafe.Pointer, frame unsafe.Pointer, msg *C.char, defaultValue *C.char, result *C.char) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::javaScriptPrompt"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*QWebFrame, string, string, string) bool)(NewQWebFrameFromPointer(frame), C.GoString(msg), C.GoString(defaultValue), C.GoString(result))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).JavaScriptPromptDefault(NewQWebFrameFromPointer(frame), C.GoString(msg), C.GoString(defaultValue), C.GoString(result))))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectJavaScriptPrompt(f func(frame *QWebFrame, msg string, defaultValue string, result string) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptPrompt", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectJavaScriptPrompt() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::javaScriptPrompt") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptPrompt(frame QWebFrame_ITF, msg string, defaultValue string, result string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var msgC = C.CString(msg) | |
| + defer C.free(unsafe.Pointer(msgC)) | |
| + var defaultValueC = C.CString(defaultValue) | |
| + defer C.free(unsafe.Pointer(defaultValueC)) | |
| + var resultC = C.CString(result) | |
| + defer C.free(unsafe.Pointer(resultC)) | |
| + return C.QWebPage_JavaScriptPrompt(ptr.Pointer(), PointerFromQWebFrame(frame), msgC, defaultValueC, resultC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) JavaScriptPromptDefault(frame QWebFrame_ITF, msg string, defaultValue string, result string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var msgC = C.CString(msg) | |
| + defer C.free(unsafe.Pointer(msgC)) | |
| + var defaultValueC = C.CString(defaultValue) | |
| + defer C.free(unsafe.Pointer(defaultValueC)) | |
| + var resultC = C.CString(result) | |
| + defer C.free(unsafe.Pointer(resultC)) | |
| + return C.QWebPage_JavaScriptPromptDefault(ptr.Pointer(), PointerFromQWebFrame(frame), msgC, defaultValueC, resultC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPage_LinkClicked | |
| +func callbackQWebPage_LinkClicked(ptr unsafe.Pointer, url unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::linkClicked"); signal != nil { | |
| + signal.(func(*core.QUrl))(core.NewQUrlFromPointer(url)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectLinkClicked(f func(url *core.QUrl)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectLinkClicked(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::linkClicked", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectLinkClicked() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectLinkClicked(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::linkClicked") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) LinkClicked(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_LinkClicked(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_LinkHovered | |
| +func callbackQWebPage_LinkHovered(ptr unsafe.Pointer, link *C.char, title *C.char, textContent *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::linkHovered"); signal != nil { | |
| + signal.(func(string, string, string))(C.GoString(link), C.GoString(title), C.GoString(textContent)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectLinkHovered(f func(link string, title string, textContent string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectLinkHovered(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::linkHovered", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectLinkHovered() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectLinkHovered(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::linkHovered") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) LinkHovered(link string, title string, textContent string) { | |
| + if ptr.Pointer() != nil { | |
| + var linkC = C.CString(link) | |
| + defer C.free(unsafe.Pointer(linkC)) | |
| + var titleC = C.CString(title) | |
| + defer C.free(unsafe.Pointer(titleC)) | |
| + var textContentC = C.CString(textContent) | |
| + defer C.free(unsafe.Pointer(textContentC)) | |
| + C.QWebPage_LinkHovered(ptr.Pointer(), linkC, titleC, textContentC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_LoadFinished | |
| +func callbackQWebPage_LoadFinished(ptr unsafe.Pointer, ok C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::loadFinished"); signal != nil { | |
| + signal.(func(bool))(int8(ok) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectLoadFinished(f func(ok bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectLoadFinished(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::loadFinished", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectLoadFinished() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectLoadFinished(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::loadFinished") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) LoadFinished(ok bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_LoadFinished(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(ok)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_LoadProgress | |
| +func callbackQWebPage_LoadProgress(ptr unsafe.Pointer, progress C.int) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::loadProgress"); signal != nil { | |
| + signal.(func(int))(int(int32(progress))) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectLoadProgress(f func(progress int)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectLoadProgress(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::loadProgress", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectLoadProgress() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectLoadProgress(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::loadProgress") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) LoadProgress(progress int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_LoadProgress(ptr.Pointer(), C.int(int32(progress))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_LoadStarted | |
| +func callbackQWebPage_LoadStarted(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::loadStarted"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectLoadStarted(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectLoadStarted(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::loadStarted", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectLoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectLoadStarted(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::loadStarted") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) LoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_LoadStarted(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) MainFrame() *QWebFrame { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebFrameFromPointer(C.QWebPage_MainFrame(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_MenuBarVisibilityChangeRequested | |
| +func callbackQWebPage_MenuBarVisibilityChangeRequested(ptr unsafe.Pointer, visible C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::menuBarVisibilityChangeRequested"); signal != nil { | |
| + signal.(func(bool))(int8(visible) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectMenuBarVisibilityChangeRequested(f func(visible bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectMenuBarVisibilityChangeRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::menuBarVisibilityChangeRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectMenuBarVisibilityChangeRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectMenuBarVisibilityChangeRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::menuBarVisibilityChangeRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) MenuBarVisibilityChangeRequested(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_MenuBarVisibilityChangeRequested(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_MicroFocusChanged | |
| +func callbackQWebPage_MicroFocusChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::microFocusChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectMicroFocusChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectMicroFocusChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::microFocusChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectMicroFocusChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectMicroFocusChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::microFocusChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) MicroFocusChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_MicroFocusChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) NetworkAccessManager() *network.QNetworkAccessManager { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = network.NewQNetworkAccessManagerFromPointer(C.QWebPage_NetworkAccessManager(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) PluginFactory() *QWebPluginFactory { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPluginFactoryFromPointer(C.QWebPage_PluginFactory(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_PrintRequested | |
| +func callbackQWebPage_PrintRequested(ptr unsafe.Pointer, frame unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::printRequested"); signal != nil { | |
| + signal.(func(*QWebFrame))(NewQWebFrameFromPointer(frame)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectPrintRequested(f func(frame *QWebFrame)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectPrintRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::printRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectPrintRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectPrintRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::printRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) PrintRequested(frame QWebFrame_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_PrintRequested(ptr.Pointer(), PointerFromQWebFrame(frame)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_RepaintRequested | |
| +func callbackQWebPage_RepaintRequested(ptr unsafe.Pointer, dirtyRect unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::repaintRequested"); signal != nil { | |
| + signal.(func(*core.QRect))(core.NewQRectFromPointer(dirtyRect)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectRepaintRequested(f func(dirtyRect *core.QRect)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectRepaintRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::repaintRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectRepaintRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectRepaintRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::repaintRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) RepaintRequested(dirtyRect core.QRect_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_RepaintRequested(ptr.Pointer(), core.PointerFromQRect(dirtyRect)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_RestoreFrameStateRequested | |
| +func callbackQWebPage_RestoreFrameStateRequested(ptr unsafe.Pointer, frame unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::restoreFrameStateRequested"); signal != nil { | |
| + signal.(func(*QWebFrame))(NewQWebFrameFromPointer(frame)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectRestoreFrameStateRequested(f func(frame *QWebFrame)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectRestoreFrameStateRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::restoreFrameStateRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectRestoreFrameStateRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectRestoreFrameStateRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::restoreFrameStateRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) RestoreFrameStateRequested(frame QWebFrame_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_RestoreFrameStateRequested(ptr.Pointer(), PointerFromQWebFrame(frame)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_SaveFrameStateRequested | |
| +func callbackQWebPage_SaveFrameStateRequested(ptr unsafe.Pointer, frame unsafe.Pointer, item unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::saveFrameStateRequested"); signal != nil { | |
| + signal.(func(*QWebFrame, *QWebHistoryItem))(NewQWebFrameFromPointer(frame), NewQWebHistoryItemFromPointer(item)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectSaveFrameStateRequested(f func(frame *QWebFrame, item *QWebHistoryItem)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectSaveFrameStateRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::saveFrameStateRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectSaveFrameStateRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectSaveFrameStateRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::saveFrameStateRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SaveFrameStateRequested(frame QWebFrame_ITF, item QWebHistoryItem_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SaveFrameStateRequested(ptr.Pointer(), PointerFromQWebFrame(frame), PointerFromQWebHistoryItem(item)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_ScrollRequested | |
| +func callbackQWebPage_ScrollRequested(ptr unsafe.Pointer, dx C.int, dy C.int, rectToScroll unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::scrollRequested"); signal != nil { | |
| + signal.(func(int, int, *core.QRect))(int(int32(dx)), int(int32(dy)), core.NewQRectFromPointer(rectToScroll)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectScrollRequested(f func(dx int, dy int, rectToScroll *core.QRect)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectScrollRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::scrollRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectScrollRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectScrollRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::scrollRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ScrollRequested(dx int, dy int, rectToScroll core.QRect_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ScrollRequested(ptr.Pointer(), C.int(int32(dx)), C.int(int32(dy)), core.PointerFromQRect(rectToScroll)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_SelectionChanged | |
| +func callbackQWebPage_SelectionChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::selectionChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectSelectionChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectSelectionChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::selectionChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectSelectionChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectSelectionChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::selectionChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SelectionChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SelectionChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetNetworkAccessManager(manager network.QNetworkAccessManager_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetNetworkAccessManager(ptr.Pointer(), network.PointerFromQNetworkAccessManager(manager)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetPluginFactory(factory QWebPluginFactory_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetPluginFactory(ptr.Pointer(), PointerFromQWebPluginFactory(factory)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SetView(view widgets.QWidget_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_SetView(ptr.Pointer(), widgets.PointerFromQWidget(view)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) Settings() *QWebSettings { | |
| + if ptr.Pointer() != nil { | |
| + return NewQWebSettingsFromPointer(C.QWebPage_Settings(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_StatusBarMessage | |
| +func callbackQWebPage_StatusBarMessage(ptr unsafe.Pointer, text *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::statusBarMessage"); signal != nil { | |
| + signal.(func(string))(C.GoString(text)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectStatusBarMessage(f func(text string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectStatusBarMessage(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::statusBarMessage", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectStatusBarMessage() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectStatusBarMessage(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::statusBarMessage") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) StatusBarMessage(text string) { | |
| + if ptr.Pointer() != nil { | |
| + var textC = C.CString(text) | |
| + defer C.free(unsafe.Pointer(textC)) | |
| + C.QWebPage_StatusBarMessage(ptr.Pointer(), textC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_StatusBarVisibilityChangeRequested | |
| +func callbackQWebPage_StatusBarVisibilityChangeRequested(ptr unsafe.Pointer, visible C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::statusBarVisibilityChangeRequested"); signal != nil { | |
| + signal.(func(bool))(int8(visible) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectStatusBarVisibilityChangeRequested(f func(visible bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectStatusBarVisibilityChangeRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::statusBarVisibilityChangeRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectStatusBarVisibilityChangeRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectStatusBarVisibilityChangeRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::statusBarVisibilityChangeRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) StatusBarVisibilityChangeRequested(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_StatusBarVisibilityChangeRequested(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SupportedContentTypes() []string { | |
| + if ptr.Pointer() != nil { | |
| + return strings.Split(C.GoString(C.QWebPage_SupportedContentTypes(ptr.Pointer())), "|") | |
| + } | |
| + return make([]string, 0) | |
| +} | |
| + | |
| +func (ptr *QWebPage) SupportsContentType(mimeType string) bool { | |
| + if ptr.Pointer() != nil { | |
| + var mimeTypeC = C.CString(mimeType) | |
| + defer C.free(unsafe.Pointer(mimeTypeC)) | |
| + return C.QWebPage_SupportsContentType(ptr.Pointer(), mimeTypeC) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPage_SupportsExtension | |
| +func callbackQWebPage_SupportsExtension(ptr unsafe.Pointer, extension C.longlong) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::supportsExtension"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(QWebPage__Extension) bool)(QWebPage__Extension(extension))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).SupportsExtensionDefault(QWebPage__Extension(extension))))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectSupportsExtension(f func(extension QWebPage__Extension) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::supportsExtension", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectSupportsExtension() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::supportsExtension") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) SupportsExtension(extension QWebPage__Extension) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_SupportsExtension(ptr.Pointer(), C.longlong(extension)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) SupportsExtensionDefault(extension QWebPage__Extension) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_SupportsExtensionDefault(ptr.Pointer(), C.longlong(extension)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) SwallowContextMenuEvent(event gui.QContextMenuEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_SwallowContextMenuEvent(ptr.Pointer(), gui.PointerFromQContextMenuEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPage_ToolBarVisibilityChangeRequested | |
| +func callbackQWebPage_ToolBarVisibilityChangeRequested(ptr unsafe.Pointer, visible C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::toolBarVisibilityChangeRequested"); signal != nil { | |
| + signal.(func(bool))(int8(visible) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectToolBarVisibilityChangeRequested(f func(visible bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectToolBarVisibilityChangeRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::toolBarVisibilityChangeRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectToolBarVisibilityChangeRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectToolBarVisibilityChangeRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::toolBarVisibilityChangeRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ToolBarVisibilityChangeRequested(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ToolBarVisibilityChangeRequested(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) TotalBytes() uint64 { | |
| + if ptr.Pointer() != nil { | |
| + return uint64(C.QWebPage_TotalBytes(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebPage_TriggerAction | |
| +func callbackQWebPage_TriggerAction(ptr unsafe.Pointer, action C.longlong, checked C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::triggerAction"); signal != nil { | |
| + signal.(func(QWebPage__WebAction, bool))(QWebPage__WebAction(action), int8(checked) != 0) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).TriggerActionDefault(QWebPage__WebAction(action), int8(checked) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectTriggerAction(f func(action QWebPage__WebAction, checked bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::triggerAction", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectTriggerAction() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::triggerAction") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) TriggerAction(action QWebPage__WebAction, checked bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_TriggerAction(ptr.Pointer(), C.longlong(action), C.char(int8(qt.GoBoolToInt(checked)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) TriggerActionDefault(action QWebPage__WebAction, checked bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_TriggerActionDefault(ptr.Pointer(), C.longlong(action), C.char(int8(qt.GoBoolToInt(checked)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) UndoStack() *widgets.QUndoStack { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = widgets.NewQUndoStackFromPointer(C.QWebPage_UndoStack(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_UnsupportedContent | |
| +func callbackQWebPage_UnsupportedContent(ptr unsafe.Pointer, reply unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::unsupportedContent"); signal != nil { | |
| + signal.(func(*network.QNetworkReply))(network.NewQNetworkReplyFromPointer(reply)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectUnsupportedContent(f func(reply *network.QNetworkReply)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectUnsupportedContent(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::unsupportedContent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectUnsupportedContent() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectUnsupportedContent(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::unsupportedContent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) UnsupportedContent(reply network.QNetworkReply_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_UnsupportedContent(ptr.Pointer(), network.PointerFromQNetworkReply(reply)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) UpdatePositionDependentActions(pos core.QPoint_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_UpdatePositionDependentActions(ptr.Pointer(), core.PointerFromQPoint(pos)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_UserAgentForUrl | |
| +func callbackQWebPage_UserAgentForUrl(ptr unsafe.Pointer, url unsafe.Pointer) *C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::userAgentForUrl"); signal != nil { | |
| + return C.CString(signal.(func(*core.QUrl) string)(core.NewQUrlFromPointer(url))) | |
| + } | |
| + | |
| + return C.CString(NewQWebPageFromPointer(ptr).UserAgentForUrlDefault(core.NewQUrlFromPointer(url))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectUserAgentForUrl(f func(url *core.QUrl) string) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::userAgentForUrl", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectUserAgentForUrl() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::userAgentForUrl") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) UserAgentForUrl(url core.QUrl_ITF) string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebPage_UserAgentForUrl(ptr.Pointer(), core.PointerFromQUrl(url))) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebPage) UserAgentForUrlDefault(url core.QUrl_ITF) string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebPage_UserAgentForUrlDefault(ptr.Pointer(), core.PointerFromQUrl(url))) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebPage) View() *widgets.QWidget { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = widgets.NewQWidgetFromPointer(C.QWebPage_View(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPage_ViewportChangeRequested | |
| +func callbackQWebPage_ViewportChangeRequested(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::viewportChangeRequested"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectViewportChangeRequested(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectViewportChangeRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::viewportChangeRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectViewportChangeRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectViewportChangeRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::viewportChangeRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ViewportChangeRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ViewportChangeRequested(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_WindowCloseRequested | |
| +func callbackQWebPage_WindowCloseRequested(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::windowCloseRequested"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectWindowCloseRequested(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectWindowCloseRequested(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::windowCloseRequested", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectWindowCloseRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectWindowCloseRequested(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::windowCloseRequested") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) WindowCloseRequested() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_WindowCloseRequested(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DestroyQWebPage() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DestroyQWebPage(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_TimerEvent | |
| +func callbackQWebPage_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_ChildEvent | |
| +func callbackQWebPage_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_ConnectNotify | |
| +func callbackQWebPage_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_CustomEvent | |
| +func callbackQWebPage_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_DeleteLater | |
| +func callbackQWebPage_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_DisconnectNotify | |
| +func callbackQWebPage_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebPageFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPage_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPage_EventFilter | |
| +func callbackQWebPage_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPageFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPage) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPage_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPage_MetaObject | |
| +func callbackQWebPage_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPage::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQWebPageFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebPage) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPage::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPage) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebPage_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPage) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebPage_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +type QWebPluginFactory struct { | |
| + core.QObject | |
| +} | |
| + | |
| +type QWebPluginFactory_ITF interface { | |
| + core.QObject_ITF | |
| + QWebPluginFactory_PTR() *QWebPluginFactory | |
| +} | |
| + | |
| +func (p *QWebPluginFactory) QWebPluginFactory_PTR() *QWebPluginFactory { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebPluginFactory) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QObject_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebPluginFactory) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QObject_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebPluginFactory(ptr QWebPluginFactory_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebPluginFactory_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebPluginFactoryFromPointer(ptr unsafe.Pointer) *QWebPluginFactory { | |
| + var n = new(QWebPluginFactory) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_Create | |
| +func callbackQWebPluginFactory_Create(ptr unsafe.Pointer, mimeType *C.char, url unsafe.Pointer, argumentNames *C.char, argumentValues *C.char) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::create"); signal != nil { | |
| + return core.PointerFromQObject(signal.(func(string, *core.QUrl, []string, []string) *core.QObject)(C.GoString(mimeType), core.NewQUrlFromPointer(url), strings.Split(C.GoString(argumentNames), "|"), strings.Split(C.GoString(argumentValues), "|"))) | |
| + } | |
| + | |
| + return core.PointerFromQObject(nil) | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectCreate(f func(mimeType string, url *core.QUrl, argumentNames []string, argumentValues []string) *core.QObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::create", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectCreate(mimeType string, url core.QUrl_ITF, argumentNames []string, argumentValues []string) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::create") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) Create(mimeType string, url core.QUrl_ITF, argumentNames []string, argumentValues []string) *core.QObject { | |
| + if ptr.Pointer() != nil { | |
| + var mimeTypeC = C.CString(mimeType) | |
| + defer C.free(unsafe.Pointer(mimeTypeC)) | |
| + var argumentNamesC = C.CString(strings.Join(argumentNames, "|")) | |
| + defer C.free(unsafe.Pointer(argumentNamesC)) | |
| + var argumentValuesC = C.CString(strings.Join(argumentValues, "|")) | |
| + defer C.free(unsafe.Pointer(argumentValuesC)) | |
| + var tmpValue = core.NewQObjectFromPointer(C.QWebPluginFactory_Create(ptr.Pointer(), mimeTypeC, core.PointerFromQUrl(url), argumentNamesC, argumentValuesC)) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_RefreshPlugins | |
| +func callbackQWebPluginFactory_RefreshPlugins(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::refreshPlugins"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).RefreshPluginsDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectRefreshPlugins(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::refreshPlugins", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectRefreshPlugins() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::refreshPlugins") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) RefreshPlugins() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_RefreshPlugins(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) RefreshPluginsDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_RefreshPluginsDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_DestroyQWebPluginFactory | |
| +func callbackQWebPluginFactory_DestroyQWebPluginFactory(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::~QWebPluginFactory"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).DestroyQWebPluginFactoryDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectDestroyQWebPluginFactory(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::~QWebPluginFactory", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectDestroyQWebPluginFactory() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::~QWebPluginFactory") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DestroyQWebPluginFactory() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_DestroyQWebPluginFactory(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DestroyQWebPluginFactoryDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_DestroyQWebPluginFactoryDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_TimerEvent | |
| +func callbackQWebPluginFactory_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_ChildEvent | |
| +func callbackQWebPluginFactory_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_ConnectNotify | |
| +func callbackQWebPluginFactory_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_CustomEvent | |
| +func callbackQWebPluginFactory_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_DeleteLater | |
| +func callbackQWebPluginFactory_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_DisconnectNotify | |
| +func callbackQWebPluginFactory_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebPluginFactoryFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebPluginFactory_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_Event | |
| +func callbackQWebPluginFactory_Event(ptr unsafe.Pointer, e unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::event"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(e))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPluginFactoryFromPointer(ptr).EventDefault(core.NewQEventFromPointer(e))))) | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectEvent(f func(e *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::event", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::event") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) Event(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPluginFactory_Event(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) EventDefault(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPluginFactory_EventDefault(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_EventFilter | |
| +func callbackQWebPluginFactory_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebPluginFactoryFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPluginFactory_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebPluginFactory_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebPluginFactory_MetaObject | |
| +func callbackQWebPluginFactory_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebPluginFactory::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQWebPluginFactoryFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebPluginFactory::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebPluginFactory_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebPluginFactory) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebPluginFactory_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//QWebSecurityOrigin::SubdomainSetting | |
| +type QWebSecurityOrigin__SubdomainSetting int64 | |
| + | |
| +const ( | |
| + QWebSecurityOrigin__AllowSubdomains = QWebSecurityOrigin__SubdomainSetting(0) | |
| + QWebSecurityOrigin__DisallowSubdomains = QWebSecurityOrigin__SubdomainSetting(1) | |
| +) | |
| + | |
| +type QWebSecurityOrigin struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebSecurityOrigin_ITF interface { | |
| + QWebSecurityOrigin_PTR() *QWebSecurityOrigin | |
| +} | |
| + | |
| +func (p *QWebSecurityOrigin) QWebSecurityOrigin_PTR() *QWebSecurityOrigin { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebSecurityOrigin) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebSecurityOrigin) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebSecurityOrigin(ptr QWebSecurityOrigin_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebSecurityOrigin_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebSecurityOriginFromPointer(ptr unsafe.Pointer) *QWebSecurityOrigin { | |
| + var n = new(QWebSecurityOrigin) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func (ptr *QWebSecurityOrigin) SetApplicationCacheQuota(quota int64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSecurityOrigin_SetApplicationCacheQuota(ptr.Pointer(), C.longlong(quota)) | |
| + } | |
| +} | |
| + | |
| +func NewQWebSecurityOrigin(url core.QUrl_ITF) *QWebSecurityOrigin { | |
| + var tmpValue = NewQWebSecurityOriginFromPointer(C.QWebSecurityOrigin_NewQWebSecurityOrigin(core.PointerFromQUrl(url))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebSecurityOrigin).DestroyQWebSecurityOrigin) | |
| + return tmpValue | |
| +} | |
| + | |
| +func NewQWebSecurityOrigin2(other QWebSecurityOrigin_ITF) *QWebSecurityOrigin { | |
| + var tmpValue = NewQWebSecurityOriginFromPointer(C.QWebSecurityOrigin_NewQWebSecurityOrigin2(PointerFromQWebSecurityOrigin(other))) | |
| + runtime.SetFinalizer(tmpValue, (*QWebSecurityOrigin).DestroyQWebSecurityOrigin) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) AddAccessWhitelistEntry(scheme string, host string, subdomainSetting QWebSecurityOrigin__SubdomainSetting) { | |
| + if ptr.Pointer() != nil { | |
| + var schemeC = C.CString(scheme) | |
| + defer C.free(unsafe.Pointer(schemeC)) | |
| + var hostC = C.CString(host) | |
| + defer C.free(unsafe.Pointer(hostC)) | |
| + C.QWebSecurityOrigin_AddAccessWhitelistEntry(ptr.Pointer(), schemeC, hostC, C.longlong(subdomainSetting)) | |
| + } | |
| +} | |
| + | |
| +func QWebSecurityOrigin_AddLocalScheme(scheme string) { | |
| + var schemeC = C.CString(scheme) | |
| + defer C.free(unsafe.Pointer(schemeC)) | |
| + C.QWebSecurityOrigin_QWebSecurityOrigin_AddLocalScheme(schemeC) | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) AddLocalScheme(scheme string) { | |
| + var schemeC = C.CString(scheme) | |
| + defer C.free(unsafe.Pointer(schemeC)) | |
| + C.QWebSecurityOrigin_QWebSecurityOrigin_AddLocalScheme(schemeC) | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) DatabaseQuota() int64 { | |
| + if ptr.Pointer() != nil { | |
| + return int64(C.QWebSecurityOrigin_DatabaseQuota(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) DatabaseUsage() int64 { | |
| + if ptr.Pointer() != nil { | |
| + return int64(C.QWebSecurityOrigin_DatabaseUsage(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) Host() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebSecurityOrigin_Host(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func QWebSecurityOrigin_LocalSchemes() []string { | |
| + return strings.Split(C.GoString(C.QWebSecurityOrigin_QWebSecurityOrigin_LocalSchemes()), "|") | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) LocalSchemes() []string { | |
| + return strings.Split(C.GoString(C.QWebSecurityOrigin_QWebSecurityOrigin_LocalSchemes()), "|") | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) Port() int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebSecurityOrigin_Port(ptr.Pointer()))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) RemoveAccessWhitelistEntry(scheme string, host string, subdomainSetting QWebSecurityOrigin__SubdomainSetting) { | |
| + if ptr.Pointer() != nil { | |
| + var schemeC = C.CString(scheme) | |
| + defer C.free(unsafe.Pointer(schemeC)) | |
| + var hostC = C.CString(host) | |
| + defer C.free(unsafe.Pointer(hostC)) | |
| + C.QWebSecurityOrigin_RemoveAccessWhitelistEntry(ptr.Pointer(), schemeC, hostC, C.longlong(subdomainSetting)) | |
| + } | |
| +} | |
| + | |
| +func QWebSecurityOrigin_RemoveLocalScheme(scheme string) { | |
| + var schemeC = C.CString(scheme) | |
| + defer C.free(unsafe.Pointer(schemeC)) | |
| + C.QWebSecurityOrigin_QWebSecurityOrigin_RemoveLocalScheme(schemeC) | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) RemoveLocalScheme(scheme string) { | |
| + var schemeC = C.CString(scheme) | |
| + defer C.free(unsafe.Pointer(schemeC)) | |
| + C.QWebSecurityOrigin_QWebSecurityOrigin_RemoveLocalScheme(schemeC) | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) Scheme() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebSecurityOrigin_Scheme(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) SetDatabaseQuota(quota int64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSecurityOrigin_SetDatabaseQuota(ptr.Pointer(), C.longlong(quota)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSecurityOrigin) DestroyQWebSecurityOrigin() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSecurityOrigin_DestroyQWebSecurityOrigin(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//QWebSettings::FontFamily | |
| +type QWebSettings__FontFamily int64 | |
| + | |
| +const ( | |
| + QWebSettings__StandardFont = QWebSettings__FontFamily(0) | |
| + QWebSettings__FixedFont = QWebSettings__FontFamily(1) | |
| + QWebSettings__SerifFont = QWebSettings__FontFamily(2) | |
| + QWebSettings__SansSerifFont = QWebSettings__FontFamily(3) | |
| + QWebSettings__CursiveFont = QWebSettings__FontFamily(4) | |
| + QWebSettings__FantasyFont = QWebSettings__FontFamily(5) | |
| +) | |
| + | |
| +//QWebSettings::FontSize | |
| +type QWebSettings__FontSize int64 | |
| + | |
| +const ( | |
| + QWebSettings__MinimumFontSize = QWebSettings__FontSize(0) | |
| + QWebSettings__MinimumLogicalFontSize = QWebSettings__FontSize(1) | |
| + QWebSettings__DefaultFontSize = QWebSettings__FontSize(2) | |
| + QWebSettings__DefaultFixedFontSize = QWebSettings__FontSize(3) | |
| +) | |
| + | |
| +//QWebSettings::ThirdPartyCookiePolicy | |
| +type QWebSettings__ThirdPartyCookiePolicy int64 | |
| + | |
| +const ( | |
| + QWebSettings__AlwaysAllowThirdPartyCookies = QWebSettings__ThirdPartyCookiePolicy(0) | |
| + QWebSettings__AlwaysBlockThirdPartyCookies = QWebSettings__ThirdPartyCookiePolicy(1) | |
| + QWebSettings__AllowThirdPartyWithExistingCookies = QWebSettings__ThirdPartyCookiePolicy(2) | |
| +) | |
| + | |
| +//QWebSettings::WebAttribute | |
| +type QWebSettings__WebAttribute int64 | |
| + | |
| +var ( | |
| + QWebSettings__AutoLoadImages = QWebSettings__WebAttribute(0) | |
| + QWebSettings__JavascriptEnabled = QWebSettings__WebAttribute(1) | |
| + QWebSettings__JavaEnabled = QWebSettings__WebAttribute(2) | |
| + QWebSettings__PluginsEnabled = QWebSettings__WebAttribute(3) | |
| + QWebSettings__PrivateBrowsingEnabled = QWebSettings__WebAttribute(4) | |
| + QWebSettings__JavascriptCanOpenWindows = QWebSettings__WebAttribute(5) | |
| + QWebSettings__JavascriptCanAccessClipboard = QWebSettings__WebAttribute(6) | |
| + QWebSettings__DeveloperExtrasEnabled = QWebSettings__WebAttribute(7) | |
| + QWebSettings__LinksIncludedInFocusChain = QWebSettings__WebAttribute(8) | |
| + QWebSettings__ZoomTextOnly = QWebSettings__WebAttribute(9) | |
| + QWebSettings__PrintElementBackgrounds = QWebSettings__WebAttribute(10) | |
| + QWebSettings__OfflineStorageDatabaseEnabled = QWebSettings__WebAttribute(11) | |
| + QWebSettings__OfflineWebApplicationCacheEnabled = QWebSettings__WebAttribute(12) | |
| + QWebSettings__LocalStorageEnabled = QWebSettings__WebAttribute(13) | |
| + QWebSettings__LocalStorageDatabaseEnabled = QWebSettings__WebAttribute(QWebSettings__LocalStorageEnabled) | |
| + QWebSettings__LocalContentCanAccessRemoteUrls = QWebSettings__WebAttribute(C.QWebSettings_LocalContentCanAccessRemoteUrls_Type()) | |
| + QWebSettings__DnsPrefetchEnabled = QWebSettings__WebAttribute(C.QWebSettings_DnsPrefetchEnabled_Type()) | |
| + QWebSettings__XSSAuditingEnabled = QWebSettings__WebAttribute(C.QWebSettings_XSSAuditingEnabled_Type()) | |
| + QWebSettings__AcceleratedCompositingEnabled = QWebSettings__WebAttribute(C.QWebSettings_AcceleratedCompositingEnabled_Type()) | |
| + QWebSettings__SpatialNavigationEnabled = QWebSettings__WebAttribute(C.QWebSettings_SpatialNavigationEnabled_Type()) | |
| + QWebSettings__LocalContentCanAccessFileUrls = QWebSettings__WebAttribute(C.QWebSettings_LocalContentCanAccessFileUrls_Type()) | |
| + QWebSettings__TiledBackingStoreEnabled = QWebSettings__WebAttribute(C.QWebSettings_TiledBackingStoreEnabled_Type()) | |
| + QWebSettings__FrameFlatteningEnabled = QWebSettings__WebAttribute(C.QWebSettings_FrameFlatteningEnabled_Type()) | |
| + QWebSettings__SiteSpecificQuirksEnabled = QWebSettings__WebAttribute(C.QWebSettings_SiteSpecificQuirksEnabled_Type()) | |
| + QWebSettings__JavascriptCanCloseWindows = QWebSettings__WebAttribute(C.QWebSettings_JavascriptCanCloseWindows_Type()) | |
| + QWebSettings__WebGLEnabled = QWebSettings__WebAttribute(C.QWebSettings_WebGLEnabled_Type()) | |
| + QWebSettings__CSSRegionsEnabled = QWebSettings__WebAttribute(C.QWebSettings_CSSRegionsEnabled_Type()) | |
| + QWebSettings__HyperlinkAuditingEnabled = QWebSettings__WebAttribute(C.QWebSettings_HyperlinkAuditingEnabled_Type()) | |
| + QWebSettings__CSSGridLayoutEnabled = QWebSettings__WebAttribute(C.QWebSettings_CSSGridLayoutEnabled_Type()) | |
| + QWebSettings__ScrollAnimatorEnabled = QWebSettings__WebAttribute(C.QWebSettings_ScrollAnimatorEnabled_Type()) | |
| + QWebSettings__CaretBrowsingEnabled = QWebSettings__WebAttribute(C.QWebSettings_CaretBrowsingEnabled_Type()) | |
| + QWebSettings__NotificationsEnabled = QWebSettings__WebAttribute(C.QWebSettings_NotificationsEnabled_Type()) | |
| + QWebSettings__WebAudioEnabled = QWebSettings__WebAttribute(C.QWebSettings_WebAudioEnabled_Type()) | |
| + QWebSettings__Accelerated2dCanvasEnabled = QWebSettings__WebAttribute(C.QWebSettings_Accelerated2dCanvasEnabled_Type()) | |
| +) | |
| + | |
| +//QWebSettings::WebGraphic | |
| +type QWebSettings__WebGraphic int64 | |
| + | |
| +const ( | |
| + QWebSettings__MissingImageGraphic = QWebSettings__WebGraphic(0) | |
| + QWebSettings__MissingPluginGraphic = QWebSettings__WebGraphic(1) | |
| + QWebSettings__DefaultFrameIconGraphic = QWebSettings__WebGraphic(2) | |
| + QWebSettings__TextAreaSizeGripCornerGraphic = QWebSettings__WebGraphic(3) | |
| + QWebSettings__DeleteButtonGraphic = QWebSettings__WebGraphic(4) | |
| + QWebSettings__InputSpeechButtonGraphic = QWebSettings__WebGraphic(5) | |
| + QWebSettings__SearchCancelButtonGraphic = QWebSettings__WebGraphic(6) | |
| + QWebSettings__SearchCancelButtonPressedGraphic = QWebSettings__WebGraphic(7) | |
| +) | |
| + | |
| +type QWebSettings struct { | |
| + ptr unsafe.Pointer | |
| +} | |
| + | |
| +type QWebSettings_ITF interface { | |
| + QWebSettings_PTR() *QWebSettings | |
| +} | |
| + | |
| +func (p *QWebSettings) QWebSettings_PTR() *QWebSettings { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebSettings) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.ptr | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebSettings) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.ptr = ptr | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebSettings(ptr QWebSettings_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebSettings_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebSettingsFromPointer(ptr unsafe.Pointer) *QWebSettings { | |
| + var n = new(QWebSettings) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| + | |
| +func (ptr *QWebSettings) DestroyQWebSettings() { | |
| + C.free(ptr.Pointer()) | |
| + ptr.SetPointer(nil) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) ResetAttribute(attribute QWebSettings__WebAttribute) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_ResetAttribute(ptr.Pointer(), C.longlong(attribute)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetAttribute(attribute QWebSettings__WebAttribute, on bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_SetAttribute(ptr.Pointer(), C.longlong(attribute), C.char(int8(qt.GoBoolToInt(on)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) TestAttribute(attribute QWebSettings__WebAttribute) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebSettings_TestAttribute(ptr.Pointer(), C.longlong(attribute)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func QWebSettings_ClearIconDatabase() { | |
| + C.QWebSettings_QWebSettings_ClearIconDatabase() | |
| +} | |
| + | |
| +func (ptr *QWebSettings) ClearIconDatabase() { | |
| + C.QWebSettings_QWebSettings_ClearIconDatabase() | |
| +} | |
| + | |
| +func QWebSettings_ClearMemoryCaches() { | |
| + C.QWebSettings_QWebSettings_ClearMemoryCaches() | |
| +} | |
| + | |
| +func (ptr *QWebSettings) ClearMemoryCaches() { | |
| + C.QWebSettings_QWebSettings_ClearMemoryCaches() | |
| +} | |
| + | |
| +func (ptr *QWebSettings) CssMediaType() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebSettings_CssMediaType(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebSettings) DefaultTextEncoding() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebSettings_DefaultTextEncoding(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func QWebSettings_EnablePersistentStorage(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_EnablePersistentStorage(pathC) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) EnablePersistentStorage(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_EnablePersistentStorage(pathC) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) FontFamily(which QWebSettings__FontFamily) string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebSettings_FontFamily(ptr.Pointer(), C.longlong(which))) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebSettings) FontSize(ty QWebSettings__FontSize) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebSettings_FontSize(ptr.Pointer(), C.longlong(ty)))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func QWebSettings_GlobalSettings() *QWebSettings { | |
| + return NewQWebSettingsFromPointer(C.QWebSettings_QWebSettings_GlobalSettings()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) GlobalSettings() *QWebSettings { | |
| + return NewQWebSettingsFromPointer(C.QWebSettings_QWebSettings_GlobalSettings()) | |
| +} | |
| + | |
| +func QWebSettings_IconDatabasePath() string { | |
| + return C.GoString(C.QWebSettings_QWebSettings_IconDatabasePath()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) IconDatabasePath() string { | |
| + return C.GoString(C.QWebSettings_QWebSettings_IconDatabasePath()) | |
| +} | |
| + | |
| +func QWebSettings_IconForUrl(url core.QUrl_ITF) *gui.QIcon { | |
| + var tmpValue = gui.NewQIconFromPointer(C.QWebSettings_QWebSettings_IconForUrl(core.PointerFromQUrl(url))) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QIcon).DestroyQIcon) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebSettings) IconForUrl(url core.QUrl_ITF) *gui.QIcon { | |
| + var tmpValue = gui.NewQIconFromPointer(C.QWebSettings_QWebSettings_IconForUrl(core.PointerFromQUrl(url))) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QIcon).DestroyQIcon) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebSettings) LocalStoragePath() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebSettings_LocalStoragePath(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func QWebSettings_MaximumPagesInCache() int { | |
| + return int(int32(C.QWebSettings_QWebSettings_MaximumPagesInCache())) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) MaximumPagesInCache() int { | |
| + return int(int32(C.QWebSettings_QWebSettings_MaximumPagesInCache())) | |
| +} | |
| + | |
| +func QWebSettings_OfflineStorageDefaultQuota() int64 { | |
| + return int64(C.QWebSettings_QWebSettings_OfflineStorageDefaultQuota()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) OfflineStorageDefaultQuota() int64 { | |
| + return int64(C.QWebSettings_QWebSettings_OfflineStorageDefaultQuota()) | |
| +} | |
| + | |
| +func QWebSettings_OfflineStoragePath() string { | |
| + return C.GoString(C.QWebSettings_QWebSettings_OfflineStoragePath()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) OfflineStoragePath() string { | |
| + return C.GoString(C.QWebSettings_QWebSettings_OfflineStoragePath()) | |
| +} | |
| + | |
| +func QWebSettings_OfflineWebApplicationCachePath() string { | |
| + return C.GoString(C.QWebSettings_QWebSettings_OfflineWebApplicationCachePath()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) OfflineWebApplicationCachePath() string { | |
| + return C.GoString(C.QWebSettings_QWebSettings_OfflineWebApplicationCachePath()) | |
| +} | |
| + | |
| +func QWebSettings_OfflineWebApplicationCacheQuota() int64 { | |
| + return int64(C.QWebSettings_QWebSettings_OfflineWebApplicationCacheQuota()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) OfflineWebApplicationCacheQuota() int64 { | |
| + return int64(C.QWebSettings_QWebSettings_OfflineWebApplicationCacheQuota()) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) ResetFontFamily(which QWebSettings__FontFamily) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_ResetFontFamily(ptr.Pointer(), C.longlong(which)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) ResetFontSize(ty QWebSettings__FontSize) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_ResetFontSize(ptr.Pointer(), C.longlong(ty)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetCSSMediaType(ty string) { | |
| + if ptr.Pointer() != nil { | |
| + var tyC = C.CString(ty) | |
| + defer C.free(unsafe.Pointer(tyC)) | |
| + C.QWebSettings_SetCSSMediaType(ptr.Pointer(), tyC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetDefaultTextEncoding(encoding string) { | |
| + if ptr.Pointer() != nil { | |
| + var encodingC = C.CString(encoding) | |
| + defer C.free(unsafe.Pointer(encodingC)) | |
| + C.QWebSettings_SetDefaultTextEncoding(ptr.Pointer(), encodingC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetFontFamily(which QWebSettings__FontFamily, family string) { | |
| + if ptr.Pointer() != nil { | |
| + var familyC = C.CString(family) | |
| + defer C.free(unsafe.Pointer(familyC)) | |
| + C.QWebSettings_SetFontFamily(ptr.Pointer(), C.longlong(which), familyC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetFontSize(ty QWebSettings__FontSize, size int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_SetFontSize(ptr.Pointer(), C.longlong(ty), C.int(int32(size))) | |
| + } | |
| +} | |
| + | |
| +func QWebSettings_SetIconDatabasePath(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_SetIconDatabasePath(pathC) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetIconDatabasePath(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_SetIconDatabasePath(pathC) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetLocalStoragePath(path string) { | |
| + if ptr.Pointer() != nil { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_SetLocalStoragePath(ptr.Pointer(), pathC) | |
| + } | |
| +} | |
| + | |
| +func QWebSettings_SetMaximumPagesInCache(pages int) { | |
| + C.QWebSettings_QWebSettings_SetMaximumPagesInCache(C.int(int32(pages))) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetMaximumPagesInCache(pages int) { | |
| + C.QWebSettings_QWebSettings_SetMaximumPagesInCache(C.int(int32(pages))) | |
| +} | |
| + | |
| +func QWebSettings_SetObjectCacheCapacities(cacheMinDeadCapacity int, cacheMaxDead int, totalCapacity int) { | |
| + C.QWebSettings_QWebSettings_SetObjectCacheCapacities(C.int(int32(cacheMinDeadCapacity)), C.int(int32(cacheMaxDead)), C.int(int32(totalCapacity))) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetObjectCacheCapacities(cacheMinDeadCapacity int, cacheMaxDead int, totalCapacity int) { | |
| + C.QWebSettings_QWebSettings_SetObjectCacheCapacities(C.int(int32(cacheMinDeadCapacity)), C.int(int32(cacheMaxDead)), C.int(int32(totalCapacity))) | |
| +} | |
| + | |
| +func QWebSettings_SetOfflineStorageDefaultQuota(maximumSize int64) { | |
| + C.QWebSettings_QWebSettings_SetOfflineStorageDefaultQuota(C.longlong(maximumSize)) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetOfflineStorageDefaultQuota(maximumSize int64) { | |
| + C.QWebSettings_QWebSettings_SetOfflineStorageDefaultQuota(C.longlong(maximumSize)) | |
| +} | |
| + | |
| +func QWebSettings_SetOfflineStoragePath(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_SetOfflineStoragePath(pathC) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetOfflineStoragePath(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_SetOfflineStoragePath(pathC) | |
| +} | |
| + | |
| +func QWebSettings_SetOfflineWebApplicationCachePath(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_SetOfflineWebApplicationCachePath(pathC) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetOfflineWebApplicationCachePath(path string) { | |
| + var pathC = C.CString(path) | |
| + defer C.free(unsafe.Pointer(pathC)) | |
| + C.QWebSettings_QWebSettings_SetOfflineWebApplicationCachePath(pathC) | |
| +} | |
| + | |
| +func QWebSettings_SetOfflineWebApplicationCacheQuota(maximumSize int64) { | |
| + C.QWebSettings_QWebSettings_SetOfflineWebApplicationCacheQuota(C.longlong(maximumSize)) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetOfflineWebApplicationCacheQuota(maximumSize int64) { | |
| + C.QWebSettings_QWebSettings_SetOfflineWebApplicationCacheQuota(C.longlong(maximumSize)) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetThirdPartyCookiePolicy(policy QWebSettings__ThirdPartyCookiePolicy) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_SetThirdPartyCookiePolicy(ptr.Pointer(), C.longlong(policy)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetUserStyleSheetUrl(location core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebSettings_SetUserStyleSheetUrl(ptr.Pointer(), core.PointerFromQUrl(location)) | |
| + } | |
| +} | |
| + | |
| +func QWebSettings_SetWebGraphic(ty QWebSettings__WebGraphic, graphic gui.QPixmap_ITF) { | |
| + C.QWebSettings_QWebSettings_SetWebGraphic(C.longlong(ty), gui.PointerFromQPixmap(graphic)) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) SetWebGraphic(ty QWebSettings__WebGraphic, graphic gui.QPixmap_ITF) { | |
| + C.QWebSettings_QWebSettings_SetWebGraphic(C.longlong(ty), gui.PointerFromQPixmap(graphic)) | |
| +} | |
| + | |
| +func (ptr *QWebSettings) ThirdPartyCookiePolicy() QWebSettings__ThirdPartyCookiePolicy { | |
| + if ptr.Pointer() != nil { | |
| + return QWebSettings__ThirdPartyCookiePolicy(C.QWebSettings_ThirdPartyCookiePolicy(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebSettings) UserStyleSheetUrl() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebSettings_UserStyleSheetUrl(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func QWebSettings_WebGraphic(ty QWebSettings__WebGraphic) *gui.QPixmap { | |
| + var tmpValue = gui.NewQPixmapFromPointer(C.QWebSettings_QWebSettings_WebGraphic(C.longlong(ty))) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPixmap).DestroyQPixmap) | |
| + return tmpValue | |
| +} | |
| + | |
| +func (ptr *QWebSettings) WebGraphic(ty QWebSettings__WebGraphic) *gui.QPixmap { | |
| + var tmpValue = gui.NewQPixmapFromPointer(C.QWebSettings_QWebSettings_WebGraphic(C.longlong(ty))) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QPixmap).DestroyQPixmap) | |
| + return tmpValue | |
| +} | |
| + | |
| +type QWebView struct { | |
| + widgets.QWidget | |
| +} | |
| + | |
| +type QWebView_ITF interface { | |
| + widgets.QWidget_ITF | |
| + QWebView_PTR() *QWebView | |
| +} | |
| + | |
| +func (p *QWebView) QWebView_PTR() *QWebView { | |
| + return p | |
| +} | |
| + | |
| +func (p *QWebView) Pointer() unsafe.Pointer { | |
| + if p != nil { | |
| + return p.QWidget_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (p *QWebView) SetPointer(ptr unsafe.Pointer) { | |
| + if p != nil { | |
| + p.QWidget_PTR().SetPointer(ptr) | |
| + } | |
| +} | |
| + | |
| +func PointerFromQWebView(ptr QWebView_ITF) unsafe.Pointer { | |
| + if ptr != nil { | |
| + return ptr.QWebView_PTR().Pointer() | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func NewQWebViewFromPointer(ptr unsafe.Pointer) *QWebView { | |
| + var n = new(QWebView) | |
| + n.SetPointer(ptr) | |
| + return n | |
| +} | |
| +func (ptr *QWebView) HasSelection() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_HasSelection(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) Icon() *gui.QIcon { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = gui.NewQIconFromPointer(C.QWebView_Icon(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*gui.QIcon).DestroyQIcon) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) IsModified() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_IsModified(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) Load2(request network.QNetworkRequest_ITF, operation network.QNetworkAccessManager__Operation, body string) { | |
| + if ptr.Pointer() != nil { | |
| + var bodyC = C.CString(hex.EncodeToString([]byte(body))) | |
| + defer C.free(unsafe.Pointer(bodyC)) | |
| + C.QWebView_Load2(ptr.Pointer(), network.PointerFromQNetworkRequest(request), C.longlong(operation), bodyC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SelectedHtml() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebView_SelectedHtml(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebView) SelectedText() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebView_SelectedText(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebView) SetUrl(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetUrl(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetZoomFactor(factor float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetZoomFactor(ptr.Pointer(), C.double(factor)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Title() string { | |
| + if ptr.Pointer() != nil { | |
| + return C.GoString(C.QWebView_Title(ptr.Pointer())) | |
| + } | |
| + return "" | |
| +} | |
| + | |
| +func (ptr *QWebView) Url() *core.QUrl { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQUrlFromPointer(C.QWebView_Url(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QUrl).DestroyQUrl) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) ZoomFactor() float64 { | |
| + if ptr.Pointer() != nil { | |
| + return float64(C.QWebView_ZoomFactor(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func NewQWebView(parent widgets.QWidget_ITF) *QWebView { | |
| + var tmpValue = NewQWebViewFromPointer(C.QWebView_NewQWebView(widgets.PointerFromQWidget(parent))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| +} | |
| + | |
| +//export callbackQWebView_Back | |
| +func callbackQWebView_Back(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::back"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectBack(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::back", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectBack() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::back") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Back() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Back(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ChangeEvent | |
| +func callbackQWebView_ChangeEvent(ptr unsafe.Pointer, e unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::changeEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(e)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ChangeEventDefault(core.NewQEventFromPointer(e)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectChangeEvent(f func(e *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::changeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectChangeEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::changeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ChangeEvent(e core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ChangeEvent(ptr.Pointer(), core.PointerFromQEvent(e)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ChangeEventDefault(e core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ChangeEventDefault(ptr.Pointer(), core.PointerFromQEvent(e)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ContextMenuEvent | |
| +func callbackQWebView_ContextMenuEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::contextMenuEvent"); signal != nil { | |
| + signal.(func(*gui.QContextMenuEvent))(gui.NewQContextMenuEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ContextMenuEventDefault(gui.NewQContextMenuEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectContextMenuEvent(f func(ev *gui.QContextMenuEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::contextMenuEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectContextMenuEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::contextMenuEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ContextMenuEvent(ev gui.QContextMenuEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ContextMenuEvent(ptr.Pointer(), gui.PointerFromQContextMenuEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ContextMenuEventDefault(ev gui.QContextMenuEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ContextMenuEventDefault(ptr.Pointer(), gui.PointerFromQContextMenuEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_CreateWindow | |
| +func callbackQWebView_CreateWindow(ptr unsafe.Pointer, ty C.longlong) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::createWindow"); signal != nil { | |
| + return PointerFromQWebView(signal.(func(QWebPage__WebWindowType) *QWebView)(QWebPage__WebWindowType(ty))) | |
| + } | |
| + | |
| + return PointerFromQWebView(NewQWebViewFromPointer(ptr).CreateWindowDefault(QWebPage__WebWindowType(ty))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectCreateWindow(f func(ty QWebPage__WebWindowType) *QWebView) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::createWindow", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectCreateWindow() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::createWindow") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) CreateWindow(ty QWebPage__WebWindowType) *QWebView { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebViewFromPointer(C.QWebView_CreateWindow(ptr.Pointer(), C.longlong(ty))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) CreateWindowDefault(ty QWebPage__WebWindowType) *QWebView { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebViewFromPointer(C.QWebView_CreateWindowDefault(ptr.Pointer(), C.longlong(ty))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebView_DragEnterEvent | |
| +func callbackQWebView_DragEnterEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::dragEnterEvent"); signal != nil { | |
| + signal.(func(*gui.QDragEnterEvent))(gui.NewQDragEnterEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DragEnterEventDefault(gui.NewQDragEnterEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDragEnterEvent(f func(ev *gui.QDragEnterEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dragEnterEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDragEnterEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dragEnterEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DragEnterEvent(ev gui.QDragEnterEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DragEnterEvent(ptr.Pointer(), gui.PointerFromQDragEnterEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DragEnterEventDefault(ev gui.QDragEnterEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DragEnterEventDefault(ptr.Pointer(), gui.PointerFromQDragEnterEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_DragLeaveEvent | |
| +func callbackQWebView_DragLeaveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::dragLeaveEvent"); signal != nil { | |
| + signal.(func(*gui.QDragLeaveEvent))(gui.NewQDragLeaveEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DragLeaveEventDefault(gui.NewQDragLeaveEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDragLeaveEvent(f func(ev *gui.QDragLeaveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dragLeaveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDragLeaveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dragLeaveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DragLeaveEvent(ev gui.QDragLeaveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DragLeaveEvent(ptr.Pointer(), gui.PointerFromQDragLeaveEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DragLeaveEventDefault(ev gui.QDragLeaveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DragLeaveEventDefault(ptr.Pointer(), gui.PointerFromQDragLeaveEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_DragMoveEvent | |
| +func callbackQWebView_DragMoveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::dragMoveEvent"); signal != nil { | |
| + signal.(func(*gui.QDragMoveEvent))(gui.NewQDragMoveEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DragMoveEventDefault(gui.NewQDragMoveEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDragMoveEvent(f func(ev *gui.QDragMoveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dragMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDragMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dragMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DragMoveEvent(ev gui.QDragMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DragMoveEvent(ptr.Pointer(), gui.PointerFromQDragMoveEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DragMoveEventDefault(ev gui.QDragMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DragMoveEventDefault(ptr.Pointer(), gui.PointerFromQDragMoveEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_DropEvent | |
| +func callbackQWebView_DropEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::dropEvent"); signal != nil { | |
| + signal.(func(*gui.QDropEvent))(gui.NewQDropEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DropEventDefault(gui.NewQDropEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDropEvent(f func(ev *gui.QDropEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dropEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDropEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::dropEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DropEvent(ev gui.QDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DropEvent(ptr.Pointer(), gui.PointerFromQDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DropEventDefault(ev gui.QDropEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DropEventDefault(ptr.Pointer(), gui.PointerFromQDropEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Event | |
| +func callbackQWebView_Event(ptr unsafe.Pointer, e unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::event"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QEvent) bool)(core.NewQEventFromPointer(e))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebViewFromPointer(ptr).EventDefault(core.NewQEventFromPointer(e))))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectEvent(f func(e *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::event", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::event") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Event(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_Event(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) EventDefault(e core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_EventDefault(ptr.Pointer(), core.PointerFromQEvent(e)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) FindText(subString string, options QWebPage__FindFlag) bool { | |
| + if ptr.Pointer() != nil { | |
| + var subStringC = C.CString(subString) | |
| + defer C.free(unsafe.Pointer(subStringC)) | |
| + return C.QWebView_FindText(ptr.Pointer(), subStringC, C.longlong(options)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebView_FocusInEvent | |
| +func callbackQWebView_FocusInEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::focusInEvent"); signal != nil { | |
| + signal.(func(*gui.QFocusEvent))(gui.NewQFocusEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).FocusInEventDefault(gui.NewQFocusEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectFocusInEvent(f func(ev *gui.QFocusEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::focusInEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectFocusInEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::focusInEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) FocusInEvent(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_FocusInEvent(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) FocusInEventDefault(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_FocusInEventDefault(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_FocusNextPrevChild | |
| +func callbackQWebView_FocusNextPrevChild(ptr unsafe.Pointer, next C.char) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::focusNextPrevChild"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(bool) bool)(int8(next) != 0)))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebViewFromPointer(ptr).FocusNextPrevChildDefault(int8(next) != 0)))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectFocusNextPrevChild(f func(next bool) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::focusNextPrevChild", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectFocusNextPrevChild() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::focusNextPrevChild") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) FocusNextPrevChild(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_FocusNextPrevChild(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) FocusNextPrevChildDefault(next bool) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_FocusNextPrevChildDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(next)))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebView_FocusOutEvent | |
| +func callbackQWebView_FocusOutEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::focusOutEvent"); signal != nil { | |
| + signal.(func(*gui.QFocusEvent))(gui.NewQFocusEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).FocusOutEventDefault(gui.NewQFocusEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectFocusOutEvent(f func(ev *gui.QFocusEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::focusOutEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectFocusOutEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::focusOutEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) FocusOutEvent(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_FocusOutEvent(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) FocusOutEventDefault(ev gui.QFocusEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_FocusOutEventDefault(ptr.Pointer(), gui.PointerFromQFocusEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Forward | |
| +func callbackQWebView_Forward(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::forward"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectForward(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::forward", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectForward() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::forward") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Forward() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Forward(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) History() *QWebHistory { | |
| + if ptr.Pointer() != nil { | |
| + return NewQWebHistoryFromPointer(C.QWebView_History(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebView_IconChanged | |
| +func callbackQWebView_IconChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::iconChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectIconChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectIconChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::iconChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectIconChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectIconChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::iconChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) IconChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_IconChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_InputMethodEvent | |
| +func callbackQWebView_InputMethodEvent(ptr unsafe.Pointer, e unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::inputMethodEvent"); signal != nil { | |
| + signal.(func(*gui.QInputMethodEvent))(gui.NewQInputMethodEventFromPointer(e)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).InputMethodEventDefault(gui.NewQInputMethodEventFromPointer(e)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectInputMethodEvent(f func(e *gui.QInputMethodEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::inputMethodEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectInputMethodEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::inputMethodEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) InputMethodEvent(e gui.QInputMethodEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_InputMethodEvent(ptr.Pointer(), gui.PointerFromQInputMethodEvent(e)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) InputMethodEventDefault(e gui.QInputMethodEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_InputMethodEventDefault(ptr.Pointer(), gui.PointerFromQInputMethodEvent(e)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) InputMethodQuery(property core.Qt__InputMethodQuery) *core.QVariant { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQVariantFromPointer(C.QWebView_InputMethodQuery(ptr.Pointer(), C.longlong(property))) | |
| + runtime.SetFinalizer(tmpValue, (*core.QVariant).DestroyQVariant) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebView_KeyPressEvent | |
| +func callbackQWebView_KeyPressEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::keyPressEvent"); signal != nil { | |
| + signal.(func(*gui.QKeyEvent))(gui.NewQKeyEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).KeyPressEventDefault(gui.NewQKeyEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectKeyPressEvent(f func(ev *gui.QKeyEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::keyPressEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectKeyPressEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::keyPressEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) KeyPressEvent(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_KeyPressEvent(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) KeyPressEventDefault(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_KeyPressEventDefault(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_KeyReleaseEvent | |
| +func callbackQWebView_KeyReleaseEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::keyReleaseEvent"); signal != nil { | |
| + signal.(func(*gui.QKeyEvent))(gui.NewQKeyEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).KeyReleaseEventDefault(gui.NewQKeyEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectKeyReleaseEvent(f func(ev *gui.QKeyEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::keyReleaseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectKeyReleaseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::keyReleaseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) KeyReleaseEvent(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_KeyReleaseEvent(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) KeyReleaseEventDefault(ev gui.QKeyEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_KeyReleaseEventDefault(ptr.Pointer(), gui.PointerFromQKeyEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_LinkClicked | |
| +func callbackQWebView_LinkClicked(ptr unsafe.Pointer, url unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::linkClicked"); signal != nil { | |
| + signal.(func(*core.QUrl))(core.NewQUrlFromPointer(url)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectLinkClicked(f func(url *core.QUrl)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectLinkClicked(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::linkClicked", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectLinkClicked() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectLinkClicked(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::linkClicked") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LinkClicked(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LinkClicked(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Load(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Load(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_LoadFinished | |
| +func callbackQWebView_LoadFinished(ptr unsafe.Pointer, ok C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::loadFinished"); signal != nil { | |
| + signal.(func(bool))(int8(ok) != 0) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectLoadFinished(f func(ok bool)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectLoadFinished(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::loadFinished", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectLoadFinished() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectLoadFinished(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::loadFinished") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LoadFinished(ok bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LoadFinished(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(ok)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_LoadProgress | |
| +func callbackQWebView_LoadProgress(ptr unsafe.Pointer, progress C.int) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::loadProgress"); signal != nil { | |
| + signal.(func(int))(int(int32(progress))) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectLoadProgress(f func(progress int)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectLoadProgress(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::loadProgress", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectLoadProgress() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectLoadProgress(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::loadProgress") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LoadProgress(progress int) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LoadProgress(ptr.Pointer(), C.int(int32(progress))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_LoadStarted | |
| +func callbackQWebView_LoadStarted(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::loadStarted"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectLoadStarted(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectLoadStarted(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::loadStarted", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectLoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectLoadStarted(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::loadStarted") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LoadStarted() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LoadStarted(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_MouseDoubleClickEvent | |
| +func callbackQWebView_MouseDoubleClickEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::mouseDoubleClickEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).MouseDoubleClickEventDefault(gui.NewQMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMouseDoubleClickEvent(f func(ev *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mouseDoubleClickEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMouseDoubleClickEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mouseDoubleClickEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MouseDoubleClickEvent(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MouseDoubleClickEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MouseDoubleClickEventDefault(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MouseDoubleClickEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_MouseMoveEvent | |
| +func callbackQWebView_MouseMoveEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::mouseMoveEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).MouseMoveEventDefault(gui.NewQMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMouseMoveEvent(f func(ev *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mouseMoveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMouseMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mouseMoveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MouseMoveEvent(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MouseMoveEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MouseMoveEventDefault(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MouseMoveEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_MousePressEvent | |
| +func callbackQWebView_MousePressEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::mousePressEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).MousePressEventDefault(gui.NewQMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMousePressEvent(f func(ev *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mousePressEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMousePressEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mousePressEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MousePressEvent(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MousePressEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MousePressEventDefault(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MousePressEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_MouseReleaseEvent | |
| +func callbackQWebView_MouseReleaseEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::mouseReleaseEvent"); signal != nil { | |
| + signal.(func(*gui.QMouseEvent))(gui.NewQMouseEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).MouseReleaseEventDefault(gui.NewQMouseEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMouseReleaseEvent(f func(ev *gui.QMouseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mouseReleaseEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMouseReleaseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::mouseReleaseEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MouseReleaseEvent(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MouseReleaseEvent(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MouseReleaseEventDefault(ev gui.QMouseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MouseReleaseEventDefault(ptr.Pointer(), gui.PointerFromQMouseEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Page() *QWebPage { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = NewQWebPageFromPointer(C.QWebView_Page(ptr.Pointer())) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) PageAction(action QWebPage__WebAction) *widgets.QAction { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = widgets.NewQActionFromPointer(C.QWebView_PageAction(ptr.Pointer(), C.longlong(action))) | |
| + if !qt.ExistsSignal(fmt.Sprint(tmpValue.Pointer()), "QObject::destroyed") { | |
| + tmpValue.ConnectDestroyed(func(*core.QObject) { tmpValue.SetPointer(nil) }) | |
| + } | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) PaintEvent(ev gui.QPaintEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_PaintEvent(ptr.Pointer(), gui.PointerFromQPaintEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Print | |
| +func callbackQWebView_Print(ptr unsafe.Pointer, printer unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::print"); signal != nil { | |
| + signal.(func(*printsupport.QPrinter))(printsupport.NewQPrinterFromPointer(printer)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectPrint(f func(printer *printsupport.QPrinter)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::print", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectPrint(printer printsupport.QPrinter_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::print") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Print(printer printsupport.QPrinter_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Print(ptr.Pointer(), printsupport.PointerFromQPrinter(printer)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Reload | |
| +func callbackQWebView_Reload(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::reload"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectReload(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::reload", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectReload() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::reload") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Reload() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Reload(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) RenderHints() gui.QPainter__RenderHint { | |
| + if ptr.Pointer() != nil { | |
| + return gui.QPainter__RenderHint(C.QWebView_RenderHints(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebView) ResizeEvent(e gui.QResizeEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ResizeEvent(ptr.Pointer(), gui.PointerFromQResizeEvent(e)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SelectionChanged | |
| +func callbackQWebView_SelectionChanged(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::selectionChanged"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSelectionChanged(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectSelectionChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::selectionChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSelectionChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectSelectionChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::selectionChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SelectionChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SelectionChanged(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetContent(data string, mimeType string, baseUrl core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + var dataC = C.CString(hex.EncodeToString([]byte(data))) | |
| + defer C.free(unsafe.Pointer(dataC)) | |
| + var mimeTypeC = C.CString(mimeType) | |
| + defer C.free(unsafe.Pointer(mimeTypeC)) | |
| + C.QWebView_SetContent(ptr.Pointer(), dataC, mimeTypeC, core.PointerFromQUrl(baseUrl)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetHtml(html string, baseUrl core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + var htmlC = C.CString(html) | |
| + defer C.free(unsafe.Pointer(htmlC)) | |
| + C.QWebView_SetHtml(ptr.Pointer(), htmlC, core.PointerFromQUrl(baseUrl)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetPage(page QWebPage_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetPage(ptr.Pointer(), PointerFromQWebPage(page)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetRenderHint(hint gui.QPainter__RenderHint, enabled bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetRenderHint(ptr.Pointer(), C.longlong(hint), C.char(int8(qt.GoBoolToInt(enabled)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetRenderHints(hints gui.QPainter__RenderHint) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetRenderHints(ptr.Pointer(), C.longlong(hints)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetTextSizeMultiplier(factor float64) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetTextSizeMultiplier(ptr.Pointer(), C.double(factor)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Settings() *QWebSettings { | |
| + if ptr.Pointer() != nil { | |
| + return NewQWebSettingsFromPointer(C.QWebView_Settings(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) SizeHint() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebView_SizeHint(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebView_StatusBarMessage | |
| +func callbackQWebView_StatusBarMessage(ptr unsafe.Pointer, text *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::statusBarMessage"); signal != nil { | |
| + signal.(func(string))(C.GoString(text)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectStatusBarMessage(f func(text string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectStatusBarMessage(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::statusBarMessage", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectStatusBarMessage() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectStatusBarMessage(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::statusBarMessage") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) StatusBarMessage(text string) { | |
| + if ptr.Pointer() != nil { | |
| + var textC = C.CString(text) | |
| + defer C.free(unsafe.Pointer(textC)) | |
| + C.QWebView_StatusBarMessage(ptr.Pointer(), textC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Stop | |
| +func callbackQWebView_Stop(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::stop"); signal != nil { | |
| + signal.(func())() | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectStop(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::stop", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectStop() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::stop") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Stop() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Stop(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TextSizeMultiplier() float64 { | |
| + if ptr.Pointer() != nil { | |
| + return float64(C.QWebView_TextSizeMultiplier(ptr.Pointer())) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebView_TitleChanged | |
| +func callbackQWebView_TitleChanged(ptr unsafe.Pointer, title *C.char) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::titleChanged"); signal != nil { | |
| + signal.(func(string))(C.GoString(title)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectTitleChanged(f func(title string)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectTitleChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::titleChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectTitleChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectTitleChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::titleChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TitleChanged(title string) { | |
| + if ptr.Pointer() != nil { | |
| + var titleC = C.CString(title) | |
| + defer C.free(unsafe.Pointer(titleC)) | |
| + C.QWebView_TitleChanged(ptr.Pointer(), titleC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TriggerPageAction(action QWebPage__WebAction, checked bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_TriggerPageAction(ptr.Pointer(), C.longlong(action), C.char(int8(qt.GoBoolToInt(checked)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_UrlChanged | |
| +func callbackQWebView_UrlChanged(ptr unsafe.Pointer, url unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::urlChanged"); signal != nil { | |
| + signal.(func(*core.QUrl))(core.NewQUrlFromPointer(url)) | |
| + } | |
| + | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectUrlChanged(f func(url *core.QUrl)) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectUrlChanged(ptr.Pointer()) | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::urlChanged", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectUrlChanged() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectUrlChanged(ptr.Pointer()) | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::urlChanged") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) UrlChanged(url core.QUrl_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_UrlChanged(ptr.Pointer(), core.PointerFromQUrl(url)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_WheelEvent | |
| +func callbackQWebView_WheelEvent(ptr unsafe.Pointer, ev unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::wheelEvent"); signal != nil { | |
| + signal.(func(*gui.QWheelEvent))(gui.NewQWheelEventFromPointer(ev)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).WheelEventDefault(gui.NewQWheelEventFromPointer(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectWheelEvent(f func(ev *gui.QWheelEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::wheelEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectWheelEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::wheelEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) WheelEvent(ev gui.QWheelEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_WheelEvent(ptr.Pointer(), gui.PointerFromQWheelEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) WheelEventDefault(ev gui.QWheelEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_WheelEventDefault(ptr.Pointer(), gui.PointerFromQWheelEvent(ev)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_DestroyQWebView | |
| +func callbackQWebView_DestroyQWebView(ptr unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::~QWebView"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DestroyQWebViewDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDestroyQWebView(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::~QWebView", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDestroyQWebView() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::~QWebView") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DestroyQWebView() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DestroyQWebView(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DestroyQWebViewDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DestroyQWebViewDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ActionEvent | |
| +func callbackQWebView_ActionEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::actionEvent"); signal != nil { | |
| + signal.(func(*gui.QActionEvent))(gui.NewQActionEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ActionEventDefault(gui.NewQActionEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectActionEvent(f func(event *gui.QActionEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::actionEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectActionEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::actionEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ActionEvent(event gui.QActionEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ActionEvent(ptr.Pointer(), gui.PointerFromQActionEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ActionEventDefault(event gui.QActionEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ActionEventDefault(ptr.Pointer(), gui.PointerFromQActionEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_EnterEvent | |
| +func callbackQWebView_EnterEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::enterEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).EnterEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectEnterEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::enterEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectEnterEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::enterEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) EnterEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_EnterEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) EnterEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_EnterEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_HideEvent | |
| +func callbackQWebView_HideEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::hideEvent"); signal != nil { | |
| + signal.(func(*gui.QHideEvent))(gui.NewQHideEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).HideEventDefault(gui.NewQHideEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectHideEvent(f func(event *gui.QHideEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::hideEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectHideEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::hideEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) HideEvent(event gui.QHideEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_HideEvent(ptr.Pointer(), gui.PointerFromQHideEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) HideEventDefault(event gui.QHideEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_HideEventDefault(ptr.Pointer(), gui.PointerFromQHideEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_LeaveEvent | |
| +func callbackQWebView_LeaveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::leaveEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).LeaveEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectLeaveEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::leaveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectLeaveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::leaveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LeaveEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LeaveEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LeaveEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LeaveEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_MinimumSizeHint | |
| +func callbackQWebView_MinimumSizeHint(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::minimumSizeHint"); signal != nil { | |
| + return core.PointerFromQSize(signal.(func() *core.QSize)()) | |
| + } | |
| + | |
| + return core.PointerFromQSize(NewQWebViewFromPointer(ptr).MinimumSizeHintDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMinimumSizeHint(f func() *core.QSize) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::minimumSizeHint", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMinimumSizeHint() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::minimumSizeHint") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MinimumSizeHint() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebView_MinimumSizeHint(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) MinimumSizeHintDefault() *core.QSize { | |
| + if ptr.Pointer() != nil { | |
| + var tmpValue = core.NewQSizeFromPointer(C.QWebView_MinimumSizeHintDefault(ptr.Pointer())) | |
| + runtime.SetFinalizer(tmpValue, (*core.QSize).DestroyQSize) | |
| + return tmpValue | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +//export callbackQWebView_MoveEvent | |
| +func callbackQWebView_MoveEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::moveEvent"); signal != nil { | |
| + signal.(func(*gui.QMoveEvent))(gui.NewQMoveEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).MoveEventDefault(gui.NewQMoveEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMoveEvent(f func(event *gui.QMoveEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::moveEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMoveEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::moveEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MoveEvent(event gui.QMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MoveEvent(ptr.Pointer(), gui.PointerFromQMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MoveEventDefault(event gui.QMoveEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_MoveEventDefault(ptr.Pointer(), gui.PointerFromQMoveEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetEnabled | |
| +func callbackQWebView_SetEnabled(ptr unsafe.Pointer, vbo C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setEnabled"); signal != nil { | |
| + signal.(func(bool))(int8(vbo) != 0) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetEnabledDefault(int8(vbo) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetEnabled(f func(vbo bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setEnabled", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetEnabled() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setEnabled") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetEnabled(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetEnabled(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetEnabledDefault(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetEnabledDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetStyleSheet | |
| +func callbackQWebView_SetStyleSheet(ptr unsafe.Pointer, styleSheet *C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setStyleSheet"); signal != nil { | |
| + signal.(func(string))(C.GoString(styleSheet)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetStyleSheetDefault(C.GoString(styleSheet)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetStyleSheet(f func(styleSheet string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setStyleSheet", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetStyleSheet() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setStyleSheet") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetStyleSheet(styleSheet string) { | |
| + if ptr.Pointer() != nil { | |
| + var styleSheetC = C.CString(styleSheet) | |
| + defer C.free(unsafe.Pointer(styleSheetC)) | |
| + C.QWebView_SetStyleSheet(ptr.Pointer(), styleSheetC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetStyleSheetDefault(styleSheet string) { | |
| + if ptr.Pointer() != nil { | |
| + var styleSheetC = C.CString(styleSheet) | |
| + defer C.free(unsafe.Pointer(styleSheetC)) | |
| + C.QWebView_SetStyleSheetDefault(ptr.Pointer(), styleSheetC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetVisible | |
| +func callbackQWebView_SetVisible(ptr unsafe.Pointer, visible C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setVisible"); signal != nil { | |
| + signal.(func(bool))(int8(visible) != 0) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetVisibleDefault(int8(visible) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetVisible(f func(visible bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setVisible", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetVisible() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setVisible") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetVisible(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetVisible(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetVisibleDefault(visible bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetVisibleDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(visible)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetWindowModified | |
| +func callbackQWebView_SetWindowModified(ptr unsafe.Pointer, vbo C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setWindowModified"); signal != nil { | |
| + signal.(func(bool))(int8(vbo) != 0) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetWindowModifiedDefault(int8(vbo) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetWindowModified(f func(vbo bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setWindowModified", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetWindowModified() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setWindowModified") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetWindowModified(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetWindowModified(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetWindowModifiedDefault(vbo bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetWindowModifiedDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(vbo)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetWindowTitle | |
| +func callbackQWebView_SetWindowTitle(ptr unsafe.Pointer, vqs *C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setWindowTitle"); signal != nil { | |
| + signal.(func(string))(C.GoString(vqs)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetWindowTitleDefault(C.GoString(vqs)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetWindowTitle(f func(vqs string)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setWindowTitle", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetWindowTitle() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setWindowTitle") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetWindowTitle(vqs string) { | |
| + if ptr.Pointer() != nil { | |
| + var vqsC = C.CString(vqs) | |
| + defer C.free(unsafe.Pointer(vqsC)) | |
| + C.QWebView_SetWindowTitle(ptr.Pointer(), vqsC) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetWindowTitleDefault(vqs string) { | |
| + if ptr.Pointer() != nil { | |
| + var vqsC = C.CString(vqs) | |
| + defer C.free(unsafe.Pointer(vqsC)) | |
| + C.QWebView_SetWindowTitleDefault(ptr.Pointer(), vqsC) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ShowEvent | |
| +func callbackQWebView_ShowEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::showEvent"); signal != nil { | |
| + signal.(func(*gui.QShowEvent))(gui.NewQShowEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ShowEventDefault(gui.NewQShowEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectShowEvent(f func(event *gui.QShowEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectShowEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowEvent(event gui.QShowEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowEvent(ptr.Pointer(), gui.PointerFromQShowEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowEventDefault(event gui.QShowEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowEventDefault(ptr.Pointer(), gui.PointerFromQShowEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Close | |
| +func callbackQWebView_Close(ptr unsafe.Pointer) C.char { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::close"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func() bool)()))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebViewFromPointer(ptr).CloseDefault()))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectClose(f func() bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::close", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectClose() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::close") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Close() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_Close(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) CloseDefault() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_CloseDefault(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebView_CloseEvent | |
| +func callbackQWebView_CloseEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::closeEvent"); signal != nil { | |
| + signal.(func(*gui.QCloseEvent))(gui.NewQCloseEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).CloseEventDefault(gui.NewQCloseEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectCloseEvent(f func(event *gui.QCloseEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::closeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectCloseEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::closeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) CloseEvent(event gui.QCloseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_CloseEvent(ptr.Pointer(), gui.PointerFromQCloseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) CloseEventDefault(event gui.QCloseEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_CloseEventDefault(ptr.Pointer(), gui.PointerFromQCloseEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_HasHeightForWidth | |
| +func callbackQWebView_HasHeightForWidth(ptr unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::hasHeightForWidth"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func() bool)()))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebViewFromPointer(ptr).HasHeightForWidthDefault()))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectHasHeightForWidth(f func() bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::hasHeightForWidth", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectHasHeightForWidth() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::hasHeightForWidth") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) HasHeightForWidth() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_HasHeightForWidth(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) HasHeightForWidthDefault() bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_HasHeightForWidthDefault(ptr.Pointer()) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebView_HeightForWidth | |
| +func callbackQWebView_HeightForWidth(ptr unsafe.Pointer, w C.int) C.int { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::heightForWidth"); signal != nil { | |
| + return C.int(int32(signal.(func(int) int)(int(int32(w))))) | |
| + } | |
| + | |
| + return C.int(int32(NewQWebViewFromPointer(ptr).HeightForWidthDefault(int(int32(w))))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectHeightForWidth(f func(w int) int) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::heightForWidth", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectHeightForWidth() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::heightForWidth") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) HeightForWidth(w int) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebView_HeightForWidth(ptr.Pointer(), C.int(int32(w))))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +func (ptr *QWebView) HeightForWidthDefault(w int) int { | |
| + if ptr.Pointer() != nil { | |
| + return int(int32(C.QWebView_HeightForWidthDefault(ptr.Pointer(), C.int(int32(w))))) | |
| + } | |
| + return 0 | |
| +} | |
| + | |
| +//export callbackQWebView_Hide | |
| +func callbackQWebView_Hide(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::hide"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).HideDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectHide(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::hide", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectHide() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::hide") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Hide() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Hide(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) HideDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_HideDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Lower | |
| +func callbackQWebView_Lower(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::lower"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).LowerDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectLower(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::lower", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectLower() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::lower") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Lower() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Lower(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) LowerDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_LowerDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_NativeEvent | |
| +func callbackQWebView_NativeEvent(ptr unsafe.Pointer, eventType *C.char, message unsafe.Pointer, result C.long) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::nativeEvent"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(string, unsafe.Pointer, int) bool)(qt.HexDecodeToString(C.GoString(eventType)), message, int(int32(result)))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebViewFromPointer(ptr).NativeEventDefault(qt.HexDecodeToString(C.GoString(eventType)), message, int(int32(result)))))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectNativeEvent(f func(eventType string, message unsafe.Pointer, result int) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::nativeEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectNativeEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::nativeEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) NativeEvent(eventType string, message unsafe.Pointer, result int) bool { | |
| + if ptr.Pointer() != nil { | |
| + var eventTypeC = C.CString(hex.EncodeToString([]byte(eventType))) | |
| + defer C.free(unsafe.Pointer(eventTypeC)) | |
| + return C.QWebView_NativeEvent(ptr.Pointer(), eventTypeC, message, C.long(int32(result))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) NativeEventDefault(eventType string, message unsafe.Pointer, result int) bool { | |
| + if ptr.Pointer() != nil { | |
| + var eventTypeC = C.CString(hex.EncodeToString([]byte(eventType))) | |
| + defer C.free(unsafe.Pointer(eventTypeC)) | |
| + return C.QWebView_NativeEventDefault(ptr.Pointer(), eventTypeC, message, C.long(int32(result))) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebView_Raise | |
| +func callbackQWebView_Raise(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::raise"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).RaiseDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectRaise(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::raise", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectRaise() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::raise") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Raise() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Raise(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) RaiseDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_RaiseDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Repaint | |
| +func callbackQWebView_Repaint(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::repaint"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).RepaintDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectRepaint(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::repaint", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectRepaint() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::repaint") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Repaint() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Repaint(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) RepaintDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_RepaintDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetDisabled | |
| +func callbackQWebView_SetDisabled(ptr unsafe.Pointer, disable C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setDisabled"); signal != nil { | |
| + signal.(func(bool))(int8(disable) != 0) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetDisabledDefault(int8(disable) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetDisabled(f func(disable bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setDisabled", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetDisabled() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setDisabled") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetDisabled(disable bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetDisabled(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(disable)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetDisabledDefault(disable bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetDisabledDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(disable)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetFocus2 | |
| +func callbackQWebView_SetFocus2(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setFocus2"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetFocus2Default() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetFocus2(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setFocus2", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetFocus2() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setFocus2") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetFocus2() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetFocus2(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetFocus2Default() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetFocus2Default(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_SetHidden | |
| +func callbackQWebView_SetHidden(ptr unsafe.Pointer, hidden C.char) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::setHidden"); signal != nil { | |
| + signal.(func(bool))(int8(hidden) != 0) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).SetHiddenDefault(int8(hidden) != 0) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectSetHidden(f func(hidden bool)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setHidden", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectSetHidden() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::setHidden") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetHidden(hidden bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetHidden(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(hidden)))) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) SetHiddenDefault(hidden bool) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_SetHiddenDefault(ptr.Pointer(), C.char(int8(qt.GoBoolToInt(hidden)))) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Show | |
| +func callbackQWebView_Show(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::show"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ShowDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectShow(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::show", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectShow() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::show") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Show() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Show(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ShowFullScreen | |
| +func callbackQWebView_ShowFullScreen(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::showFullScreen"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ShowFullScreenDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectShowFullScreen(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showFullScreen", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectShowFullScreen() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showFullScreen") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowFullScreen() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowFullScreen(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowFullScreenDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowFullScreenDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ShowMaximized | |
| +func callbackQWebView_ShowMaximized(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::showMaximized"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ShowMaximizedDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectShowMaximized(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showMaximized", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectShowMaximized() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showMaximized") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowMaximized() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowMaximized(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowMaximizedDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowMaximizedDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ShowMinimized | |
| +func callbackQWebView_ShowMinimized(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::showMinimized"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ShowMinimizedDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectShowMinimized(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showMinimized", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectShowMinimized() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showMinimized") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowMinimized() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowMinimized(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowMinimizedDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowMinimizedDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ShowNormal | |
| +func callbackQWebView_ShowNormal(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::showNormal"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ShowNormalDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectShowNormal(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showNormal", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectShowNormal() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::showNormal") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowNormal() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowNormal(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ShowNormalDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ShowNormalDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_TabletEvent | |
| +func callbackQWebView_TabletEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::tabletEvent"); signal != nil { | |
| + signal.(func(*gui.QTabletEvent))(gui.NewQTabletEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).TabletEventDefault(gui.NewQTabletEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectTabletEvent(f func(event *gui.QTabletEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::tabletEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectTabletEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::tabletEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TabletEvent(event gui.QTabletEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_TabletEvent(ptr.Pointer(), gui.PointerFromQTabletEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TabletEventDefault(event gui.QTabletEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_TabletEventDefault(ptr.Pointer(), gui.PointerFromQTabletEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_Update | |
| +func callbackQWebView_Update(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::update"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).UpdateDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectUpdate(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::update", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectUpdate() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::update") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) Update() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_Update(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) UpdateDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_UpdateDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_UpdateMicroFocus | |
| +func callbackQWebView_UpdateMicroFocus(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::updateMicroFocus"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).UpdateMicroFocusDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectUpdateMicroFocus(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::updateMicroFocus", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectUpdateMicroFocus() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::updateMicroFocus") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) UpdateMicroFocus() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_UpdateMicroFocus(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) UpdateMicroFocusDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_UpdateMicroFocusDefault(ptr.Pointer()) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_TimerEvent | |
| +func callbackQWebView_TimerEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::timerEvent"); signal != nil { | |
| + signal.(func(*core.QTimerEvent))(core.NewQTimerEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).TimerEventDefault(core.NewQTimerEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectTimerEvent(f func(event *core.QTimerEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::timerEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectTimerEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::timerEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TimerEvent(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_TimerEvent(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) TimerEventDefault(event core.QTimerEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_TimerEventDefault(ptr.Pointer(), core.PointerFromQTimerEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ChildEvent | |
| +func callbackQWebView_ChildEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::childEvent"); signal != nil { | |
| + signal.(func(*core.QChildEvent))(core.NewQChildEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ChildEventDefault(core.NewQChildEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectChildEvent(f func(event *core.QChildEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::childEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectChildEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::childEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ChildEvent(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ChildEvent(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ChildEventDefault(event core.QChildEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ChildEventDefault(ptr.Pointer(), core.PointerFromQChildEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_ConnectNotify | |
| +func callbackQWebView_ConnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::connectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).ConnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectConnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::connectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectConnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::connectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_ConnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_CustomEvent | |
| +func callbackQWebView_CustomEvent(ptr unsafe.Pointer, event unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::customEvent"); signal != nil { | |
| + signal.(func(*core.QEvent))(core.NewQEventFromPointer(event)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).CustomEventDefault(core.NewQEventFromPointer(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectCustomEvent(f func(event *core.QEvent)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::customEvent", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectCustomEvent() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::customEvent") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) CustomEvent(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) CustomEventDefault(event core.QEvent_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_DeleteLater | |
| +func callbackQWebView_DeleteLater(ptr unsafe.Pointer) { | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::deleteLater"); signal != nil { | |
| + signal.(func())() | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DeleteLaterDefault() | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDeleteLater(f func()) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::deleteLater", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::deleteLater") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DeleteLater() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DeleteLater(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DeleteLaterDefault() { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DeleteLaterDefault(ptr.Pointer()) | |
| + qt.DisconnectAllSignals(fmt.Sprint(ptr.Pointer())) | |
| + ptr.SetPointer(nil) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_DisconnectNotify | |
| +func callbackQWebView_DisconnectNotify(ptr unsafe.Pointer, sign unsafe.Pointer) { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::disconnectNotify"); signal != nil { | |
| + signal.(func(*core.QMetaMethod))(core.NewQMetaMethodFromPointer(sign)) | |
| + } else { | |
| + NewQWebViewFromPointer(ptr).DisconnectNotifyDefault(core.NewQMetaMethodFromPointer(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectDisconnectNotify(f func(sign *core.QMetaMethod)) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::disconnectNotify", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectDisconnectNotify() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::disconnectNotify") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectNotify(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectNotify(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectNotifyDefault(sign core.QMetaMethod_ITF) { | |
| + if ptr.Pointer() != nil { | |
| + C.QWebView_DisconnectNotifyDefault(ptr.Pointer(), core.PointerFromQMetaMethod(sign)) | |
| + } | |
| +} | |
| + | |
| +//export callbackQWebView_EventFilter | |
| +func callbackQWebView_EventFilter(ptr unsafe.Pointer, watched unsafe.Pointer, event unsafe.Pointer) C.char { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::eventFilter"); signal != nil { | |
| + return C.char(int8(qt.GoBoolToInt(signal.(func(*core.QObject, *core.QEvent) bool)(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| + } | |
| + | |
| + return C.char(int8(qt.GoBoolToInt(NewQWebViewFromPointer(ptr).EventFilterDefault(core.NewQObjectFromPointer(watched), core.NewQEventFromPointer(event))))) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectEventFilter(f func(watched *core.QObject, event *core.QEvent) bool) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::eventFilter", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectEventFilter() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::eventFilter") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) EventFilter(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_EventFilter(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +func (ptr *QWebView) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool { | |
| + if ptr.Pointer() != nil { | |
| + return C.QWebView_EventFilterDefault(ptr.Pointer(), core.PointerFromQObject(watched), core.PointerFromQEvent(event)) != 0 | |
| + } | |
| + return false | |
| +} | |
| + | |
| +//export callbackQWebView_MetaObject | |
| +func callbackQWebView_MetaObject(ptr unsafe.Pointer) unsafe.Pointer { | |
| + | |
| + if signal := qt.GetSignal(fmt.Sprint(ptr), "QWebView::metaObject"); signal != nil { | |
| + return core.PointerFromQMetaObject(signal.(func() *core.QMetaObject)()) | |
| + } | |
| + | |
| + return core.PointerFromQMetaObject(NewQWebViewFromPointer(ptr).MetaObjectDefault()) | |
| +} | |
| + | |
| +func (ptr *QWebView) ConnectMetaObject(f func() *core.QMetaObject) { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.ConnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::metaObject", f) | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) DisconnectMetaObject() { | |
| + if ptr.Pointer() != nil { | |
| + | |
| + qt.DisconnectSignal(fmt.Sprint(ptr.Pointer()), "QWebView::metaObject") | |
| + } | |
| +} | |
| + | |
| +func (ptr *QWebView) MetaObject() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebView_MetaObject(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| + | |
| +func (ptr *QWebView) MetaObjectDefault() *core.QMetaObject { | |
| + if ptr.Pointer() != nil { | |
| + return core.NewQMetaObjectFromPointer(C.QWebView_MetaObjectDefault(ptr.Pointer())) | |
| + } | |
| + return nil | |
| +} | |
| diff -urN qt.orig/webkit/webkit.h qt/webkit/webkit.h | |
| --- qt.orig/webkit/webkit.h 1970-01-01 01:00:00.000000000 +0100 | |
| +++ qt/webkit/webkit.h 2016-11-01 02:08:19.761429084 +0100 | |
| @@ -0,0 +1,1011 @@ | |
| +// +build !minimal | |
| + | |
| +#pragma once | |
| + | |
| +#ifndef GO_QTWEBKIT_H | |
| +#define GO_QTWEBKIT_H | |
| + | |
| +#include <stdint.h> | |
| + | |
| +#ifdef __cplusplus | |
| +extern "C" { | |
| +#endif | |
| + | |
| +void* QGraphicsWebView_Icon(void* ptr); | |
| +char QGraphicsWebView_IsModified(void* ptr); | |
| +char QGraphicsWebView_IsTiledBackingStoreFrozen(void* ptr); | |
| +void QGraphicsWebView_Load2(void* ptr, void* request, long long operation, char* body); | |
| +char QGraphicsWebView_ResizesToContents(void* ptr); | |
| +void QGraphicsWebView_SetResizesToContents(void* ptr, char enabled); | |
| +void QGraphicsWebView_SetTiledBackingStoreFrozen(void* ptr, char frozen); | |
| +void QGraphicsWebView_SetUrl(void* ptr, void* vqu); | |
| +void QGraphicsWebView_SetZoomFactor(void* ptr, double vqr); | |
| +char* QGraphicsWebView_Title(void* ptr); | |
| +void* QGraphicsWebView_Url(void* ptr); | |
| +double QGraphicsWebView_ZoomFactor(void* ptr); | |
| +void* QGraphicsWebView_NewQGraphicsWebView(void* parent); | |
| +void QGraphicsWebView_Back(void* ptr); | |
| +void QGraphicsWebView_ContextMenuEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_ContextMenuEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_DragEnterEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_DragEnterEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_DragLeaveEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_DragLeaveEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_DragMoveEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_DragMoveEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_DropEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_DropEventDefault(void* ptr, void* ev); | |
| +char QGraphicsWebView_Event(void* ptr, void* event); | |
| +char QGraphicsWebView_EventDefault(void* ptr, void* event); | |
| +char QGraphicsWebView_FindText(void* ptr, char* subString, long long options); | |
| +void QGraphicsWebView_FocusInEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_FocusInEventDefault(void* ptr, void* ev); | |
| +char QGraphicsWebView_FocusNextPrevChild(void* ptr, char next); | |
| +char QGraphicsWebView_FocusNextPrevChildDefault(void* ptr, char next); | |
| +void QGraphicsWebView_FocusOutEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_FocusOutEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_Forward(void* ptr); | |
| +void* QGraphicsWebView_History(void* ptr); | |
| +void QGraphicsWebView_HoverLeaveEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_HoverLeaveEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_HoverMoveEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_HoverMoveEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_ConnectIconChanged(void* ptr); | |
| +void QGraphicsWebView_DisconnectIconChanged(void* ptr); | |
| +void QGraphicsWebView_IconChanged(void* ptr); | |
| +void QGraphicsWebView_InputMethodEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_InputMethodEventDefault(void* ptr, void* ev); | |
| +void* QGraphicsWebView_InputMethodQuery(void* ptr, long long query); | |
| +void* QGraphicsWebView_InputMethodQueryDefault(void* ptr, long long query); | |
| +void* QGraphicsWebView_ItemChange(void* ptr, long long change, void* value); | |
| +void* QGraphicsWebView_ItemChangeDefault(void* ptr, long long change, void* value); | |
| +void QGraphicsWebView_KeyPressEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_KeyPressEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_KeyReleaseEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_KeyReleaseEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_ConnectLinkClicked(void* ptr); | |
| +void QGraphicsWebView_DisconnectLinkClicked(void* ptr); | |
| +void QGraphicsWebView_LinkClicked(void* ptr, void* url); | |
| +void QGraphicsWebView_Load(void* ptr, void* url); | |
| +void QGraphicsWebView_ConnectLoadFinished(void* ptr); | |
| +void QGraphicsWebView_DisconnectLoadFinished(void* ptr); | |
| +void QGraphicsWebView_LoadFinished(void* ptr, char ok); | |
| +void QGraphicsWebView_ConnectLoadProgress(void* ptr); | |
| +void QGraphicsWebView_DisconnectLoadProgress(void* ptr); | |
| +void QGraphicsWebView_LoadProgress(void* ptr, int progress); | |
| +void QGraphicsWebView_ConnectLoadStarted(void* ptr); | |
| +void QGraphicsWebView_DisconnectLoadStarted(void* ptr); | |
| +void QGraphicsWebView_LoadStarted(void* ptr); | |
| +void QGraphicsWebView_MouseDoubleClickEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_MouseDoubleClickEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_MouseMoveEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_MouseMoveEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_MousePressEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_MousePressEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_MouseReleaseEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_MouseReleaseEventDefault(void* ptr, void* ev); | |
| +void* QGraphicsWebView_Page(void* ptr); | |
| +void* QGraphicsWebView_PageAction(void* ptr, long long action); | |
| +void QGraphicsWebView_Paint(void* ptr, void* painter, void* option, void* widget); | |
| +void QGraphicsWebView_PaintDefault(void* ptr, void* painter, void* option, void* widget); | |
| +void QGraphicsWebView_Reload(void* ptr); | |
| +long long QGraphicsWebView_RenderHints(void* ptr); | |
| +char QGraphicsWebView_SceneEvent(void* ptr, void* event); | |
| +char QGraphicsWebView_SceneEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_SetContent(void* ptr, char* data, char* mimeType, void* baseUrl); | |
| +void QGraphicsWebView_SetGeometry(void* ptr, void* rect); | |
| +void QGraphicsWebView_SetGeometryDefault(void* ptr, void* rect); | |
| +void QGraphicsWebView_SetHtml(void* ptr, char* html, void* baseUrl); | |
| +void QGraphicsWebView_SetPage(void* ptr, void* page); | |
| +void QGraphicsWebView_SetRenderHint(void* ptr, long long hint, char enabled); | |
| +void QGraphicsWebView_SetRenderHints(void* ptr, long long hints); | |
| +void* QGraphicsWebView_Settings(void* ptr); | |
| +void* QGraphicsWebView_SizeHint(void* ptr, long long which, void* constraint); | |
| +void* QGraphicsWebView_SizeHintDefault(void* ptr, long long which, void* constraint); | |
| +void QGraphicsWebView_ConnectStatusBarMessage(void* ptr); | |
| +void QGraphicsWebView_DisconnectStatusBarMessage(void* ptr); | |
| +void QGraphicsWebView_StatusBarMessage(void* ptr, char* text); | |
| +void QGraphicsWebView_Stop(void* ptr); | |
| +void QGraphicsWebView_ConnectTitleChanged(void* ptr); | |
| +void QGraphicsWebView_DisconnectTitleChanged(void* ptr); | |
| +void QGraphicsWebView_TitleChanged(void* ptr, char* vqs); | |
| +void QGraphicsWebView_TriggerPageAction(void* ptr, long long action, char checked); | |
| +void QGraphicsWebView_UpdateGeometry(void* ptr); | |
| +void QGraphicsWebView_UpdateGeometryDefault(void* ptr); | |
| +void QGraphicsWebView_ConnectUrlChanged(void* ptr); | |
| +void QGraphicsWebView_DisconnectUrlChanged(void* ptr); | |
| +void QGraphicsWebView_UrlChanged(void* ptr, void* vqu); | |
| +void QGraphicsWebView_WheelEvent(void* ptr, void* ev); | |
| +void QGraphicsWebView_WheelEventDefault(void* ptr, void* ev); | |
| +void QGraphicsWebView_DestroyQGraphicsWebView(void* ptr); | |
| +void* QGraphicsWebView_BoundingRect(void* ptr); | |
| +void* QGraphicsWebView_BoundingRectDefault(void* ptr); | |
| +void QGraphicsWebView_ChangeEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_ChangeEventDefault(void* ptr, void* event); | |
| +char QGraphicsWebView_Close(void* ptr); | |
| +char QGraphicsWebView_CloseDefault(void* ptr); | |
| +void QGraphicsWebView_CloseEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_CloseEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_GetContentsMargins(void* ptr, double left, double top, double right, double bottom); | |
| +void QGraphicsWebView_GetContentsMarginsDefault(void* ptr, double left, double top, double right, double bottom); | |
| +void QGraphicsWebView_GrabKeyboardEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_GrabKeyboardEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_GrabMouseEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_GrabMouseEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_HideEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_HideEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_InitStyleOption(void* ptr, void* option); | |
| +void QGraphicsWebView_InitStyleOptionDefault(void* ptr, void* option); | |
| +void QGraphicsWebView_MoveEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_MoveEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_PaintWindowFrame(void* ptr, void* painter, void* option, void* widget); | |
| +void QGraphicsWebView_PaintWindowFrameDefault(void* ptr, void* painter, void* option, void* widget); | |
| +void QGraphicsWebView_PolishEvent(void* ptr); | |
| +void QGraphicsWebView_PolishEventDefault(void* ptr); | |
| +void QGraphicsWebView_ResizeEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_ResizeEventDefault(void* ptr, void* event); | |
| +void* QGraphicsWebView_Shape(void* ptr); | |
| +void* QGraphicsWebView_ShapeDefault(void* ptr); | |
| +void QGraphicsWebView_ShowEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_ShowEventDefault(void* ptr, void* event); | |
| +int QGraphicsWebView_Type(void* ptr); | |
| +int QGraphicsWebView_TypeDefault(void* ptr); | |
| +void QGraphicsWebView_UngrabKeyboardEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_UngrabKeyboardEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_UngrabMouseEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_UngrabMouseEventDefault(void* ptr, void* event); | |
| +char QGraphicsWebView_WindowFrameEvent(void* ptr, void* event); | |
| +char QGraphicsWebView_WindowFrameEventDefault(void* ptr, void* event); | |
| +long long QGraphicsWebView_WindowFrameSectionAt(void* ptr, void* pos); | |
| +long long QGraphicsWebView_WindowFrameSectionAtDefault(void* ptr, void* pos); | |
| +void QGraphicsWebView_UpdateMicroFocus(void* ptr); | |
| +void QGraphicsWebView_UpdateMicroFocusDefault(void* ptr); | |
| +void QGraphicsWebView_TimerEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_TimerEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_ChildEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_ChildEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_ConnectNotify(void* ptr, void* sign); | |
| +void QGraphicsWebView_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QGraphicsWebView_CustomEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_CustomEventDefault(void* ptr, void* event); | |
| +void QGraphicsWebView_DeleteLater(void* ptr); | |
| +void QGraphicsWebView_DeleteLaterDefault(void* ptr); | |
| +void QGraphicsWebView_DisconnectNotify(void* ptr, void* sign); | |
| +void QGraphicsWebView_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QGraphicsWebView_EventFilter(void* ptr, void* watched, void* event); | |
| +char QGraphicsWebView_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QGraphicsWebView_MetaObject(void* ptr); | |
| +void* QGraphicsWebView_MetaObjectDefault(void* ptr); | |
| +void QGraphicsWebView_Advance(void* ptr, int phase); | |
| +void QGraphicsWebView_AdvanceDefault(void* ptr, int phase); | |
| +char QGraphicsWebView_CollidesWithItem(void* ptr, void* other, long long mode); | |
| +char QGraphicsWebView_CollidesWithItemDefault(void* ptr, void* other, long long mode); | |
| +char QGraphicsWebView_CollidesWithPath(void* ptr, void* path, long long mode); | |
| +char QGraphicsWebView_CollidesWithPathDefault(void* ptr, void* path, long long mode); | |
| +char QGraphicsWebView_Contains(void* ptr, void* point); | |
| +char QGraphicsWebView_ContainsDefault(void* ptr, void* point); | |
| +void QGraphicsWebView_HoverEnterEvent(void* ptr, void* event); | |
| +void QGraphicsWebView_HoverEnterEventDefault(void* ptr, void* event); | |
| +char QGraphicsWebView_IsObscuredBy(void* ptr, void* item); | |
| +char QGraphicsWebView_IsObscuredByDefault(void* ptr, void* item); | |
| +void* QGraphicsWebView_OpaqueArea(void* ptr); | |
| +void* QGraphicsWebView_OpaqueAreaDefault(void* ptr); | |
| +char QGraphicsWebView_SceneEventFilter(void* ptr, void* watched, void* event); | |
| +char QGraphicsWebView_SceneEventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebDatabase_NewQWebDatabase(void* other); | |
| +char* QWebDatabase_DisplayName(void* ptr); | |
| +long long QWebDatabase_ExpectedSize(void* ptr); | |
| +char* QWebDatabase_FileName(void* ptr); | |
| +char* QWebDatabase_Name(void* ptr); | |
| +void* QWebDatabase_Origin(void* ptr); | |
| +void QWebDatabase_QWebDatabase_RemoveAllDatabases(); | |
| +void QWebDatabase_QWebDatabase_RemoveDatabase(void* db); | |
| +long long QWebDatabase_Size(void* ptr); | |
| +void QWebDatabase_DestroyQWebDatabase(void* ptr); | |
| +void* QWebElement_NewQWebElement(); | |
| +void* QWebElement_NewQWebElement2(void* other); | |
| +void QWebElement_AddClass(void* ptr, char* name); | |
| +void QWebElement_AppendInside(void* ptr, char* markup); | |
| +void QWebElement_AppendInside2(void* ptr, void* element); | |
| +void QWebElement_AppendOutside(void* ptr, char* markup); | |
| +void QWebElement_AppendOutside2(void* ptr, void* element); | |
| +char* QWebElement_Attribute(void* ptr, char* name, char* defaultValue); | |
| +char* QWebElement_AttributeNS(void* ptr, char* namespaceUri, char* name, char* defaultValue); | |
| +char* QWebElement_AttributeNames(void* ptr, char* namespaceUri); | |
| +char* QWebElement_Classes(void* ptr); | |
| +void* QWebElement_Clone(void* ptr); | |
| +void* QWebElement_Document(void* ptr); | |
| +void QWebElement_EncloseContentsWith2(void* ptr, char* markup); | |
| +void QWebElement_EncloseContentsWith(void* ptr, void* element); | |
| +void QWebElement_EncloseWith(void* ptr, char* markup); | |
| +void QWebElement_EncloseWith2(void* ptr, void* element); | |
| +void* QWebElement_EvaluateJavaScript(void* ptr, char* scriptSource); | |
| +void* QWebElement_FindAll(void* ptr, char* selectorQuery); | |
| +void* QWebElement_FindFirst(void* ptr, char* selectorQuery); | |
| +void* QWebElement_FirstChild(void* ptr); | |
| +void* QWebElement_Geometry(void* ptr); | |
| +char QWebElement_HasAttribute(void* ptr, char* name); | |
| +char QWebElement_HasAttributeNS(void* ptr, char* namespaceUri, char* name); | |
| +char QWebElement_HasAttributes(void* ptr); | |
| +char QWebElement_HasClass(void* ptr, char* name); | |
| +char QWebElement_HasFocus(void* ptr); | |
| +char QWebElement_IsNull(void* ptr); | |
| +void* QWebElement_LastChild(void* ptr); | |
| +char* QWebElement_LocalName(void* ptr); | |
| +char* QWebElement_NamespaceUri(void* ptr); | |
| +void* QWebElement_NextSibling(void* ptr); | |
| +void* QWebElement_Parent(void* ptr); | |
| +char* QWebElement_Prefix(void* ptr); | |
| +void QWebElement_PrependInside(void* ptr, char* markup); | |
| +void QWebElement_PrependInside2(void* ptr, void* element); | |
| +void QWebElement_PrependOutside(void* ptr, char* markup); | |
| +void QWebElement_PrependOutside2(void* ptr, void* element); | |
| +void* QWebElement_PreviousSibling(void* ptr); | |
| +void QWebElement_RemoveAllChildren(void* ptr); | |
| +void QWebElement_RemoveAttribute(void* ptr, char* name); | |
| +void QWebElement_RemoveAttributeNS(void* ptr, char* namespaceUri, char* name); | |
| +void QWebElement_RemoveClass(void* ptr, char* name); | |
| +void QWebElement_RemoveFromDocument(void* ptr); | |
| +void QWebElement_Render(void* ptr, void* painter); | |
| +void QWebElement_Render2(void* ptr, void* painter, void* clip); | |
| +void QWebElement_Replace(void* ptr, char* markup); | |
| +void QWebElement_Replace2(void* ptr, void* element); | |
| +void QWebElement_SetAttribute(void* ptr, char* name, char* value); | |
| +void QWebElement_SetAttributeNS(void* ptr, char* namespaceUri, char* name, char* value); | |
| +void QWebElement_SetFocus(void* ptr); | |
| +void QWebElement_SetInnerXml(void* ptr, char* markup); | |
| +void QWebElement_SetOuterXml(void* ptr, char* markup); | |
| +void QWebElement_SetPlainText(void* ptr, char* text); | |
| +void QWebElement_SetStyleProperty(void* ptr, char* name, char* value); | |
| +char* QWebElement_StyleProperty(void* ptr, char* name, long long strategy); | |
| +char* QWebElement_TagName(void* ptr); | |
| +void* QWebElement_TakeFromDocument(void* ptr); | |
| +char* QWebElement_ToInnerXml(void* ptr); | |
| +char* QWebElement_ToOuterXml(void* ptr); | |
| +char* QWebElement_ToPlainText(void* ptr); | |
| +void QWebElement_ToggleClass(void* ptr, char* name); | |
| +void* QWebElement_WebFrame(void* ptr); | |
| +void QWebElement_DestroyQWebElement(void* ptr); | |
| +void* QWebElementCollection_NewQWebElementCollection(); | |
| +void* QWebElementCollection_NewQWebElementCollection2(void* contextElement, char* query); | |
| +void* QWebElementCollection_NewQWebElementCollection3(void* other); | |
| +void QWebElementCollection_Append(void* ptr, void* other); | |
| +void* QWebElementCollection_At(void* ptr, int i); | |
| +int QWebElementCollection_Count(void* ptr); | |
| +void* QWebElementCollection_First(void* ptr); | |
| +void* QWebElementCollection_Last(void* ptr); | |
| +void QWebElementCollection_DestroyQWebElementCollection(void* ptr); | |
| +void QWebFrame_AddToJavaScriptWindowObject(void* ptr, char* name, void* object, long long own); | |
| +void* QWebFrame_BaseUrl(void* ptr); | |
| +void* QWebFrame_ContentsSize(void* ptr); | |
| +char QWebFrame_HasFocus(void* ptr); | |
| +void* QWebFrame_Icon(void* ptr); | |
| +void* QWebFrame_RequestedUrl(void* ptr); | |
| +void* QWebFrame_ScrollPosition(void* ptr); | |
| +void QWebFrame_SetScrollPosition(void* ptr, void* pos); | |
| +void QWebFrame_SetUrl(void* ptr, void* url); | |
| +void QWebFrame_SetZoomFactor(void* ptr, double factor); | |
| +char* QWebFrame_Title(void* ptr); | |
| +void* QWebFrame_Url(void* ptr); | |
| +double QWebFrame_ZoomFactor(void* ptr); | |
| +void QWebFrame_ConnectContentsSizeChanged(void* ptr); | |
| +void QWebFrame_DisconnectContentsSizeChanged(void* ptr); | |
| +void QWebFrame_ContentsSizeChanged(void* ptr, void* size); | |
| +void* QWebFrame_DocumentElement(void* ptr); | |
| +void* QWebFrame_EvaluateJavaScript(void* ptr, char* scriptSource); | |
| +char QWebFrame_Event(void* ptr, void* e); | |
| +char QWebFrame_EventDefault(void* ptr, void* e); | |
| +void* QWebFrame_FindAllElements(void* ptr, char* selectorQuery); | |
| +void* QWebFrame_FindFirstElement(void* ptr, char* selectorQuery); | |
| +char* QWebFrame_FrameName(void* ptr); | |
| +void* QWebFrame_Geometry(void* ptr); | |
| +void* QWebFrame_HitTestContent(void* ptr, void* pos); | |
| +void QWebFrame_ConnectIconChanged(void* ptr); | |
| +void QWebFrame_DisconnectIconChanged(void* ptr); | |
| +void QWebFrame_IconChanged(void* ptr); | |
| +void QWebFrame_ConnectInitialLayoutCompleted(void* ptr); | |
| +void QWebFrame_DisconnectInitialLayoutCompleted(void* ptr); | |
| +void QWebFrame_InitialLayoutCompleted(void* ptr); | |
| +void QWebFrame_ConnectJavaScriptWindowObjectCleared(void* ptr); | |
| +void QWebFrame_DisconnectJavaScriptWindowObjectCleared(void* ptr); | |
| +void QWebFrame_JavaScriptWindowObjectCleared(void* ptr); | |
| +void QWebFrame_Load2(void* ptr, void* req, long long operation, char* body); | |
| +void QWebFrame_Load(void* ptr, void* url); | |
| +void QWebFrame_ConnectLoadFinished(void* ptr); | |
| +void QWebFrame_DisconnectLoadFinished(void* ptr); | |
| +void QWebFrame_LoadFinished(void* ptr, char ok); | |
| +void QWebFrame_ConnectLoadStarted(void* ptr); | |
| +void QWebFrame_DisconnectLoadStarted(void* ptr); | |
| +void QWebFrame_LoadStarted(void* ptr); | |
| +void* QWebFrame_Page(void* ptr); | |
| +void QWebFrame_ConnectPageChanged(void* ptr); | |
| +void QWebFrame_DisconnectPageChanged(void* ptr); | |
| +void QWebFrame_PageChanged(void* ptr); | |
| +void* QWebFrame_ParentFrame(void* ptr); | |
| +void* QWebFrame_Pos(void* ptr); | |
| +void QWebFrame_Print(void* ptr, void* printer); | |
| +void QWebFrame_Render2(void* ptr, void* painter, long long layer, void* clip); | |
| +void QWebFrame_Render(void* ptr, void* painter, void* clip); | |
| +void QWebFrame_Scroll(void* ptr, int dx, int dy); | |
| +void* QWebFrame_ScrollBarGeometry(void* ptr, long long orientation); | |
| +int QWebFrame_ScrollBarMaximum(void* ptr, long long orientation); | |
| +int QWebFrame_ScrollBarMinimum(void* ptr, long long orientation); | |
| +long long QWebFrame_ScrollBarPolicy(void* ptr, long long orientation); | |
| +int QWebFrame_ScrollBarValue(void* ptr, long long orientation); | |
| +void QWebFrame_ScrollToAnchor(void* ptr, char* anchor); | |
| +void* QWebFrame_SecurityOrigin(void* ptr); | |
| +void QWebFrame_SetContent(void* ptr, char* data, char* mimeType, void* baseUrl); | |
| +void QWebFrame_SetFocus(void* ptr); | |
| +void QWebFrame_SetHtml(void* ptr, char* html, void* baseUrl); | |
| +void QWebFrame_SetScrollBarPolicy(void* ptr, long long orientation, long long policy); | |
| +void QWebFrame_SetScrollBarValue(void* ptr, long long orientation, int value); | |
| +void QWebFrame_SetTextSizeMultiplier(void* ptr, double factor); | |
| +double QWebFrame_TextSizeMultiplier(void* ptr); | |
| +void QWebFrame_ConnectTitleChanged(void* ptr); | |
| +void QWebFrame_DisconnectTitleChanged(void* ptr); | |
| +void QWebFrame_TitleChanged(void* ptr, char* title); | |
| +char* QWebFrame_ToHtml(void* ptr); | |
| +char* QWebFrame_ToPlainText(void* ptr); | |
| +void QWebFrame_ConnectUrlChanged(void* ptr); | |
| +void QWebFrame_DisconnectUrlChanged(void* ptr); | |
| +void QWebFrame_UrlChanged(void* ptr, void* url); | |
| +void QWebFrame_TimerEvent(void* ptr, void* event); | |
| +void QWebFrame_TimerEventDefault(void* ptr, void* event); | |
| +void QWebFrame_ChildEvent(void* ptr, void* event); | |
| +void QWebFrame_ChildEventDefault(void* ptr, void* event); | |
| +void QWebFrame_ConnectNotify(void* ptr, void* sign); | |
| +void QWebFrame_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QWebFrame_CustomEvent(void* ptr, void* event); | |
| +void QWebFrame_CustomEventDefault(void* ptr, void* event); | |
| +void QWebFrame_DeleteLater(void* ptr); | |
| +void QWebFrame_DeleteLaterDefault(void* ptr); | |
| +void QWebFrame_DisconnectNotify(void* ptr, void* sign); | |
| +void QWebFrame_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QWebFrame_EventFilter(void* ptr, void* watched, void* event); | |
| +char QWebFrame_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebFrame_MetaObject(void* ptr); | |
| +void* QWebFrame_MetaObjectDefault(void* ptr); | |
| +void QWebHistory_Back(void* ptr); | |
| +void* QWebHistory_BackItem(void* ptr); | |
| +char QWebHistory_CanGoBack(void* ptr); | |
| +char QWebHistory_CanGoForward(void* ptr); | |
| +void QWebHistory_Clear(void* ptr); | |
| +int QWebHistory_Count(void* ptr); | |
| +void* QWebHistory_CurrentItem(void* ptr); | |
| +int QWebHistory_CurrentItemIndex(void* ptr); | |
| +void QWebHistory_Forward(void* ptr); | |
| +void* QWebHistory_ForwardItem(void* ptr); | |
| +void QWebHistory_GoToItem(void* ptr, void* item); | |
| +void* QWebHistory_ItemAt(void* ptr, int i); | |
| +int QWebHistory_MaximumItemCount(void* ptr); | |
| +void QWebHistory_SetMaximumItemCount(void* ptr, int count); | |
| +void* QWebHistoryInterface_NewQWebHistoryInterface(void* parent); | |
| +void QWebHistoryInterface_AddHistoryEntry(void* ptr, char* url); | |
| +void* QWebHistoryInterface_QWebHistoryInterface_DefaultInterface(); | |
| +char QWebHistoryInterface_HistoryContains(void* ptr, char* url); | |
| +void QWebHistoryInterface_QWebHistoryInterface_SetDefaultInterface(void* defaultInterface); | |
| +void QWebHistoryInterface_DestroyQWebHistoryInterface(void* ptr); | |
| +void QWebHistoryInterface_TimerEvent(void* ptr, void* event); | |
| +void QWebHistoryInterface_TimerEventDefault(void* ptr, void* event); | |
| +void QWebHistoryInterface_ChildEvent(void* ptr, void* event); | |
| +void QWebHistoryInterface_ChildEventDefault(void* ptr, void* event); | |
| +void QWebHistoryInterface_ConnectNotify(void* ptr, void* sign); | |
| +void QWebHistoryInterface_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QWebHistoryInterface_CustomEvent(void* ptr, void* event); | |
| +void QWebHistoryInterface_CustomEventDefault(void* ptr, void* event); | |
| +void QWebHistoryInterface_DeleteLater(void* ptr); | |
| +void QWebHistoryInterface_DeleteLaterDefault(void* ptr); | |
| +void QWebHistoryInterface_DisconnectNotify(void* ptr, void* sign); | |
| +void QWebHistoryInterface_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QWebHistoryInterface_Event(void* ptr, void* e); | |
| +char QWebHistoryInterface_EventDefault(void* ptr, void* e); | |
| +char QWebHistoryInterface_EventFilter(void* ptr, void* watched, void* event); | |
| +char QWebHistoryInterface_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebHistoryInterface_MetaObject(void* ptr); | |
| +void* QWebHistoryInterface_MetaObjectDefault(void* ptr); | |
| +void* QWebHistoryItem_NewQWebHistoryItem(void* other); | |
| +void* QWebHistoryItem_Icon(void* ptr); | |
| +char QWebHistoryItem_IsValid(void* ptr); | |
| +void* QWebHistoryItem_LastVisited(void* ptr); | |
| +void* QWebHistoryItem_OriginalUrl(void* ptr); | |
| +void QWebHistoryItem_SetUserData(void* ptr, void* userData); | |
| +char* QWebHistoryItem_Title(void* ptr); | |
| +void* QWebHistoryItem_Url(void* ptr); | |
| +void* QWebHistoryItem_UserData(void* ptr); | |
| +void QWebHistoryItem_DestroyQWebHistoryItem(void* ptr); | |
| +void* QWebHitTestResult_NewQWebHitTestResult(); | |
| +void* QWebHitTestResult_NewQWebHitTestResult2(void* other); | |
| +char* QWebHitTestResult_AlternateText(void* ptr); | |
| +void* QWebHitTestResult_BoundingRect(void* ptr); | |
| +void* QWebHitTestResult_Element(void* ptr); | |
| +void* QWebHitTestResult_EnclosingBlockElement(void* ptr); | |
| +void* QWebHitTestResult_Frame(void* ptr); | |
| +void* QWebHitTestResult_ImageUrl(void* ptr); | |
| +char QWebHitTestResult_IsContentEditable(void* ptr); | |
| +char QWebHitTestResult_IsContentSelected(void* ptr); | |
| +char QWebHitTestResult_IsNull(void* ptr); | |
| +void* QWebHitTestResult_LinkElement(void* ptr); | |
| +void* QWebHitTestResult_LinkTargetFrame(void* ptr); | |
| +char* QWebHitTestResult_LinkText(void* ptr); | |
| +char* QWebHitTestResult_LinkTitleString(void* ptr); | |
| +void* QWebHitTestResult_LinkUrl(void* ptr); | |
| +void* QWebHitTestResult_MediaUrl(void* ptr); | |
| +void* QWebHitTestResult_Pixmap(void* ptr); | |
| +void* QWebHitTestResult_Pos(void* ptr); | |
| +char* QWebHitTestResult_Title(void* ptr); | |
| +void QWebHitTestResult_DestroyQWebHitTestResult(void* ptr); | |
| +void* QWebInspector_NewQWebInspector(void* parent); | |
| +void QWebInspector_CloseEvent(void* ptr, void* event); | |
| +char QWebInspector_Event(void* ptr, void* ev); | |
| +void QWebInspector_HideEvent(void* ptr, void* event); | |
| +void* QWebInspector_Page(void* ptr); | |
| +void QWebInspector_ResizeEvent(void* ptr, void* event); | |
| +void QWebInspector_SetPage(void* ptr, void* page); | |
| +void QWebInspector_ShowEvent(void* ptr, void* event); | |
| +void* QWebInspector_SizeHint(void* ptr); | |
| +void QWebInspector_DestroyQWebInspector(void* ptr); | |
| +void QWebInspector_ActionEvent(void* ptr, void* event); | |
| +void QWebInspector_ActionEventDefault(void* ptr, void* event); | |
| +void QWebInspector_DragEnterEvent(void* ptr, void* event); | |
| +void QWebInspector_DragEnterEventDefault(void* ptr, void* event); | |
| +void QWebInspector_DragLeaveEvent(void* ptr, void* event); | |
| +void QWebInspector_DragLeaveEventDefault(void* ptr, void* event); | |
| +void QWebInspector_DragMoveEvent(void* ptr, void* event); | |
| +void QWebInspector_DragMoveEventDefault(void* ptr, void* event); | |
| +void QWebInspector_DropEvent(void* ptr, void* event); | |
| +void QWebInspector_DropEventDefault(void* ptr, void* event); | |
| +void QWebInspector_EnterEvent(void* ptr, void* event); | |
| +void QWebInspector_EnterEventDefault(void* ptr, void* event); | |
| +void QWebInspector_FocusInEvent(void* ptr, void* event); | |
| +void QWebInspector_FocusInEventDefault(void* ptr, void* event); | |
| +void QWebInspector_FocusOutEvent(void* ptr, void* event); | |
| +void QWebInspector_FocusOutEventDefault(void* ptr, void* event); | |
| +void QWebInspector_LeaveEvent(void* ptr, void* event); | |
| +void QWebInspector_LeaveEventDefault(void* ptr, void* event); | |
| +void* QWebInspector_MinimumSizeHint(void* ptr); | |
| +void* QWebInspector_MinimumSizeHintDefault(void* ptr); | |
| +void QWebInspector_MoveEvent(void* ptr, void* event); | |
| +void QWebInspector_MoveEventDefault(void* ptr, void* event); | |
| +void QWebInspector_PaintEvent(void* ptr, void* event); | |
| +void QWebInspector_PaintEventDefault(void* ptr, void* event); | |
| +void QWebInspector_SetEnabled(void* ptr, char vbo); | |
| +void QWebInspector_SetEnabledDefault(void* ptr, char vbo); | |
| +void QWebInspector_SetStyleSheet(void* ptr, char* styleSheet); | |
| +void QWebInspector_SetStyleSheetDefault(void* ptr, char* styleSheet); | |
| +void QWebInspector_SetVisible(void* ptr, char visible); | |
| +void QWebInspector_SetVisibleDefault(void* ptr, char visible); | |
| +void QWebInspector_SetWindowModified(void* ptr, char vbo); | |
| +void QWebInspector_SetWindowModifiedDefault(void* ptr, char vbo); | |
| +void QWebInspector_SetWindowTitle(void* ptr, char* vqs); | |
| +void QWebInspector_SetWindowTitleDefault(void* ptr, char* vqs); | |
| +void QWebInspector_ChangeEvent(void* ptr, void* event); | |
| +void QWebInspector_ChangeEventDefault(void* ptr, void* event); | |
| +char QWebInspector_Close(void* ptr); | |
| +char QWebInspector_CloseDefault(void* ptr); | |
| +void QWebInspector_ContextMenuEvent(void* ptr, void* event); | |
| +void QWebInspector_ContextMenuEventDefault(void* ptr, void* event); | |
| +char QWebInspector_FocusNextPrevChild(void* ptr, char next); | |
| +char QWebInspector_FocusNextPrevChildDefault(void* ptr, char next); | |
| +char QWebInspector_HasHeightForWidth(void* ptr); | |
| +char QWebInspector_HasHeightForWidthDefault(void* ptr); | |
| +int QWebInspector_HeightForWidth(void* ptr, int w); | |
| +int QWebInspector_HeightForWidthDefault(void* ptr, int w); | |
| +void QWebInspector_Hide(void* ptr); | |
| +void QWebInspector_HideDefault(void* ptr); | |
| +void QWebInspector_InputMethodEvent(void* ptr, void* event); | |
| +void QWebInspector_InputMethodEventDefault(void* ptr, void* event); | |
| +void* QWebInspector_InputMethodQuery(void* ptr, long long query); | |
| +void* QWebInspector_InputMethodQueryDefault(void* ptr, long long query); | |
| +void QWebInspector_KeyPressEvent(void* ptr, void* event); | |
| +void QWebInspector_KeyPressEventDefault(void* ptr, void* event); | |
| +void QWebInspector_KeyReleaseEvent(void* ptr, void* event); | |
| +void QWebInspector_KeyReleaseEventDefault(void* ptr, void* event); | |
| +void QWebInspector_Lower(void* ptr); | |
| +void QWebInspector_LowerDefault(void* ptr); | |
| +void QWebInspector_MouseDoubleClickEvent(void* ptr, void* event); | |
| +void QWebInspector_MouseDoubleClickEventDefault(void* ptr, void* event); | |
| +void QWebInspector_MouseMoveEvent(void* ptr, void* event); | |
| +void QWebInspector_MouseMoveEventDefault(void* ptr, void* event); | |
| +void QWebInspector_MousePressEvent(void* ptr, void* event); | |
| +void QWebInspector_MousePressEventDefault(void* ptr, void* event); | |
| +void QWebInspector_MouseReleaseEvent(void* ptr, void* event); | |
| +void QWebInspector_MouseReleaseEventDefault(void* ptr, void* event); | |
| +char QWebInspector_NativeEvent(void* ptr, char* eventType, void* message, long result); | |
| +char QWebInspector_NativeEventDefault(void* ptr, char* eventType, void* message, long result); | |
| +void QWebInspector_Raise(void* ptr); | |
| +void QWebInspector_RaiseDefault(void* ptr); | |
| +void QWebInspector_Repaint(void* ptr); | |
| +void QWebInspector_RepaintDefault(void* ptr); | |
| +void QWebInspector_SetDisabled(void* ptr, char disable); | |
| +void QWebInspector_SetDisabledDefault(void* ptr, char disable); | |
| +void QWebInspector_SetFocus2(void* ptr); | |
| +void QWebInspector_SetFocus2Default(void* ptr); | |
| +void QWebInspector_SetHidden(void* ptr, char hidden); | |
| +void QWebInspector_SetHiddenDefault(void* ptr, char hidden); | |
| +void QWebInspector_Show(void* ptr); | |
| +void QWebInspector_ShowDefault(void* ptr); | |
| +void QWebInspector_ShowFullScreen(void* ptr); | |
| +void QWebInspector_ShowFullScreenDefault(void* ptr); | |
| +void QWebInspector_ShowMaximized(void* ptr); | |
| +void QWebInspector_ShowMaximizedDefault(void* ptr); | |
| +void QWebInspector_ShowMinimized(void* ptr); | |
| +void QWebInspector_ShowMinimizedDefault(void* ptr); | |
| +void QWebInspector_ShowNormal(void* ptr); | |
| +void QWebInspector_ShowNormalDefault(void* ptr); | |
| +void QWebInspector_TabletEvent(void* ptr, void* event); | |
| +void QWebInspector_TabletEventDefault(void* ptr, void* event); | |
| +void QWebInspector_Update(void* ptr); | |
| +void QWebInspector_UpdateDefault(void* ptr); | |
| +void QWebInspector_UpdateMicroFocus(void* ptr); | |
| +void QWebInspector_UpdateMicroFocusDefault(void* ptr); | |
| +void QWebInspector_WheelEvent(void* ptr, void* event); | |
| +void QWebInspector_WheelEventDefault(void* ptr, void* event); | |
| +void QWebInspector_TimerEvent(void* ptr, void* event); | |
| +void QWebInspector_TimerEventDefault(void* ptr, void* event); | |
| +void QWebInspector_ChildEvent(void* ptr, void* event); | |
| +void QWebInspector_ChildEventDefault(void* ptr, void* event); | |
| +void QWebInspector_ConnectNotify(void* ptr, void* sign); | |
| +void QWebInspector_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QWebInspector_CustomEvent(void* ptr, void* event); | |
| +void QWebInspector_CustomEventDefault(void* ptr, void* event); | |
| +void QWebInspector_DeleteLater(void* ptr); | |
| +void QWebInspector_DeleteLaterDefault(void* ptr); | |
| +void QWebInspector_DisconnectNotify(void* ptr, void* sign); | |
| +void QWebInspector_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QWebInspector_EventFilter(void* ptr, void* watched, void* event); | |
| +char QWebInspector_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebInspector_MetaObject(void* ptr); | |
| +void* QWebInspector_MetaObjectDefault(void* ptr); | |
| +char QWebPage_AcceptNavigationRequest(void* ptr, void* frame, void* request, long long ty); | |
| +char QWebPage_AcceptNavigationRequestDefault(void* ptr, void* frame, void* request, long long ty); | |
| +char QWebPage_ForwardUnsupportedContent(void* ptr); | |
| +char QWebPage_HasSelection(void* ptr); | |
| +char QWebPage_IsContentEditable(void* ptr); | |
| +char QWebPage_IsModified(void* ptr); | |
| +long long QWebPage_LinkDelegationPolicy(void* ptr); | |
| +void* QWebPage_Palette(void* ptr); | |
| +void* QWebPage_PreferredContentsSize(void* ptr); | |
| +char* QWebPage_SelectedHtml(void* ptr); | |
| +char* QWebPage_SelectedText(void* ptr); | |
| +void QWebPage_SetActualVisibleContentRect(void* ptr, void* rect); | |
| +void QWebPage_SetContentEditable(void* ptr, char editable); | |
| +void QWebPage_SetFeaturePermission(void* ptr, void* frame, long long feature, long long policy); | |
| +void QWebPage_SetForwardUnsupportedContent(void* ptr, char forward); | |
| +void QWebPage_SetLinkDelegationPolicy(void* ptr, long long policy); | |
| +void QWebPage_SetPalette(void* ptr, void* palette); | |
| +void QWebPage_SetPreferredContentsSize(void* ptr, void* size); | |
| +void QWebPage_SetViewportSize(void* ptr, void* size); | |
| +void QWebPage_SetVisibilityState(void* ptr, long long vvi); | |
| +char QWebPage_ShouldInterruptJavaScript(void* ptr); | |
| +char QWebPage_ShouldInterruptJavaScriptDefault(void* ptr); | |
| +void* QWebPage_ViewportSize(void* ptr); | |
| +long long QWebPage_VisibilityState(void* ptr); | |
| +void* QWebPage_NewQWebPage(void* parent); | |
| +void* QWebPage_Action(void* ptr, long long action); | |
| +void QWebPage_ConnectApplicationCacheQuotaExceeded(void* ptr); | |
| +void QWebPage_DisconnectApplicationCacheQuotaExceeded(void* ptr); | |
| +void QWebPage_ApplicationCacheQuotaExceeded(void* ptr, void* origin, unsigned long long defaultOriginQuota, unsigned long long totalSpaceNeeded); | |
| +unsigned long long QWebPage_BytesReceived(void* ptr); | |
| +char* QWebPage_ChooseFile(void* ptr, void* parentFrame, char* suggestedFile); | |
| +char* QWebPage_ChooseFileDefault(void* ptr, void* parentFrame, char* suggestedFile); | |
| +void QWebPage_ConnectContentsChanged(void* ptr); | |
| +void QWebPage_DisconnectContentsChanged(void* ptr); | |
| +void QWebPage_ContentsChanged(void* ptr); | |
| +void* QWebPage_CreatePlugin(void* ptr, char* classid, void* url, char* paramNames, char* paramValues); | |
| +void* QWebPage_CreatePluginDefault(void* ptr, char* classid, void* url, char* paramNames, char* paramValues); | |
| +void* QWebPage_CreateStandardContextMenu(void* ptr); | |
| +void* QWebPage_CreateWindow(void* ptr, long long ty); | |
| +void* QWebPage_CreateWindowDefault(void* ptr, long long ty); | |
| +void* QWebPage_CurrentFrame(void* ptr); | |
| +void QWebPage_ConnectDatabaseQuotaExceeded(void* ptr); | |
| +void QWebPage_DisconnectDatabaseQuotaExceeded(void* ptr); | |
| +void QWebPage_DatabaseQuotaExceeded(void* ptr, void* frame, char* databaseName); | |
| +void QWebPage_ConnectDownloadRequested(void* ptr); | |
| +void QWebPage_DisconnectDownloadRequested(void* ptr); | |
| +void QWebPage_DownloadRequested(void* ptr, void* request); | |
| +char QWebPage_Event(void* ptr, void* ev); | |
| +char QWebPage_EventDefault(void* ptr, void* ev); | |
| +void QWebPage_ConnectFeaturePermissionRequestCanceled(void* ptr); | |
| +void QWebPage_DisconnectFeaturePermissionRequestCanceled(void* ptr); | |
| +void QWebPage_FeaturePermissionRequestCanceled(void* ptr, void* frame, long long feature); | |
| +void QWebPage_ConnectFeaturePermissionRequested(void* ptr); | |
| +void QWebPage_DisconnectFeaturePermissionRequested(void* ptr); | |
| +void QWebPage_FeaturePermissionRequested(void* ptr, void* frame, long long feature); | |
| +char QWebPage_FindText(void* ptr, char* subString, long long options); | |
| +char QWebPage_FocusNextPrevChild(void* ptr, char next); | |
| +void* QWebPage_FrameAt(void* ptr, void* pos); | |
| +void QWebPage_ConnectFrameCreated(void* ptr); | |
| +void QWebPage_DisconnectFrameCreated(void* ptr); | |
| +void QWebPage_FrameCreated(void* ptr, void* frame); | |
| +void QWebPage_ConnectGeometryChangeRequested(void* ptr); | |
| +void QWebPage_DisconnectGeometryChangeRequested(void* ptr); | |
| +void QWebPage_GeometryChangeRequested(void* ptr, void* geom); | |
| +void* QWebPage_History(void* ptr); | |
| +void* QWebPage_InputMethodQuery(void* ptr, long long property); | |
| +void QWebPage_JavaScriptAlert(void* ptr, void* frame, char* msg); | |
| +void QWebPage_JavaScriptAlertDefault(void* ptr, void* frame, char* msg); | |
| +char QWebPage_JavaScriptConfirm(void* ptr, void* frame, char* msg); | |
| +char QWebPage_JavaScriptConfirmDefault(void* ptr, void* frame, char* msg); | |
| +void QWebPage_JavaScriptConsoleMessage(void* ptr, char* message, int lineNumber, char* sourceID); | |
| +void QWebPage_JavaScriptConsoleMessageDefault(void* ptr, char* message, int lineNumber, char* sourceID); | |
| +char QWebPage_JavaScriptPrompt(void* ptr, void* frame, char* msg, char* defaultValue, char* result); | |
| +char QWebPage_JavaScriptPromptDefault(void* ptr, void* frame, char* msg, char* defaultValue, char* result); | |
| +void QWebPage_ConnectLinkClicked(void* ptr); | |
| +void QWebPage_DisconnectLinkClicked(void* ptr); | |
| +void QWebPage_LinkClicked(void* ptr, void* url); | |
| +void QWebPage_ConnectLinkHovered(void* ptr); | |
| +void QWebPage_DisconnectLinkHovered(void* ptr); | |
| +void QWebPage_LinkHovered(void* ptr, char* link, char* title, char* textContent); | |
| +void QWebPage_ConnectLoadFinished(void* ptr); | |
| +void QWebPage_DisconnectLoadFinished(void* ptr); | |
| +void QWebPage_LoadFinished(void* ptr, char ok); | |
| +void QWebPage_ConnectLoadProgress(void* ptr); | |
| +void QWebPage_DisconnectLoadProgress(void* ptr); | |
| +void QWebPage_LoadProgress(void* ptr, int progress); | |
| +void QWebPage_ConnectLoadStarted(void* ptr); | |
| +void QWebPage_DisconnectLoadStarted(void* ptr); | |
| +void QWebPage_LoadStarted(void* ptr); | |
| +void* QWebPage_MainFrame(void* ptr); | |
| +void QWebPage_ConnectMenuBarVisibilityChangeRequested(void* ptr); | |
| +void QWebPage_DisconnectMenuBarVisibilityChangeRequested(void* ptr); | |
| +void QWebPage_MenuBarVisibilityChangeRequested(void* ptr, char visible); | |
| +void QWebPage_ConnectMicroFocusChanged(void* ptr); | |
| +void QWebPage_DisconnectMicroFocusChanged(void* ptr); | |
| +void QWebPage_MicroFocusChanged(void* ptr); | |
| +void* QWebPage_NetworkAccessManager(void* ptr); | |
| +void* QWebPage_PluginFactory(void* ptr); | |
| +void QWebPage_ConnectPrintRequested(void* ptr); | |
| +void QWebPage_DisconnectPrintRequested(void* ptr); | |
| +void QWebPage_PrintRequested(void* ptr, void* frame); | |
| +void QWebPage_ConnectRepaintRequested(void* ptr); | |
| +void QWebPage_DisconnectRepaintRequested(void* ptr); | |
| +void QWebPage_RepaintRequested(void* ptr, void* dirtyRect); | |
| +void QWebPage_ConnectRestoreFrameStateRequested(void* ptr); | |
| +void QWebPage_DisconnectRestoreFrameStateRequested(void* ptr); | |
| +void QWebPage_RestoreFrameStateRequested(void* ptr, void* frame); | |
| +void QWebPage_ConnectSaveFrameStateRequested(void* ptr); | |
| +void QWebPage_DisconnectSaveFrameStateRequested(void* ptr); | |
| +void QWebPage_SaveFrameStateRequested(void* ptr, void* frame, void* item); | |
| +void QWebPage_ConnectScrollRequested(void* ptr); | |
| +void QWebPage_DisconnectScrollRequested(void* ptr); | |
| +void QWebPage_ScrollRequested(void* ptr, int dx, int dy, void* rectToScroll); | |
| +void QWebPage_ConnectSelectionChanged(void* ptr); | |
| +void QWebPage_DisconnectSelectionChanged(void* ptr); | |
| +void QWebPage_SelectionChanged(void* ptr); | |
| +void QWebPage_SetNetworkAccessManager(void* ptr, void* manager); | |
| +void QWebPage_SetPluginFactory(void* ptr, void* factory); | |
| +void QWebPage_SetView(void* ptr, void* view); | |
| +void* QWebPage_Settings(void* ptr); | |
| +void QWebPage_ConnectStatusBarMessage(void* ptr); | |
| +void QWebPage_DisconnectStatusBarMessage(void* ptr); | |
| +void QWebPage_StatusBarMessage(void* ptr, char* text); | |
| +void QWebPage_ConnectStatusBarVisibilityChangeRequested(void* ptr); | |
| +void QWebPage_DisconnectStatusBarVisibilityChangeRequested(void* ptr); | |
| +void QWebPage_StatusBarVisibilityChangeRequested(void* ptr, char visible); | |
| +char* QWebPage_SupportedContentTypes(void* ptr); | |
| +char QWebPage_SupportsContentType(void* ptr, char* mimeType); | |
| +char QWebPage_SupportsExtension(void* ptr, long long extension); | |
| +char QWebPage_SupportsExtensionDefault(void* ptr, long long extension); | |
| +char QWebPage_SwallowContextMenuEvent(void* ptr, void* event); | |
| +void QWebPage_ConnectToolBarVisibilityChangeRequested(void* ptr); | |
| +void QWebPage_DisconnectToolBarVisibilityChangeRequested(void* ptr); | |
| +void QWebPage_ToolBarVisibilityChangeRequested(void* ptr, char visible); | |
| +unsigned long long QWebPage_TotalBytes(void* ptr); | |
| +void QWebPage_TriggerAction(void* ptr, long long action, char checked); | |
| +void QWebPage_TriggerActionDefault(void* ptr, long long action, char checked); | |
| +void* QWebPage_UndoStack(void* ptr); | |
| +void QWebPage_ConnectUnsupportedContent(void* ptr); | |
| +void QWebPage_DisconnectUnsupportedContent(void* ptr); | |
| +void QWebPage_UnsupportedContent(void* ptr, void* reply); | |
| +void QWebPage_UpdatePositionDependentActions(void* ptr, void* pos); | |
| +char* QWebPage_UserAgentForUrl(void* ptr, void* url); | |
| +char* QWebPage_UserAgentForUrlDefault(void* ptr, void* url); | |
| +void* QWebPage_View(void* ptr); | |
| +void QWebPage_ConnectViewportChangeRequested(void* ptr); | |
| +void QWebPage_DisconnectViewportChangeRequested(void* ptr); | |
| +void QWebPage_ViewportChangeRequested(void* ptr); | |
| +void QWebPage_ConnectWindowCloseRequested(void* ptr); | |
| +void QWebPage_DisconnectWindowCloseRequested(void* ptr); | |
| +void QWebPage_WindowCloseRequested(void* ptr); | |
| +void QWebPage_DestroyQWebPage(void* ptr); | |
| +void QWebPage_TimerEvent(void* ptr, void* event); | |
| +void QWebPage_TimerEventDefault(void* ptr, void* event); | |
| +void QWebPage_ChildEvent(void* ptr, void* event); | |
| +void QWebPage_ChildEventDefault(void* ptr, void* event); | |
| +void QWebPage_ConnectNotify(void* ptr, void* sign); | |
| +void QWebPage_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QWebPage_CustomEvent(void* ptr, void* event); | |
| +void QWebPage_CustomEventDefault(void* ptr, void* event); | |
| +void QWebPage_DeleteLater(void* ptr); | |
| +void QWebPage_DeleteLaterDefault(void* ptr); | |
| +void QWebPage_DisconnectNotify(void* ptr, void* sign); | |
| +void QWebPage_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QWebPage_EventFilter(void* ptr, void* watched, void* event); | |
| +char QWebPage_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebPage_MetaObject(void* ptr); | |
| +void* QWebPage_MetaObjectDefault(void* ptr); | |
| +void* QWebPluginFactory_Create(void* ptr, char* mimeType, void* url, char* argumentNames, char* argumentValues); | |
| +void QWebPluginFactory_RefreshPlugins(void* ptr); | |
| +void QWebPluginFactory_RefreshPluginsDefault(void* ptr); | |
| +void QWebPluginFactory_DestroyQWebPluginFactory(void* ptr); | |
| +void QWebPluginFactory_DestroyQWebPluginFactoryDefault(void* ptr); | |
| +void QWebPluginFactory_TimerEvent(void* ptr, void* event); | |
| +void QWebPluginFactory_TimerEventDefault(void* ptr, void* event); | |
| +void QWebPluginFactory_ChildEvent(void* ptr, void* event); | |
| +void QWebPluginFactory_ChildEventDefault(void* ptr, void* event); | |
| +void QWebPluginFactory_ConnectNotify(void* ptr, void* sign); | |
| +void QWebPluginFactory_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QWebPluginFactory_CustomEvent(void* ptr, void* event); | |
| +void QWebPluginFactory_CustomEventDefault(void* ptr, void* event); | |
| +void QWebPluginFactory_DeleteLater(void* ptr); | |
| +void QWebPluginFactory_DeleteLaterDefault(void* ptr); | |
| +void QWebPluginFactory_DisconnectNotify(void* ptr, void* sign); | |
| +void QWebPluginFactory_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QWebPluginFactory_Event(void* ptr, void* e); | |
| +char QWebPluginFactory_EventDefault(void* ptr, void* e); | |
| +char QWebPluginFactory_EventFilter(void* ptr, void* watched, void* event); | |
| +char QWebPluginFactory_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebPluginFactory_MetaObject(void* ptr); | |
| +void* QWebPluginFactory_MetaObjectDefault(void* ptr); | |
| +void QWebSecurityOrigin_SetApplicationCacheQuota(void* ptr, long long quota); | |
| +void* QWebSecurityOrigin_NewQWebSecurityOrigin(void* url); | |
| +void* QWebSecurityOrigin_NewQWebSecurityOrigin2(void* other); | |
| +void QWebSecurityOrigin_AddAccessWhitelistEntry(void* ptr, char* scheme, char* host, long long subdomainSetting); | |
| +void QWebSecurityOrigin_QWebSecurityOrigin_AddLocalScheme(char* scheme); | |
| +long long QWebSecurityOrigin_DatabaseQuota(void* ptr); | |
| +long long QWebSecurityOrigin_DatabaseUsage(void* ptr); | |
| +char* QWebSecurityOrigin_Host(void* ptr); | |
| +char* QWebSecurityOrigin_QWebSecurityOrigin_LocalSchemes(); | |
| +int QWebSecurityOrigin_Port(void* ptr); | |
| +void QWebSecurityOrigin_RemoveAccessWhitelistEntry(void* ptr, char* scheme, char* host, long long subdomainSetting); | |
| +void QWebSecurityOrigin_QWebSecurityOrigin_RemoveLocalScheme(char* scheme); | |
| +char* QWebSecurityOrigin_Scheme(void* ptr); | |
| +void QWebSecurityOrigin_SetDatabaseQuota(void* ptr, long long quota); | |
| +void QWebSecurityOrigin_DestroyQWebSecurityOrigin(void* ptr); | |
| +int QWebSettings_LocalContentCanAccessRemoteUrls_Type(); | |
| +int QWebSettings_DnsPrefetchEnabled_Type(); | |
| +int QWebSettings_XSSAuditingEnabled_Type(); | |
| +int QWebSettings_AcceleratedCompositingEnabled_Type(); | |
| +int QWebSettings_SpatialNavigationEnabled_Type(); | |
| +int QWebSettings_LocalContentCanAccessFileUrls_Type(); | |
| +int QWebSettings_TiledBackingStoreEnabled_Type(); | |
| +int QWebSettings_FrameFlatteningEnabled_Type(); | |
| +int QWebSettings_SiteSpecificQuirksEnabled_Type(); | |
| +int QWebSettings_JavascriptCanCloseWindows_Type(); | |
| +int QWebSettings_WebGLEnabled_Type(); | |
| +int QWebSettings_CSSRegionsEnabled_Type(); | |
| +int QWebSettings_HyperlinkAuditingEnabled_Type(); | |
| +int QWebSettings_CSSGridLayoutEnabled_Type(); | |
| +int QWebSettings_ScrollAnimatorEnabled_Type(); | |
| +int QWebSettings_CaretBrowsingEnabled_Type(); | |
| +int QWebSettings_NotificationsEnabled_Type(); | |
| +int QWebSettings_WebAudioEnabled_Type(); | |
| +int QWebSettings_Accelerated2dCanvasEnabled_Type(); | |
| +void QWebSettings_ResetAttribute(void* ptr, long long attribute); | |
| +void QWebSettings_SetAttribute(void* ptr, long long attribute, char on); | |
| +char QWebSettings_TestAttribute(void* ptr, long long attribute); | |
| +void QWebSettings_QWebSettings_ClearIconDatabase(); | |
| +void QWebSettings_QWebSettings_ClearMemoryCaches(); | |
| +char* QWebSettings_CssMediaType(void* ptr); | |
| +char* QWebSettings_DefaultTextEncoding(void* ptr); | |
| +void QWebSettings_QWebSettings_EnablePersistentStorage(char* path); | |
| +char* QWebSettings_FontFamily(void* ptr, long long which); | |
| +int QWebSettings_FontSize(void* ptr, long long ty); | |
| +void* QWebSettings_QWebSettings_GlobalSettings(); | |
| +char* QWebSettings_QWebSettings_IconDatabasePath(); | |
| +void* QWebSettings_QWebSettings_IconForUrl(void* url); | |
| +char* QWebSettings_LocalStoragePath(void* ptr); | |
| +int QWebSettings_QWebSettings_MaximumPagesInCache(); | |
| +long long QWebSettings_QWebSettings_OfflineStorageDefaultQuota(); | |
| +char* QWebSettings_QWebSettings_OfflineStoragePath(); | |
| +char* QWebSettings_QWebSettings_OfflineWebApplicationCachePath(); | |
| +long long QWebSettings_QWebSettings_OfflineWebApplicationCacheQuota(); | |
| +void QWebSettings_ResetFontFamily(void* ptr, long long which); | |
| +void QWebSettings_ResetFontSize(void* ptr, long long ty); | |
| +void QWebSettings_SetCSSMediaType(void* ptr, char* ty); | |
| +void QWebSettings_SetDefaultTextEncoding(void* ptr, char* encoding); | |
| +void QWebSettings_SetFontFamily(void* ptr, long long which, char* family); | |
| +void QWebSettings_SetFontSize(void* ptr, long long ty, int size); | |
| +void QWebSettings_QWebSettings_SetIconDatabasePath(char* path); | |
| +void QWebSettings_SetLocalStoragePath(void* ptr, char* path); | |
| +void QWebSettings_QWebSettings_SetMaximumPagesInCache(int pages); | |
| +void QWebSettings_QWebSettings_SetObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity); | |
| +void QWebSettings_QWebSettings_SetOfflineStorageDefaultQuota(long long maximumSize); | |
| +void QWebSettings_QWebSettings_SetOfflineStoragePath(char* path); | |
| +void QWebSettings_QWebSettings_SetOfflineWebApplicationCachePath(char* path); | |
| +void QWebSettings_QWebSettings_SetOfflineWebApplicationCacheQuota(long long maximumSize); | |
| +void QWebSettings_SetThirdPartyCookiePolicy(void* ptr, long long policy); | |
| +void QWebSettings_SetUserStyleSheetUrl(void* ptr, void* location); | |
| +void QWebSettings_QWebSettings_SetWebGraphic(long long ty, void* graphic); | |
| +long long QWebSettings_ThirdPartyCookiePolicy(void* ptr); | |
| +void* QWebSettings_UserStyleSheetUrl(void* ptr); | |
| +void* QWebSettings_QWebSettings_WebGraphic(long long ty); | |
| +char QWebView_HasSelection(void* ptr); | |
| +void* QWebView_Icon(void* ptr); | |
| +char QWebView_IsModified(void* ptr); | |
| +void QWebView_Load2(void* ptr, void* request, long long operation, char* body); | |
| +char* QWebView_SelectedHtml(void* ptr); | |
| +char* QWebView_SelectedText(void* ptr); | |
| +void QWebView_SetUrl(void* ptr, void* url); | |
| +void QWebView_SetZoomFactor(void* ptr, double factor); | |
| +char* QWebView_Title(void* ptr); | |
| +void* QWebView_Url(void* ptr); | |
| +double QWebView_ZoomFactor(void* ptr); | |
| +void* QWebView_NewQWebView(void* parent); | |
| +void QWebView_Back(void* ptr); | |
| +void QWebView_ChangeEvent(void* ptr, void* e); | |
| +void QWebView_ChangeEventDefault(void* ptr, void* e); | |
| +void QWebView_ContextMenuEvent(void* ptr, void* ev); | |
| +void QWebView_ContextMenuEventDefault(void* ptr, void* ev); | |
| +void* QWebView_CreateWindow(void* ptr, long long ty); | |
| +void* QWebView_CreateWindowDefault(void* ptr, long long ty); | |
| +void QWebView_DragEnterEvent(void* ptr, void* ev); | |
| +void QWebView_DragEnterEventDefault(void* ptr, void* ev); | |
| +void QWebView_DragLeaveEvent(void* ptr, void* ev); | |
| +void QWebView_DragLeaveEventDefault(void* ptr, void* ev); | |
| +void QWebView_DragMoveEvent(void* ptr, void* ev); | |
| +void QWebView_DragMoveEventDefault(void* ptr, void* ev); | |
| +void QWebView_DropEvent(void* ptr, void* ev); | |
| +void QWebView_DropEventDefault(void* ptr, void* ev); | |
| +char QWebView_Event(void* ptr, void* e); | |
| +char QWebView_EventDefault(void* ptr, void* e); | |
| +char QWebView_FindText(void* ptr, char* subString, long long options); | |
| +void QWebView_FocusInEvent(void* ptr, void* ev); | |
| +void QWebView_FocusInEventDefault(void* ptr, void* ev); | |
| +char QWebView_FocusNextPrevChild(void* ptr, char next); | |
| +char QWebView_FocusNextPrevChildDefault(void* ptr, char next); | |
| +void QWebView_FocusOutEvent(void* ptr, void* ev); | |
| +void QWebView_FocusOutEventDefault(void* ptr, void* ev); | |
| +void QWebView_Forward(void* ptr); | |
| +void* QWebView_History(void* ptr); | |
| +void QWebView_ConnectIconChanged(void* ptr); | |
| +void QWebView_DisconnectIconChanged(void* ptr); | |
| +void QWebView_IconChanged(void* ptr); | |
| +void QWebView_InputMethodEvent(void* ptr, void* e); | |
| +void QWebView_InputMethodEventDefault(void* ptr, void* e); | |
| +void* QWebView_InputMethodQuery(void* ptr, long long property); | |
| +void QWebView_KeyPressEvent(void* ptr, void* ev); | |
| +void QWebView_KeyPressEventDefault(void* ptr, void* ev); | |
| +void QWebView_KeyReleaseEvent(void* ptr, void* ev); | |
| +void QWebView_KeyReleaseEventDefault(void* ptr, void* ev); | |
| +void QWebView_ConnectLinkClicked(void* ptr); | |
| +void QWebView_DisconnectLinkClicked(void* ptr); | |
| +void QWebView_LinkClicked(void* ptr, void* url); | |
| +void QWebView_Load(void* ptr, void* url); | |
| +void QWebView_ConnectLoadFinished(void* ptr); | |
| +void QWebView_DisconnectLoadFinished(void* ptr); | |
| +void QWebView_LoadFinished(void* ptr, char ok); | |
| +void QWebView_ConnectLoadProgress(void* ptr); | |
| +void QWebView_DisconnectLoadProgress(void* ptr); | |
| +void QWebView_LoadProgress(void* ptr, int progress); | |
| +void QWebView_ConnectLoadStarted(void* ptr); | |
| +void QWebView_DisconnectLoadStarted(void* ptr); | |
| +void QWebView_LoadStarted(void* ptr); | |
| +void QWebView_MouseDoubleClickEvent(void* ptr, void* ev); | |
| +void QWebView_MouseDoubleClickEventDefault(void* ptr, void* ev); | |
| +void QWebView_MouseMoveEvent(void* ptr, void* ev); | |
| +void QWebView_MouseMoveEventDefault(void* ptr, void* ev); | |
| +void QWebView_MousePressEvent(void* ptr, void* ev); | |
| +void QWebView_MousePressEventDefault(void* ptr, void* ev); | |
| +void QWebView_MouseReleaseEvent(void* ptr, void* ev); | |
| +void QWebView_MouseReleaseEventDefault(void* ptr, void* ev); | |
| +void* QWebView_Page(void* ptr); | |
| +void* QWebView_PageAction(void* ptr, long long action); | |
| +void QWebView_PaintEvent(void* ptr, void* ev); | |
| +void QWebView_Print(void* ptr, void* printer); | |
| +void QWebView_Reload(void* ptr); | |
| +long long QWebView_RenderHints(void* ptr); | |
| +void QWebView_ResizeEvent(void* ptr, void* e); | |
| +void QWebView_ConnectSelectionChanged(void* ptr); | |
| +void QWebView_DisconnectSelectionChanged(void* ptr); | |
| +void QWebView_SelectionChanged(void* ptr); | |
| +void QWebView_SetContent(void* ptr, char* data, char* mimeType, void* baseUrl); | |
| +void QWebView_SetHtml(void* ptr, char* html, void* baseUrl); | |
| +void QWebView_SetPage(void* ptr, void* page); | |
| +void QWebView_SetRenderHint(void* ptr, long long hint, char enabled); | |
| +void QWebView_SetRenderHints(void* ptr, long long hints); | |
| +void QWebView_SetTextSizeMultiplier(void* ptr, double factor); | |
| +void* QWebView_Settings(void* ptr); | |
| +void* QWebView_SizeHint(void* ptr); | |
| +void QWebView_ConnectStatusBarMessage(void* ptr); | |
| +void QWebView_DisconnectStatusBarMessage(void* ptr); | |
| +void QWebView_StatusBarMessage(void* ptr, char* text); | |
| +void QWebView_Stop(void* ptr); | |
| +double QWebView_TextSizeMultiplier(void* ptr); | |
| +void QWebView_ConnectTitleChanged(void* ptr); | |
| +void QWebView_DisconnectTitleChanged(void* ptr); | |
| +void QWebView_TitleChanged(void* ptr, char* title); | |
| +void QWebView_TriggerPageAction(void* ptr, long long action, char checked); | |
| +void QWebView_ConnectUrlChanged(void* ptr); | |
| +void QWebView_DisconnectUrlChanged(void* ptr); | |
| +void QWebView_UrlChanged(void* ptr, void* url); | |
| +void QWebView_WheelEvent(void* ptr, void* ev); | |
| +void QWebView_WheelEventDefault(void* ptr, void* ev); | |
| +void QWebView_DestroyQWebView(void* ptr); | |
| +void QWebView_DestroyQWebViewDefault(void* ptr); | |
| +void QWebView_ActionEvent(void* ptr, void* event); | |
| +void QWebView_ActionEventDefault(void* ptr, void* event); | |
| +void QWebView_EnterEvent(void* ptr, void* event); | |
| +void QWebView_EnterEventDefault(void* ptr, void* event); | |
| +void QWebView_HideEvent(void* ptr, void* event); | |
| +void QWebView_HideEventDefault(void* ptr, void* event); | |
| +void QWebView_LeaveEvent(void* ptr, void* event); | |
| +void QWebView_LeaveEventDefault(void* ptr, void* event); | |
| +void* QWebView_MinimumSizeHint(void* ptr); | |
| +void* QWebView_MinimumSizeHintDefault(void* ptr); | |
| +void QWebView_MoveEvent(void* ptr, void* event); | |
| +void QWebView_MoveEventDefault(void* ptr, void* event); | |
| +void QWebView_SetEnabled(void* ptr, char vbo); | |
| +void QWebView_SetEnabledDefault(void* ptr, char vbo); | |
| +void QWebView_SetStyleSheet(void* ptr, char* styleSheet); | |
| +void QWebView_SetStyleSheetDefault(void* ptr, char* styleSheet); | |
| +void QWebView_SetVisible(void* ptr, char visible); | |
| +void QWebView_SetVisibleDefault(void* ptr, char visible); | |
| +void QWebView_SetWindowModified(void* ptr, char vbo); | |
| +void QWebView_SetWindowModifiedDefault(void* ptr, char vbo); | |
| +void QWebView_SetWindowTitle(void* ptr, char* vqs); | |
| +void QWebView_SetWindowTitleDefault(void* ptr, char* vqs); | |
| +void QWebView_ShowEvent(void* ptr, void* event); | |
| +void QWebView_ShowEventDefault(void* ptr, void* event); | |
| +char QWebView_Close(void* ptr); | |
| +char QWebView_CloseDefault(void* ptr); | |
| +void QWebView_CloseEvent(void* ptr, void* event); | |
| +void QWebView_CloseEventDefault(void* ptr, void* event); | |
| +char QWebView_HasHeightForWidth(void* ptr); | |
| +char QWebView_HasHeightForWidthDefault(void* ptr); | |
| +int QWebView_HeightForWidth(void* ptr, int w); | |
| +int QWebView_HeightForWidthDefault(void* ptr, int w); | |
| +void QWebView_Hide(void* ptr); | |
| +void QWebView_HideDefault(void* ptr); | |
| +void QWebView_Lower(void* ptr); | |
| +void QWebView_LowerDefault(void* ptr); | |
| +char QWebView_NativeEvent(void* ptr, char* eventType, void* message, long result); | |
| +char QWebView_NativeEventDefault(void* ptr, char* eventType, void* message, long result); | |
| +void QWebView_Raise(void* ptr); | |
| +void QWebView_RaiseDefault(void* ptr); | |
| +void QWebView_Repaint(void* ptr); | |
| +void QWebView_RepaintDefault(void* ptr); | |
| +void QWebView_SetDisabled(void* ptr, char disable); | |
| +void QWebView_SetDisabledDefault(void* ptr, char disable); | |
| +void QWebView_SetFocus2(void* ptr); | |
| +void QWebView_SetFocus2Default(void* ptr); | |
| +void QWebView_SetHidden(void* ptr, char hidden); | |
| +void QWebView_SetHiddenDefault(void* ptr, char hidden); | |
| +void QWebView_Show(void* ptr); | |
| +void QWebView_ShowDefault(void* ptr); | |
| +void QWebView_ShowFullScreen(void* ptr); | |
| +void QWebView_ShowFullScreenDefault(void* ptr); | |
| +void QWebView_ShowMaximized(void* ptr); | |
| +void QWebView_ShowMaximizedDefault(void* ptr); | |
| +void QWebView_ShowMinimized(void* ptr); | |
| +void QWebView_ShowMinimizedDefault(void* ptr); | |
| +void QWebView_ShowNormal(void* ptr); | |
| +void QWebView_ShowNormalDefault(void* ptr); | |
| +void QWebView_TabletEvent(void* ptr, void* event); | |
| +void QWebView_TabletEventDefault(void* ptr, void* event); | |
| +void QWebView_Update(void* ptr); | |
| +void QWebView_UpdateDefault(void* ptr); | |
| +void QWebView_UpdateMicroFocus(void* ptr); | |
| +void QWebView_UpdateMicroFocusDefault(void* ptr); | |
| +void QWebView_TimerEvent(void* ptr, void* event); | |
| +void QWebView_TimerEventDefault(void* ptr, void* event); | |
| +void QWebView_ChildEvent(void* ptr, void* event); | |
| +void QWebView_ChildEventDefault(void* ptr, void* event); | |
| +void QWebView_ConnectNotify(void* ptr, void* sign); | |
| +void QWebView_ConnectNotifyDefault(void* ptr, void* sign); | |
| +void QWebView_CustomEvent(void* ptr, void* event); | |
| +void QWebView_CustomEventDefault(void* ptr, void* event); | |
| +void QWebView_DeleteLater(void* ptr); | |
| +void QWebView_DeleteLaterDefault(void* ptr); | |
| +void QWebView_DisconnectNotify(void* ptr, void* sign); | |
| +void QWebView_DisconnectNotifyDefault(void* ptr, void* sign); | |
| +char QWebView_EventFilter(void* ptr, void* watched, void* event); | |
| +char QWebView_EventFilterDefault(void* ptr, void* watched, void* event); | |
| +void* QWebView_MetaObject(void* ptr); | |
| +void* QWebView_MetaObjectDefault(void* ptr); | |
| + | |
| +#ifdef __cplusplus | |
| +} | |
| +#endif | |
| + | |
| +#endif | |
| \ No newline at end of file | |
| diff -urN qt.orig/webkit/webkit-minimal.cpp qt/webkit/webkit-minimal.cpp | |
| diff -urN qt.orig/webkit/webkit-minimal.go qt/webkit/webkit-minimal.go | |
| diff -urN qt.orig/webkit/webkit-minimal.h qt/webkit/webkit-minimal.h | |
| \ No newline at end of file | |
| diff -urN qt.orig/internal/binding/files/docs/5.7.0/qtwebkit.index qt/internal/binding/files/docs/5.7.0/qtwebkit.index | |
| --- qt.orig/internal/binding/files/docs/5.7.0/qtwebkit.index 1970-01-01 01:00:00.000000000 +0100 | |
| +++ qt/internal/binding/files/docs/5.7.0/qtwebkit.index 2016-10-31 12:11:26.000000000 +0100 | |
| @@ -0,0 +1,4076 @@ | |
| +<?xml version="1.0" encoding="UTF-8"?> | |
| +<!DOCTYPE QDOCINDEX> | |
| +<INDEX url="http://doc.qt.io/qt-5" title="Qt WebKit Reference Documentation" version="5.7.1" project="QtWebKit"> | |
| + <namespace threadsafety="unspecified" name="" status="active" access="public" module="qtwebkit"> | |
| + <qmlclass threadsafety="unspecified" name="tst_colorChooser" qml-module-name="tst_colorChooser" href="qml-tst-colorchooser.html" status="internal" access="private" location="tst_colorChooser.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml" lineno="7" title="tst_colorChooser" fulltitle="tst_colorChooser" subtitle=""> | |
| + <qmlproperty threadsafety="unspecified" name="featureEnabled" fullname="tst_colorChooser::featureEnabled" href="qml-tst-colorchooser.html#featureEnabled-prop" status="active" access="public" location="tst_colorChooser.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml" lineno="13" type="bool" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="selectedColor" fullname="tst_colorChooser::selectedColor" href="qml-tst-colorchooser.html#selectedColor-prop" status="active" access="public" location="tst_colorChooser.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml" lineno="15" type="string" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="shouldAcceptCurrent" fullname="tst_colorChooser::shouldAcceptCurrent" href="qml-tst-colorchooser.html#shouldAcceptCurrent-prop" status="active" access="public" location="tst_colorChooser.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml" lineno="17" type="bool" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="shouldReject" fullname="tst_colorChooser::shouldReject" href="qml-tst-colorchooser.html#shouldReject-prop" status="active" access="public" location="tst_colorChooser.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml" lineno="16" type="bool" attached="false" writable="true"/> | |
| + <qmlmethod threadsafety="unspecified" name="openColorChooser" fullname="tst_colorChooser::openColorChooser" href="qml-tst-colorchooser.html#openColorChooser-method" status="active" access="public" location="tst_colorChooser.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_colorChooser.qml" lineno="30"/> | |
| + </qmlclass> | |
| + <qmlclass threadsafety="unspecified" name="tst_applicationScheme" qml-module-name="tst_applicationScheme" href="qml-tst-applicationscheme.html" status="internal" access="private" location="tst_applicationScheme.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml" lineno="8" title="tst_applicationScheme" fulltitle="tst_applicationScheme" subtitle=""/> | |
| + <qmlclass threadsafety="unspecified" name="tst_navigationRequested" qml-module-name="tst_navigationRequested" href="qml-tst-navigationrequested.html" status="internal" access="private" location="tst_navigationRequested.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml" lineno="7" title="tst_navigationRequested" fulltitle="tst_navigationRequested" subtitle=""> | |
| + <qmlproperty threadsafety="unspecified" name="beginUrl" fullname="tst_navigationRequested::beginUrl" href="qml-tst-navigationrequested.html#beginUrl-prop" status="active" access="public" location="tst_navigationRequested.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml" lineno="11" type="url" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="endUrl" fullname="tst_navigationRequested::endUrl" href="qml-tst-navigationrequested.html#endUrl-prop" status="active" access="public" location="tst_navigationRequested.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml" lineno="12" type="url" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="expectedLength" fullname="tst_navigationRequested::expectedLength" href="qml-tst-navigationrequested.html#expectedLength-prop" status="active" access="public" location="tst_navigationRequested.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml" lineno="8" type="int" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="shouldDownload" fullname="tst_navigationRequested::shouldDownload" href="qml-tst-navigationrequested.html#shouldDownload-prop" status="active" access="public" location="tst_navigationRequested.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml" lineno="10" type="bool" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="totalBytes" fullname="tst_navigationRequested::totalBytes" href="qml-tst-navigationrequested.html#totalBytes-prop" status="active" access="public" location="tst_navigationRequested.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml" lineno="9" type="int" attached="false" writable="true"/> | |
| + </qmlclass> | |
| + <qmlclass threadsafety="unspecified" name="tst_loadHtml" qml-module-name="tst_loadHtml" href="qml-tst-loadhtml.html" status="internal" access="private" location="tst_loadHtml.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml" lineno="6" title="tst_loadHtml" fulltitle="tst_loadHtml" subtitle=""> | |
| + <qmlproperty threadsafety="unspecified" name="lastUrl" fullname="tst_loadHtml::lastUrl" href="qml-tst-loadhtml.html#lastUrl-prop" status="active" access="public" location="tst_loadHtml.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_loadHtml.qml" lineno="12" type="string" attached="false" writable="true"/> | |
| + </qmlclass> | |
| + <qmlclass threadsafety="unspecified" name="tst_linkHovered" qml-module-name="tst_linkHovered" href="qml-tst-linkhovered.html" status="internal" access="private" location="tst_linkHovered.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml" lineno="6" title="tst_linkHovered" fulltitle="tst_linkHovered" subtitle=""> | |
| + <qmlproperty threadsafety="unspecified" name="lastTitle" fullname="tst_linkHovered::lastTitle" href="qml-tst-linkhovered.html#lastTitle-prop" status="active" access="public" location="tst_linkHovered.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml" lineno="13" type="string" attached="false" writable="true"/> | |
| + <qmlproperty threadsafety="unspecified" name="lastUrl" fullname="tst_linkHovered::lastUrl" href="qml-tst-linkhovered.html#lastUrl-prop" status="active" access="public" location="tst_linkHovered.qml" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml" lineno="12" type="string" attached="false" writable="true"/> | |
| + </qmlclass> | |
| + <class threadsafety="unspecified" name="QWebDatabase" href="qwebdatabase.html" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="34" since="4.5" module="QtWebKit" brief="Access to HTML 5 databases created with JavaScript"> | |
| + <function threadsafety="unspecified" name="QWebDatabase" fullname="QWebDatabase::QWebDatabase" href="qwebdatabase.html#QWebDatabase" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="36" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebDatabase(const QWebDatabase &other)"> | |
| + <parameter left="const QWebDatabase &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebDatabase" fullname="QWebDatabase::QWebDatabase" href="qwebdatabase.html#QWebDatabase-1" status="internal" access="private" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="51" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebDatabase(QWebDatabasePrivate *priv)"> | |
| + <parameter left="QWebDatabasePrivate *" right="" name="priv" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="displayName" fullname="QWebDatabase::displayName" href="qwebdatabase.html#displayName" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="41" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString displayName() const"/> | |
| + <function threadsafety="unspecified" name="expectedSize" fullname="QWebDatabase::expectedSize" href="qwebdatabase.html#expectedSize" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="42" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="qint64" signature="qint64 expectedSize() const"/> | |
| + <function threadsafety="unspecified" name="fileName" fullname="QWebDatabase::fileName" href="qwebdatabase.html#fileName" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="44" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString fileName() const"/> | |
| + <function threadsafety="unspecified" name="name" fullname="QWebDatabase::name" href="qwebdatabase.html#name" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="40" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString name() const"/> | |
| + <function threadsafety="unspecified" name="operator=" fullname="QWebDatabase::operator=" href="qwebdatabase.html#operator-eq" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="37" virtual="non" meta="copy-assign" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebDatabase &" signature="QWebDatabase & operator=(const QWebDatabase &other)"> | |
| + <parameter left="const QWebDatabase &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="origin" fullname="QWebDatabase::origin" href="qwebdatabase.html#origin" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="45" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebSecurityOrigin" signature="QWebSecurityOrigin origin() const"/> | |
| + <function threadsafety="unspecified" name="removeAllDatabases" fullname="QWebDatabase::removeAllDatabases" href="qwebdatabase.html#removeAllDatabases" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="48" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void removeAllDatabases()"/> | |
| + <function threadsafety="unspecified" name="removeDatabase" fullname="QWebDatabase::removeDatabase" href="qwebdatabase.html#removeDatabase" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="47" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void removeDatabase(const QWebDatabase &db)"> | |
| + <parameter left="const QWebDatabase &" right="" name="db" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="size" fullname="QWebDatabase::size" href="qwebdatabase.html#size" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="43" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="qint64" signature="qint64 size() const"/> | |
| + <function threadsafety="unspecified" name="~QWebDatabase" fullname="QWebDatabase::~QWebDatabase" href="qwebdatabase.html#dtor.QWebDatabase" status="active" access="public" location="qwebdatabase.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebdatabase.h" lineno="38" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebDatabase()"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QWebElement" href="qwebelement.html" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="43" since="4.6" module="QtWebKit" brief="Convenient access to DOM elements in a QWebFrame"> | |
| + <contents name="examples" title="Examples" level="1"/> | |
| + <function threadsafety="unspecified" name="operator!=" fullname="QWebElement::operator!=" href="qwebelement.html#operator-not-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="51" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator!=(const QWebElement &o) const"> | |
| + <parameter left="const QWebElement &" right="" name="o" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator==" fullname="QWebElement::operator==" href="qwebelement.html#operator-eq-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="50" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator==(const QWebElement &o) const"> | |
| + <parameter left="const QWebElement &" right="" name="o" default=""/> | |
| + </function> | |
| + <enum threadsafety="unspecified" name="StyleResolveStrategy" fullname="QWebElement::StyleResolveStrategy" href="qwebelement.html#StyleResolveStrategy-enum" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="135"> | |
| + <value name="InlineStyle" value="0"/> | |
| + <value name="CascadedStyle" value="1"/> | |
| + <value name="ComputedStyle" value="2"/> | |
| + </enum> | |
| + <function threadsafety="unspecified" name="QWebElement" fullname="QWebElement::QWebElement" href="qwebelement.html#QWebElement" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="45" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElement()"/> | |
| + <function threadsafety="unspecified" name="QWebElement" fullname="QWebElement::QWebElement" href="qwebelement.html#QWebElement-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="46" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElement(const QWebElement &other)"> | |
| + <parameter left="const QWebElement &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebElement" fullname="QWebElement::QWebElement" href="qwebelement.html#QWebElement-3" status="internal" access="private" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="148" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElement(WebCore::Node *node)"> | |
| + <parameter left="WebCore::Node *" right="" name="node" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebElement" fullname="QWebElement::QWebElement" href="qwebelement.html#QWebElement-2" status="internal" access="private" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="147" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElement(WebCore::Element *domElement)"> | |
| + <parameter left="WebCore::Element *" right="" name="domElement" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="addClass" fullname="QWebElement::addClass" href="qwebelement.html#addClass" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="80" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void addClass(const QString &name)"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="appendInside" fullname="QWebElement::appendInside" href="qwebelement.html#appendInside" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="104" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void appendInside(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="appendInside" fullname="QWebElement::appendInside" href="qwebelement.html#appendInside-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="105" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void appendInside(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="appendOutside" fullname="QWebElement::appendOutside" href="qwebelement.html#appendOutside" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="112" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void appendOutside(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="appendOutside" fullname="QWebElement::appendOutside" href="qwebelement.html#appendOutside-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="113" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void appendOutside(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="attribute" fullname="QWebElement::attribute" href="qwebelement.html#attribute" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="69" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString attribute(const QString &name, const QString &defaultValue) const"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + <parameter left="const QString &" right="" name="defaultValue" default="QString()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="attributeNS" fullname="QWebElement::attributeNS" href="qwebelement.html#attributeNS" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="70" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString attributeNS(const QString &namespaceUri, const QString &name, const QString &defaultValue) const"> | |
| + <parameter left="const QString &" right="" name="namespaceUri" default=""/> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + <parameter left="const QString &" right="" name="defaultValue" default="QString()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="attributeNames" fullname="QWebElement::attributeNames" href="qwebelement.html#attributeNames" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="76" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QStringList" signature="QStringList attributeNames(const QString &namespaceUri) const"> | |
| + <parameter left="const QString &" right="" name="namespaceUri" default="QString()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="classes" fullname="QWebElement::classes" href="qwebelement.html#classes" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="78" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QStringList" signature="QStringList classes() const"/> | |
| + <function threadsafety="unspecified" name="clone" fullname="QWebElement::clone" href="qwebelement.html#clone" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="128" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement clone() const"/> | |
| + <function threadsafety="unspecified" name="document" fullname="QWebElement::document" href="qwebelement.html#document" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="99" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement document() const"/> | |
| + <function threadsafety="unspecified" name="encloseContentsWith" fullname="QWebElement::encloseContentsWith" href="qwebelement.html#encloseContentsWith-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="121" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void encloseContentsWith(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="encloseContentsWith" fullname="QWebElement::encloseContentsWith" href="qwebelement.html#encloseContentsWith" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="120" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void encloseContentsWith(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="encloseWith" fullname="QWebElement::encloseWith" href="qwebelement.html#encloseWith" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="122" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void encloseWith(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="encloseWith" fullname="QWebElement::encloseWith" href="qwebelement.html#encloseWith-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="123" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void encloseWith(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="enclosingElement" fullname="QWebElement::enclosingElement" href="qwebelement.html#enclosingElement" status="internal" access="private" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="150" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement enclosingElement(WebCore::Node *node)"> | |
| + <parameter left="WebCore::Node *" right="" name="node" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="evaluateJavaScript" fullname="QWebElement::evaluateJavaScript" href="qwebelement.html#evaluateJavaScript" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="133" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QVariant" signature="QVariant evaluateJavaScript(const QString &scriptSource)"> | |
| + <parameter left="const QString &" right="" name="scriptSource" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="findAll" fullname="QWebElement::findAll" href="qwebelement.html#findAll" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="55" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElementCollection" signature="QWebElementCollection findAll(const QString &selectorQuery) const"> | |
| + <parameter left="const QString &" right="" name="selectorQuery" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="findFirst" fullname="QWebElement::findFirst" href="qwebelement.html#findFirst" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="56" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement findFirst(const QString &selectorQuery) const"> | |
| + <parameter left="const QString &" right="" name="selectorQuery" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="firstChild" fullname="QWebElement::firstChild" href="qwebelement.html#firstChild" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="95" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement firstChild() const"/> | |
| + <function threadsafety="unspecified" name="geometry" fullname="QWebElement::geometry" href="qwebelement.html#geometry" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="87" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QRect" signature="QRect geometry() const"/> | |
| + <function threadsafety="unspecified" name="hasAttribute" fullname="QWebElement::hasAttribute" href="qwebelement.html#hasAttribute" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="71" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool hasAttribute(const QString &name) const"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="hasAttributeNS" fullname="QWebElement::hasAttributeNS" href="qwebelement.html#hasAttributeNS" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="72" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool hasAttributeNS(const QString &namespaceUri, const QString &name) const"> | |
| + <parameter left="const QString &" right="" name="namespaceUri" default=""/> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="hasAttributes" fullname="QWebElement::hasAttributes" href="qwebelement.html#hasAttributes" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="75" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool hasAttributes() const"/> | |
| + <function threadsafety="unspecified" name="hasClass" fullname="QWebElement::hasClass" href="qwebelement.html#hasClass" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="79" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool hasClass(const QString &name) const"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="hasFocus" fullname="QWebElement::hasFocus" href="qwebelement.html#hasFocus" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="84" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool hasFocus() const"/> | |
| + <function threadsafety="unspecified" name="isNull" fullname="QWebElement::isNull" href="qwebelement.html#isNull" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="53" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool isNull() const"/> | |
| + <function threadsafety="unspecified" name="lastChild" fullname="QWebElement::lastChild" href="qwebelement.html#lastChild" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="96" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement lastChild() const"/> | |
| + <function threadsafety="unspecified" name="localName" fullname="QWebElement::localName" href="qwebelement.html#localName" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="91" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString localName() const"/> | |
| + <function threadsafety="unspecified" name="namespaceUri" fullname="QWebElement::namespaceUri" href="qwebelement.html#namespaceUri" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="92" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString namespaceUri() const"/> | |
| + <function threadsafety="unspecified" name="nextSibling" fullname="QWebElement::nextSibling" href="qwebelement.html#nextSibling" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="97" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement nextSibling() const"/> | |
| + <function threadsafety="unspecified" name="operator=" fullname="QWebElement::operator=" href="qwebelement.html#operator-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="47" virtual="non" meta="copy-assign" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement &" signature="QWebElement & operator=(const QWebElement &other)"> | |
| + <parameter left="const QWebElement &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="parent" fullname="QWebElement::parent" href="qwebelement.html#parent" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="94" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement parent() const"/> | |
| + <function threadsafety="unspecified" name="prefix" fullname="QWebElement::prefix" href="qwebelement.html#prefix" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="90" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString prefix() const"/> | |
| + <function threadsafety="unspecified" name="prependInside" fullname="QWebElement::prependInside" href="qwebelement.html#prependInside" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="108" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void prependInside(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="prependInside" fullname="QWebElement::prependInside" href="qwebelement.html#prependInside-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="109" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void prependInside(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="prependOutside" fullname="QWebElement::prependOutside" href="qwebelement.html#prependOutside" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="116" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void prependOutside(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="prependOutside" fullname="QWebElement::prependOutside" href="qwebelement.html#prependOutside-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="117" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void prependOutside(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="previousSibling" fullname="QWebElement::previousSibling" href="qwebelement.html#previousSibling" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="98" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement previousSibling() const"/> | |
| + <function threadsafety="unspecified" name="removeAllChildren" fullname="QWebElement::removeAllChildren" href="qwebelement.html#removeAllChildren" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="131" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void removeAllChildren()"/> | |
| + <function threadsafety="unspecified" name="removeAttribute" fullname="QWebElement::removeAttribute" href="qwebelement.html#removeAttribute" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="73" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void removeAttribute(const QString &name)"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="removeAttributeNS" fullname="QWebElement::removeAttributeNS" href="qwebelement.html#removeAttributeNS" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="74" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void removeAttributeNS(const QString &namespaceUri, const QString &name)"> | |
| + <parameter left="const QString &" right="" name="namespaceUri" default=""/> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="removeClass" fullname="QWebElement::removeClass" href="qwebelement.html#removeClass" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="81" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void removeClass(const QString &name)"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="removeFromDocument" fullname="QWebElement::removeFromDocument" href="qwebelement.html#removeFromDocument" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="130" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void removeFromDocument()"/> | |
| + <function threadsafety="unspecified" name="render" fullname="QWebElement::render" href="qwebelement.html#render" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="143" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void render(QPainter *painter)"> | |
| + <parameter left="QPainter *" right="" name="painter" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="render" fullname="QWebElement::render" href="qwebelement.html#render-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="144" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void render(QPainter *painter, const QRect &clip)"> | |
| + <parameter left="QPainter *" right="" name="painter" default=""/> | |
| + <parameter left="const QRect &" right="" name="clip" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="replace" fullname="QWebElement::replace" href="qwebelement.html#replace" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="125" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void replace(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="replace" fullname="QWebElement::replace" href="qwebelement.html#replace-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="126" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void replace(const QWebElement &element)"> | |
| + <parameter left="const QWebElement &" right="" name="element" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setAttribute" fullname="QWebElement::setAttribute" href="qwebelement.html#setAttribute" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="67" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setAttribute(const QString &name, const QString &value)"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + <parameter left="const QString &" right="" name="value" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setAttributeNS" fullname="QWebElement::setAttributeNS" href="qwebelement.html#setAttributeNS" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="68" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setAttributeNS(const QString &namespaceUri, const QString &name, const QString &value)"> | |
| + <parameter left="const QString &" right="" name="namespaceUri" default=""/> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + <parameter left="const QString &" right="" name="value" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setFocus" fullname="QWebElement::setFocus" href="qwebelement.html#setFocus" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="85" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setFocus()"/> | |
| + <function threadsafety="unspecified" name="setInnerXml" fullname="QWebElement::setInnerXml" href="qwebelement.html#setInnerXml" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="64" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setInnerXml(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setOuterXml" fullname="QWebElement::setOuterXml" href="qwebelement.html#setOuterXml" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="61" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setOuterXml(const QString &markup)"> | |
| + <parameter left="const QString &" right="" name="markup" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setPlainText" fullname="QWebElement::setPlainText" href="qwebelement.html#setPlainText" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="58" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setPlainText(const QString &text)"> | |
| + <parameter left="const QString &" right="" name="text" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setStyleProperty" fullname="QWebElement::setStyleProperty" href="qwebelement.html#setStyleProperty" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="141" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setStyleProperty(const QString &name, const QString &value)"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + <parameter left="const QString &" right="" name="value" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="styleProperty" fullname="QWebElement::styleProperty" href="qwebelement.html#styleProperty" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="140" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString styleProperty(const QString &name, StyleResolveStrategy strategy) const"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + <parameter left="StyleResolveStrategy" right="" name="strategy" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="tagName" fullname="QWebElement::tagName" href="qwebelement.html#tagName" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="89" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString tagName() const"/> | |
| + <function threadsafety="unspecified" name="takeFromDocument" fullname="QWebElement::takeFromDocument" href="qwebelement.html#takeFromDocument" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="129" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement &" signature="QWebElement & takeFromDocument()"/> | |
| + <function threadsafety="unspecified" name="toInnerXml" fullname="QWebElement::toInnerXml" href="qwebelement.html#toInnerXml" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="65" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString toInnerXml() const"/> | |
| + <function threadsafety="unspecified" name="toOuterXml" fullname="QWebElement::toOuterXml" href="qwebelement.html#toOuterXml" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="62" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString toOuterXml() const"/> | |
| + <function threadsafety="unspecified" name="toPlainText" fullname="QWebElement::toPlainText" href="qwebelement.html#toPlainText" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="59" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString toPlainText() const"/> | |
| + <function threadsafety="unspecified" name="toggleClass" fullname="QWebElement::toggleClass" href="qwebelement.html#toggleClass" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="82" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void toggleClass(const QString &name)"> | |
| + <parameter left="const QString &" right="" name="name" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="webFrame" fullname="QWebElement::webFrame" href="qwebelement.html#webFrame" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="100" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebFrame *" signature="QWebFrame * webFrame() const"/> | |
| + <function threadsafety="unspecified" name="~QWebElement" fullname="QWebElement::~QWebElement" href="qwebelement.html#dtor.QWebElement" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="48" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebElement()"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QWebElementCollection" href="qwebelementcollection.html" status="preliminary" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="167" since="4.6" module="QtWebKit" brief="Represents a collection of web elements"> | |
| + <class threadsafety="unspecified" name="const_iterator" fullname="QWebElementCollection::const_iterator" href="qwebelementcollection-const-iterator.html" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="193" since="4.6" module="QtWebKit" brief="QWebElementCollection::const_iterator class provides an STL-style const iterator for QWebElementCollection"> | |
| + <function threadsafety="unspecified" name="const_iterator" fullname="QWebElementCollection::const_iterator::const_iterator" href="qwebelementcollection-const-iterator.html#const_iterator" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="196" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="const_iterator(const const_iterator &other)"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="const_iterator" fullname="QWebElementCollection::const_iterator::const_iterator" href="qwebelementcollection-const-iterator.html#const_iterator-1" status="internal" access="private" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="195" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="const_iterator(const QWebElementCollection *collection, int index)"> | |
| + <parameter left="const QWebElementCollection *" right="" name="collection" default=""/> | |
| + <parameter left="int" right="" name="index" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator!=" fullname="QWebElementCollection::const_iterator::operator!=" href="qwebelementcollection-const-iterator.html#operator-not-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="201" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator!=(const const_iterator &other) const"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator*" fullname="QWebElementCollection::const_iterator::operator*" href="qwebelementcollection-const-iterator.html#operator-2a" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="198" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const QWebElement" signature="const QWebElement operator*() const"/> | |
| + <function threadsafety="unspecified" name="operator+" fullname="QWebElementCollection::const_iterator::operator+" href="qwebelementcollection-const-iterator.html#operator-2b" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="213" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator" signature="const_iterator operator+(int j) const"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator++" fullname="QWebElementCollection::const_iterator::operator++" href="qwebelementcollection-const-iterator.html#operator-2b-2b" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="207" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator &" signature="const_iterator & operator++()"/> | |
| + <function threadsafety="unspecified" name="operator++" fullname="QWebElementCollection::const_iterator::operator++" href="qwebelementcollection-const-iterator.html#operator-2b-2b-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="208" virtual="non" meta="plain" const="false" static="false" overload="true" delete="false" default="false" final="false" overload-number="1" type="const_iterator" signature="const_iterator operator++(int )"> | |
| + <parameter left="int" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator+=" fullname="QWebElementCollection::const_iterator::operator+=" href="qwebelementcollection-const-iterator.html#operator-2b-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="211" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator &" signature="const_iterator & operator+=(int j)"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator-" fullname="QWebElementCollection::const_iterator::operator-" href="qwebelementcollection-const-iterator.html#operator-" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="214" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator" signature="const_iterator operator-(int j) const"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator-" fullname="QWebElementCollection::const_iterator::operator-" href="qwebelementcollection-const-iterator.html#operator--1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="215" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int operator-(const_iterator other) const"> | |
| + <parameter left="const_iterator" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator--" fullname="QWebElementCollection::const_iterator::operator--" href="qwebelementcollection-const-iterator.html#operator--" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="209" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator &" signature="const_iterator & operator--()"/> | |
| + <function threadsafety="unspecified" name="operator--" fullname="QWebElementCollection::const_iterator::operator--" href="qwebelementcollection-const-iterator.html#operator---1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="210" virtual="non" meta="plain" const="false" static="false" overload="true" delete="false" default="false" final="false" overload-number="1" type="const_iterator" signature="const_iterator operator--(int )"> | |
| + <parameter left="int" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator-=" fullname="QWebElementCollection::const_iterator::operator-=" href="qwebelementcollection-const-iterator.html#operator--eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="212" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator &" signature="const_iterator & operator-=(int j)"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator<" fullname="QWebElementCollection::const_iterator::operator<" href="qwebelementcollection-const-iterator.html#operator-lt" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="202" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator<(const const_iterator &other) const"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator<=" fullname="QWebElementCollection::const_iterator::operator<=" href="qwebelementcollection-const-iterator.html#operator-lt-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="203" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator<=(const const_iterator &other) const"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator==" fullname="QWebElementCollection::const_iterator::operator==" href="qwebelementcollection-const-iterator.html#operator-eq-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="200" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator==(const const_iterator &other) const"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator>" fullname="QWebElementCollection::const_iterator::operator>" href="qwebelementcollection-const-iterator.html#operator-gt" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="204" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator>(const const_iterator &other) const"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator>=" fullname="QWebElementCollection::const_iterator::operator>=" href="qwebelementcollection-const-iterator.html#operator-gt-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="205" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator>=(const const_iterator &other) const"> | |
| + <parameter left="const const_iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + </class> | |
| + <class threadsafety="unspecified" name="iterator" fullname="QWebElementCollection::iterator" href="qwebelementcollection-iterator.html" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="227" since="4.6" module="QtWebKit" brief="QWebElementCollection::iterator class provides an STL-style iterator for QWebElementCollection"> | |
| + <function threadsafety="unspecified" name="iterator" fullname="QWebElementCollection::iterator::iterator" href="qwebelementcollection-iterator.html#iterator" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="230" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="iterator(const iterator &other)"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="iterator" fullname="QWebElementCollection::iterator::iterator" href="qwebelementcollection-iterator.html#iterator-1" status="internal" access="private" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="229" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="iterator(const QWebElementCollection *collection, int index)"> | |
| + <parameter left="const QWebElementCollection *" right="" name="collection" default=""/> | |
| + <parameter left="int" right="" name="index" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator!=" fullname="QWebElementCollection::iterator::operator!=" href="qwebelementcollection-iterator.html#operator-not-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="235" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator!=(const iterator &other) const"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator*" fullname="QWebElementCollection::iterator::operator*" href="qwebelementcollection-iterator.html#operator-2a" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="232" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement operator*() const"/> | |
| + <function threadsafety="unspecified" name="operator+" fullname="QWebElementCollection::iterator::operator+" href="qwebelementcollection-iterator.html#operator-2b" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="247" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="iterator" signature="iterator operator+(int j) const"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator++" fullname="QWebElementCollection::iterator::operator++" href="qwebelementcollection-iterator.html#operator-2b-2b" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="241" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="iterator &" signature="iterator & operator++()"/> | |
| + <function threadsafety="unspecified" name="operator++" fullname="QWebElementCollection::iterator::operator++" href="qwebelementcollection-iterator.html#operator-2b-2b-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="242" virtual="non" meta="plain" const="false" static="false" overload="true" delete="false" default="false" final="false" overload-number="1" type="iterator" signature="iterator operator++(int )"> | |
| + <parameter left="int" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator+=" fullname="QWebElementCollection::iterator::operator+=" href="qwebelementcollection-iterator.html#operator-2b-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="245" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="iterator &" signature="iterator & operator+=(int j)"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator-" fullname="QWebElementCollection::iterator::operator-" href="qwebelementcollection-iterator.html#operator--1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="249" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int operator-(iterator other) const"> | |
| + <parameter left="iterator" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator-" fullname="QWebElementCollection::iterator::operator-" href="qwebelementcollection-iterator.html#operator-" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="248" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="iterator" signature="iterator operator-(int j) const"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator--" fullname="QWebElementCollection::iterator::operator--" href="qwebelementcollection-iterator.html#operator--" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="243" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="iterator &" signature="iterator & operator--()"/> | |
| + <function threadsafety="unspecified" name="operator--" fullname="QWebElementCollection::iterator::operator--" href="qwebelementcollection-iterator.html#operator---1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="244" virtual="non" meta="plain" const="false" static="false" overload="true" delete="false" default="false" final="false" overload-number="1" type="iterator" signature="iterator operator--(int )"> | |
| + <parameter left="int" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator-=" fullname="QWebElementCollection::iterator::operator-=" href="qwebelementcollection-iterator.html#operator--eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="246" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="iterator &" signature="iterator & operator-=(int j)"> | |
| + <parameter left="int" right="" name="j" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator<" fullname="QWebElementCollection::iterator::operator<" href="qwebelementcollection-iterator.html#operator-lt" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="236" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator<(const iterator &other) const"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator<=" fullname="QWebElementCollection::iterator::operator<=" href="qwebelementcollection-iterator.html#operator-lt-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="237" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator<=(const iterator &other) const"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator==" fullname="QWebElementCollection::iterator::operator==" href="qwebelementcollection-iterator.html#operator-eq-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="234" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator==(const iterator &other) const"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator>" fullname="QWebElementCollection::iterator::operator>" href="qwebelementcollection-iterator.html#operator-gt" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="238" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator>(const iterator &other) const"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator>=" fullname="QWebElementCollection::iterator::operator>=" href="qwebelementcollection-iterator.html#operator-gt-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="239" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator>=(const iterator &other) const"> | |
| + <parameter left="const iterator &" right="" name="other" default=""/> | |
| + </function> | |
| + </class> | |
| + <function threadsafety="unspecified" name="QWebElementCollection" fullname="QWebElementCollection::QWebElementCollection" href="qwebelementcollection.html#QWebElementCollection" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="170" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElementCollection()"/> | |
| + <function threadsafety="unspecified" name="QWebElementCollection" fullname="QWebElementCollection::QWebElementCollection" href="qwebelementcollection.html#QWebElementCollection-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="171" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElementCollection(const QWebElement &contextElement, const QString &query)"> | |
| + <parameter left="const QWebElement &" right="" name="contextElement" default=""/> | |
| + <parameter left="const QString &" right="" name="query" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebElementCollection" fullname="QWebElementCollection::QWebElementCollection" href="qwebelementcollection.html#QWebElementCollection-2" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="172" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebElementCollection(const QWebElementCollection &other)"> | |
| + <parameter left="const QWebElementCollection &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="append" fullname="QWebElementCollection::append" href="qwebelementcollection.html#append" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="182" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void append(const QWebElementCollection &other)"> | |
| + <parameter left="const QWebElementCollection &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="at" fullname="QWebElementCollection::at" href="qwebelementcollection.html#at" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="185" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement at(int i) const"> | |
| + <parameter left="int" right="" name="i" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="begin" fullname="QWebElementCollection::begin" href="qwebelementcollection.html#begin-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="256" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="iterator" signature="iterator begin()"/> | |
| + <function threadsafety="unspecified" name="begin" fullname="QWebElementCollection::begin" href="qwebelementcollection.html#begin" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="222" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator" signature="const_iterator begin() const"/> | |
| + <function threadsafety="unspecified" name="constBegin" fullname="QWebElementCollection::constBegin" href="qwebelementcollection.html#constBegin" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="224" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator" signature="const_iterator constBegin() const"/> | |
| + <function threadsafety="unspecified" name="constEnd" fullname="QWebElementCollection::constEnd" href="qwebelementcollection.html#constEnd" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="225" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator" signature="const_iterator constEnd() const"/> | |
| + <function threadsafety="unspecified" name="count" fullname="QWebElementCollection::count" href="qwebelementcollection.html#count" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="184" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int count() const"/> | |
| + <function threadsafety="unspecified" name="end" fullname="QWebElementCollection::end" href="qwebelementcollection.html#end-1" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="257" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="iterator" signature="iterator end()"/> | |
| + <function threadsafety="unspecified" name="end" fullname="QWebElementCollection::end" href="qwebelementcollection.html#end" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="223" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="const_iterator" signature="const_iterator end() const"/> | |
| + <function threadsafety="unspecified" name="first" fullname="QWebElementCollection::first" href="qwebelementcollection.html#first" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="188" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement first() const"/> | |
| + <function threadsafety="unspecified" name="last" fullname="QWebElementCollection::last" href="qwebelementcollection.html#last" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="189" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement last() const"/> | |
| + <function threadsafety="unspecified" name="operator+" fullname="QWebElementCollection::operator+" href="qwebelementcollection.html#operator-2b" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="176" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElementCollection" signature="QWebElementCollection operator+(const QWebElementCollection &other) const"> | |
| + <parameter left="const QWebElementCollection &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator+=" fullname="QWebElementCollection::operator+=" href="qwebelementcollection.html#operator-2b-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="177" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebElementCollection &" signature="QWebElementCollection & operator+=(const QWebElementCollection &other)"> | |
| + <parameter left="const QWebElementCollection &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator=" fullname="QWebElementCollection::operator=" href="qwebelementcollection.html#operator-eq" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="173" virtual="non" meta="copy-assign" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebElementCollection &" signature="QWebElementCollection & operator=(const QWebElementCollection &other)"> | |
| + <parameter left="const QWebElementCollection &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator[]" fullname="QWebElementCollection::operator[]" href="qwebelementcollection.html#operator-5b-5d" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="186" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebElement" signature="QWebElement operator[](int position) const"> | |
| + <parameter left="int" right="" name="position" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="toList" fullname="QWebElementCollection::toList" href="qwebelementcollection.html#toList" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="191" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QList<QWebElement>" signature="QList<QWebElement> toList() const"/> | |
| + <function threadsafety="unspecified" name="~QWebElementCollection" fullname="QWebElementCollection::~QWebElementCollection" href="qwebelementcollection.html#dtor.QWebElementCollection" status="active" access="public" location="qwebelement.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebelement.h" lineno="174" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebElementCollection()"/> | |
| + </class> | |
| + <function threadsafety="unspecified" name="operator<<" href="qwebhistory.html#operator-lt-lt" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="113" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" relates="QWebHistory" type="QDataStream &" brief="Streams a history into a data stream" signature="QDataStream & operator<<(QDataStream &stream, const QWebHistory &history)"> | |
| + <parameter left="QDataStream &" right="" name="stream" default=""/> | |
| + <parameter left="const QWebHistory &" right="" name="history" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator>>" href="qwebhistory.html#operator-gt-gt" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="114" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" relates="QWebHistory" type="QDataStream &" brief="Loads a history from a data stream" signature="QDataStream & operator>>(QDataStream &stream, QWebHistory &history)"> | |
| + <parameter left="QDataStream &" right="" name="stream" default=""/> | |
| + <parameter left="QWebHistory &" right="" name="history" default=""/> | |
| + </function> | |
| + <class threadsafety="unspecified" name="QWebHistory" href="qwebhistory.html" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="72" since="4.4" module="QtWebKit" brief="Represents the history of a QWebPage"> | |
| + <function threadsafety="unspecified" name="~QWebHistory" fullname="QWebHistory::~QWebHistory" href="qwebhistory.html#dtor.QWebHistory" status="active" access="private" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="101" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebHistory()"/> | |
| + <function threadsafety="unspecified" name="QWebHistory" fullname="QWebHistory::QWebHistory" href="qwebhistory.html#QWebHistory" status="active" access="private" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="100" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebHistory()"/> | |
| + <function threadsafety="unspecified" name="back" fullname="QWebHistory::back" href="qwebhistory.html#back" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="83" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void back()"/> | |
| + <function threadsafety="unspecified" name="backItem" fullname="QWebHistory::backItem" href="qwebhistory.html#backItem" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="87" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebHistoryItem" signature="QWebHistoryItem backItem() const"/> | |
| + <function threadsafety="unspecified" name="backItems" fullname="QWebHistory::backItems" href="qwebhistory.html#backItems" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="77" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QList<QWebHistoryItem>" signature="QList<QWebHistoryItem> backItems(int maxItems) const"> | |
| + <parameter left="int" right="" name="maxItems" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="canGoBack" fullname="QWebHistory::canGoBack" href="qwebhistory.html#canGoBack" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="80" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool canGoBack() const"/> | |
| + <function threadsafety="unspecified" name="canGoForward" fullname="QWebHistory::canGoForward" href="qwebhistory.html#canGoForward" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="81" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool canGoForward() const"/> | |
| + <function threadsafety="unspecified" name="clear" fullname="QWebHistory::clear" href="qwebhistory.html#clear" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="74" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void clear()"/> | |
| + <function threadsafety="unspecified" name="count" fullname="QWebHistory::count" href="qwebhistory.html#count" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="94" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int count() const"/> | |
| + <function threadsafety="unspecified" name="currentItem" fullname="QWebHistory::currentItem" href="qwebhistory.html#currentItem" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="88" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebHistoryItem" signature="QWebHistoryItem currentItem() const"/> | |
| + <function threadsafety="unspecified" name="currentItemIndex" fullname="QWebHistory::currentItemIndex" href="qwebhistory.html#currentItemIndex" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="92" since="4.5" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int currentItemIndex() const"/> | |
| + <function threadsafety="unspecified" name="forward" fullname="QWebHistory::forward" href="qwebhistory.html#forward" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="84" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void forward()"/> | |
| + <function threadsafety="unspecified" name="forwardItem" fullname="QWebHistory::forwardItem" href="qwebhistory.html#forwardItem" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="89" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebHistoryItem" signature="QWebHistoryItem forwardItem() const"/> | |
| + <function threadsafety="unspecified" name="forwardItems" fullname="QWebHistory::forwardItems" href="qwebhistory.html#forwardItems" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="78" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QList<QWebHistoryItem>" signature="QList<QWebHistoryItem> forwardItems(int maxItems) const"> | |
| + <parameter left="int" right="" name="maxItems" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="goToItem" fullname="QWebHistory::goToItem" href="qwebhistory.html#goToItem" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="85" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void goToItem(const QWebHistoryItem &item)"> | |
| + <parameter left="const QWebHistoryItem &" right="" name="item" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="itemAt" fullname="QWebHistory::itemAt" href="qwebhistory.html#itemAt" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="90" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebHistoryItem" signature="QWebHistoryItem itemAt(int i) const"> | |
| + <parameter left="int" right="" name="i" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="items" fullname="QWebHistory::items" href="qwebhistory.html#items" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="76" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QList<QWebHistoryItem>" signature="QList<QWebHistoryItem> items() const"/> | |
| + <function threadsafety="unspecified" name="maximumItemCount" fullname="QWebHistory::maximumItemCount" href="qwebhistory.html#maximumItemCount" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="96" since="4.5" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int maximumItemCount() const"/> | |
| + <function threadsafety="unspecified" name="setMaximumItemCount" fullname="QWebHistory::setMaximumItemCount" href="qwebhistory.html#setMaximumItemCount" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="97" since="4.5" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setMaximumItemCount(int count)"> | |
| + <parameter left="int" right="" name="count" default=""/> | |
| + </function> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QWebHistoryItem" href="qwebhistoryitem.html" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="39" since="4.4" module="QtWebKit" brief="Represents one item in the history of a QWebPage"> | |
| + <function threadsafety="unspecified" name="QWebHistoryItem" fullname="QWebHistoryItem::QWebHistoryItem" href="qwebhistoryitem.html#QWebHistoryItem" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="41" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebHistoryItem(const QWebHistoryItem &other)"> | |
| + <parameter left="const QWebHistoryItem &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebHistoryItem" fullname="QWebHistoryItem::QWebHistoryItem" href="qwebhistoryitem.html#QWebHistoryItem-1" status="internal" access="private" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="59" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebHistoryItem(QWebHistoryItemPrivate *priv)"> | |
| + <parameter left="QWebHistoryItemPrivate *" right="" name="priv" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="icon" fullname="QWebHistoryItem::icon" href="qwebhistoryitem.html#icon" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="51" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QIcon" signature="QIcon icon() const"/> | |
| + <function threadsafety="unspecified" name="isValid" fullname="QWebHistoryItem::isValid" href="qwebhistoryitem.html#isValid" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="56" since="4.5" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool isValid() const"/> | |
| + <function threadsafety="unspecified" name="lastVisited" fullname="QWebHistoryItem::lastVisited" href="qwebhistoryitem.html#lastVisited" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="49" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QDateTime" signature="QDateTime lastVisited() const"/> | |
| + <function threadsafety="unspecified" name="operator=" fullname="QWebHistoryItem::operator=" href="qwebhistoryitem.html#operator-eq" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="42" virtual="non" meta="copy-assign" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebHistoryItem &" signature="QWebHistoryItem & operator=(const QWebHistoryItem &other)"> | |
| + <parameter left="const QWebHistoryItem &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="originalUrl" fullname="QWebHistoryItem::originalUrl" href="qwebhistoryitem.html#originalUrl" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="45" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QUrl" signature="QUrl originalUrl() const"/> | |
| + <function threadsafety="unspecified" name="setUserData" fullname="QWebHistoryItem::setUserData" href="qwebhistoryitem.html#setUserData" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="54" since="4.5" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setUserData(const QVariant &userData)"> | |
| + <parameter left="const QVariant &" right="" name="userData" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="title" fullname="QWebHistoryItem::title" href="qwebhistoryitem.html#title" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="48" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString title() const"/> | |
| + <function threadsafety="unspecified" name="url" fullname="QWebHistoryItem::url" href="qwebhistoryitem.html#url" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="46" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QUrl" signature="QUrl url() const"/> | |
| + <function threadsafety="unspecified" name="userData" fullname="QWebHistoryItem::userData" href="qwebhistoryitem.html#userData" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="53" since="4.5" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QVariant" signature="QVariant userData() const"/> | |
| + <function threadsafety="unspecified" name="~QWebHistoryItem" fullname="QWebHistoryItem::~QWebHistoryItem" href="qwebhistoryitem.html#dtor.QWebHistoryItem" status="active" access="public" location="qwebhistory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistory.h" lineno="43" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebHistoryItem()"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QWebHistoryInterface" href="qwebhistoryinterface.html" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="29" since="4.4" module="QtWebKit" brief="Interface to implement link history"> | |
| + <function threadsafety="unspecified" name="QWebHistoryInterface" fullname="QWebHistoryInterface::QWebHistoryInterface" href="qwebhistoryinterface.html#QWebHistoryInterface" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="32" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebHistoryInterface(QObject *parent)"> | |
| + <parameter left="QObject *" right="" name="parent" default="Q_NULLPTR"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="addHistoryEntry" fullname="QWebHistoryInterface::addHistoryEntry" href="qwebhistoryinterface.html#addHistoryEntry" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="39" virtual="pure" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void addHistoryEntry(const QString &url) = 0"> | |
| + <parameter left="const QString &" right="" name="url" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="defaultInterface" fullname="QWebHistoryInterface::defaultInterface" href="qwebhistoryinterface.html#defaultInterface" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="36" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QWebHistoryInterface *" signature="QWebHistoryInterface * defaultInterface()"/> | |
| + <function threadsafety="unspecified" name="historyContains" fullname="QWebHistoryInterface::historyContains" href="qwebhistoryinterface.html#historyContains" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="38" virtual="pure" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool historyContains(const QString &url) const = 0"> | |
| + <parameter left="const QString &" right="" name="url" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setDefaultInterface" fullname="QWebHistoryInterface::setDefaultInterface" href="qwebhistoryinterface.html#setDefaultInterface" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="35" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setDefaultInterface(QWebHistoryInterface *defaultInterface)"> | |
| + <parameter left="QWebHistoryInterface *" right="" name="defaultInterface" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="~QWebHistoryInterface" fullname="QWebHistoryInterface::~QWebHistoryInterface" href="qwebhistoryinterface.html#dtor.QWebHistoryInterface" status="active" access="public" location="qwebhistoryinterface.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebhistoryinterface.h" lineno="33" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebHistoryInterface()"/> | |
| + </class> | |
| + <function threadsafety="unspecified" name="qWebKitMajorVersion" href="qwebpage.html#qWebKitMajorVersion" status="active" access="public" location="qwebkitglobal.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebkitglobal.h" lineno="44" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" relates="QWebPage" type="int" signature="int qWebKitMajorVersion()"/> | |
| + <function threadsafety="unspecified" name="qWebKitMinorVersion" href="qwebpage.html#qWebKitMinorVersion" status="active" access="public" location="qwebkitglobal.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebkitglobal.h" lineno="45" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" relates="QWebPage" type="int" signature="int qWebKitMinorVersion()"/> | |
| + <function threadsafety="unspecified" name="qWebKitVersion" href="qwebpage.html#qWebKitVersion" status="active" access="public" location="qwebkitglobal.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebkitglobal.h" lineno="43" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" relates="QWebPage" type="QString" signature="QString qWebKitVersion()"/> | |
| + <class threadsafety="unspecified" name="QWebPluginFactory" href="qwebpluginfactory.html" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="34" since="4.4" module="QtWebKit" brief="Used to embed custom data types in web pages"> | |
| + <class threadsafety="unspecified" name="ExtensionOption" fullname="QWebPluginFactory::ExtensionOption" href="qwebpluginfactory-extensionoption.html" status="internal" access="private" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="61" since="4.4" module="QtWebKit" brief="Extended input argument to QWebPluginFactory's extension support"/> | |
| + <class threadsafety="unspecified" name="MimeType" fullname="QWebPluginFactory::MimeType" href="qwebpluginfactory-mimetype.html" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="37" since="4.4" module="QtWebKit" brief="QWebPluginFactory::MimeType structure describes a mime type supported by a plugin"> | |
| + <function threadsafety="unspecified" name="operator!=" fullname="QWebPluginFactory::MimeType::operator!=" href="qwebpluginfactory-mimetype.html#operator-not-eq" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="42" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator!=(const MimeType &other) const"> | |
| + <parameter left="const MimeType &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="operator==" fullname="QWebPluginFactory::MimeType::operator==" href="qwebpluginfactory-mimetype.html#operator-eq-eq" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="41" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool operator==(const MimeType &other) const"> | |
| + <parameter left="const MimeType &" right="" name="other" default=""/> | |
| + </function> | |
| + <variable threadsafety="unspecified" name="description" fullname="QWebPluginFactory::MimeType::description" href="qwebpluginfactory-mimetype.html#description-var" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="39" type="QString" static="false"/> | |
| + <variable threadsafety="unspecified" name="fileExtensions" fullname="QWebPluginFactory::MimeType::fileExtensions" href="qwebpluginfactory-mimetype.html#fileExtensions-var" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="40" type="QStringList" static="false"/> | |
| + <variable threadsafety="unspecified" name="name" fullname="QWebPluginFactory::MimeType::name" href="qwebpluginfactory-mimetype.html#name-var" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="38" type="QString" static="false"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="Plugin" fullname="QWebPluginFactory::Plugin" href="qwebpluginfactory-plugin.html" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="45" since="4.4" module="QtWebKit" brief="QWebPluginFactory::Plugin structure describes the properties of a plugin a QWebPluginFactory can create"> | |
| + <variable threadsafety="unspecified" name="description" fullname="QWebPluginFactory::Plugin::description" href="qwebpluginfactory-plugin.html#description-var" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="47" type="QString" static="false"/> | |
| + <variable threadsafety="unspecified" name="mimeTypes" fullname="QWebPluginFactory::Plugin::mimeTypes" href="qwebpluginfactory-plugin.html#mimeTypes-var" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="48" type="QList<MimeType>" static="false"/> | |
| + <variable threadsafety="unspecified" name="name" fullname="QWebPluginFactory::Plugin::name" href="qwebpluginfactory-plugin.html#name-var" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="46" type="QString" static="false"/> | |
| + </class> | |
| + <enum threadsafety="unspecified" name="Extension" fullname="QWebPluginFactory::Extension" href="qwebpluginfactory.html#Extension-enum" status="internal" access="private" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="59"/> | |
| + <class threadsafety="unspecified" name="ExtensionReturn" fullname="QWebPluginFactory::ExtensionReturn" href="qwebpluginfactory-extensionreturn.html" status="internal" access="private" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="63" since="4.4" module="QtWebKit" brief="ExtensionOption class provides an extended output argument to QWebPluginFactory's extension support"/> | |
| + <function threadsafety="unspecified" name="QWebPluginFactory" fullname="QWebPluginFactory::QWebPluginFactory" href="qwebpluginfactory.html#QWebPluginFactory" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="51" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebPluginFactory(QObject *parent)"> | |
| + <parameter left="QObject *" right="" name="parent" default="Q_NULLPTR"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="create" fullname="QWebPluginFactory::create" href="qwebpluginfactory.html#create" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="57" virtual="pure" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QObject *" signature="QObject * create(const QString &mimeType, const QUrl &url, const QStringList &argumentNames, const QStringList &argumentValues) const = 0"> | |
| + <parameter left="const QString &" right="" name="mimeType" default=""/> | |
| + <parameter left="const QUrl &" right="" name="url" default=""/> | |
| + <parameter left="const QStringList &" right="" name="argumentNames" default=""/> | |
| + <parameter left="const QStringList &" right="" name="argumentValues" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="extension" fullname="QWebPluginFactory::extension" href="qwebpluginfactory.html#extension" status="internal" access="private" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="65" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool extension(Extension extension, const ExtensionOption *option, ExtensionReturn *output)"> | |
| + <parameter left="Extension" right="" name="extension" default=""/> | |
| + <parameter left="const ExtensionOption *" right="" name="option" default="Q_NULLPTR"/> | |
| + <parameter left="ExtensionReturn *" right="" name="output" default="Q_NULLPTR"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="plugins" fullname="QWebPluginFactory::plugins" href="qwebpluginfactory.html#plugins" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="54" virtual="pure" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QList<Plugin>" signature="QList<Plugin> plugins() const = 0"/> | |
| + <function threadsafety="unspecified" name="refreshPlugins" fullname="QWebPluginFactory::refreshPlugins" href="qwebpluginfactory.html#refreshPlugins" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="55" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void refreshPlugins()"/> | |
| + <function threadsafety="unspecified" name="supportsExtension" fullname="QWebPluginFactory::supportsExtension" href="qwebpluginfactory.html#supportsExtension" status="internal" access="private" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="66" virtual="virtual" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool supportsExtension(Extension extension) const"> | |
| + <parameter left="Extension" right="" name="extension" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="~QWebPluginFactory" fullname="QWebPluginFactory::~QWebPluginFactory" href="qwebpluginfactory.html#dtor.QWebPluginFactory" status="active" access="public" location="qwebpluginfactory.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebpluginfactory.h" lineno="52" virtual="virtual" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebPluginFactory()"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QWebSecurityOrigin" href="qwebsecurityorigin.html" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="37" since="4.5" module="QtWebKit" brief="Defines a security boundary for web sites"> | |
| + <function threadsafety="unspecified" name="setApplicationCacheQuota" fullname="QWebSecurityOrigin::setApplicationCacheQuota" href="qwebsecurityorigin.html#setApplicationCacheQuota" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="63" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setApplicationCacheQuota(qint64 quota)"> | |
| + <parameter left="qint64" right="" name="quota" default=""/> | |
| + </function> | |
| + <enum threadsafety="unspecified" name="SubdomainSetting" fullname="QWebSecurityOrigin::SubdomainSetting" href="qwebsecurityorigin.html#SubdomainSetting-enum" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="39"> | |
| + <value name="AllowSubdomains" value="0"/> | |
| + <value name="DisallowSubdomains" value="1"/> | |
| + </enum> | |
| + <function threadsafety="unspecified" name="QWebSecurityOrigin" fullname="QWebSecurityOrigin::QWebSecurityOrigin" href="qwebsecurityorigin.html#QWebSecurityOrigin" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="52" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebSecurityOrigin(const QUrl &url)"> | |
| + <parameter left="const QUrl &" right="" name="url" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebSecurityOrigin" fullname="QWebSecurityOrigin::QWebSecurityOrigin" href="qwebsecurityorigin.html#QWebSecurityOrigin-1" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="67" virtual="non" meta="copy-constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebSecurityOrigin(const QWebSecurityOrigin &other)"> | |
| + <parameter left="const QWebSecurityOrigin &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebSecurityOrigin" fullname="QWebSecurityOrigin::QWebSecurityOrigin" href="qwebsecurityorigin.html#QWebSecurityOrigin-2" status="internal" access="private" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="73" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebSecurityOrigin(QWebSecurityOriginPrivate *priv)"> | |
| + <parameter left="QWebSecurityOriginPrivate *" right="" name="priv" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="addAccessWhitelistEntry" fullname="QWebSecurityOrigin::addAccessWhitelistEntry" href="qwebsecurityorigin.html#addAccessWhitelistEntry" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="49" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void addAccessWhitelistEntry(const QString &scheme, const QString &host, SubdomainSetting subdomainSetting)"> | |
| + <parameter left="const QString &" right="" name="scheme" default=""/> | |
| + <parameter left="const QString &" right="" name="host" default=""/> | |
| + <parameter left="SubdomainSetting" right="" name="subdomainSetting" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="addLocalScheme" fullname="QWebSecurityOrigin::addLocalScheme" href="qwebsecurityorigin.html#addLocalScheme" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="45" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void addLocalScheme(const QString &scheme)"> | |
| + <parameter left="const QString &" right="" name="scheme" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="allOrigins" fullname="QWebSecurityOrigin::allOrigins" href="qwebsecurityorigin.html#allOrigins" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="44" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QList<QWebSecurityOrigin>" signature="QList<QWebSecurityOrigin> allOrigins()"/> | |
| + <function threadsafety="unspecified" name="databaseQuota" fullname="QWebSecurityOrigin::databaseQuota" href="qwebsecurityorigin.html#databaseQuota" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="60" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="qint64" signature="qint64 databaseQuota() const"/> | |
| + <function threadsafety="unspecified" name="databaseUsage" fullname="QWebSecurityOrigin::databaseUsage" href="qwebsecurityorigin.html#databaseUsage" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="59" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="qint64" signature="qint64 databaseUsage() const"/> | |
| + <function threadsafety="unspecified" name="databases" fullname="QWebSecurityOrigin::databases" href="qwebsecurityorigin.html#databases" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="65" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QList<QWebDatabase>" signature="QList<QWebDatabase> databases() const"/> | |
| + <function threadsafety="unspecified" name="host" fullname="QWebSecurityOrigin::host" href="qwebsecurityorigin.html#host" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="56" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString host() const"/> | |
| + <function threadsafety="unspecified" name="localSchemes" fullname="QWebSecurityOrigin::localSchemes" href="qwebsecurityorigin.html#localSchemes" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="47" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QStringList" signature="QStringList localSchemes()"/> | |
| + <function threadsafety="unspecified" name="operator=" fullname="QWebSecurityOrigin::operator=" href="qwebsecurityorigin.html#operator-eq" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="68" virtual="non" meta="copy-assign" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QWebSecurityOrigin &" signature="QWebSecurityOrigin & operator=(const QWebSecurityOrigin &other)"> | |
| + <parameter left="const QWebSecurityOrigin &" right="" name="other" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="port" fullname="QWebSecurityOrigin::port" href="qwebsecurityorigin.html#port" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="57" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int port() const"/> | |
| + <function threadsafety="unspecified" name="removeAccessWhitelistEntry" fullname="QWebSecurityOrigin::removeAccessWhitelistEntry" href="qwebsecurityorigin.html#removeAccessWhitelistEntry" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="50" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void removeAccessWhitelistEntry(const QString &scheme, const QString &host, SubdomainSetting subdomainSetting)"> | |
| + <parameter left="const QString &" right="" name="scheme" default=""/> | |
| + <parameter left="const QString &" right="" name="host" default=""/> | |
| + <parameter left="SubdomainSetting" right="" name="subdomainSetting" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="removeLocalScheme" fullname="QWebSecurityOrigin::removeLocalScheme" href="qwebsecurityorigin.html#removeLocalScheme" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="46" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void removeLocalScheme(const QString &scheme)"> | |
| + <parameter left="const QString &" right="" name="scheme" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="scheme" fullname="QWebSecurityOrigin::scheme" href="qwebsecurityorigin.html#scheme" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="55" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString scheme() const"/> | |
| + <function threadsafety="unspecified" name="setDatabaseQuota" fullname="QWebSecurityOrigin::setDatabaseQuota" href="qwebsecurityorigin.html#setDatabaseQuota" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="62" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setDatabaseQuota(qint64 quota)"> | |
| + <parameter left="qint64" right="" name="quota" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="~QWebSecurityOrigin" fullname="QWebSecurityOrigin::~QWebSecurityOrigin" href="qwebsecurityorigin.html#dtor.QWebSecurityOrigin" status="active" access="public" location="qwebsecurityorigin.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsecurityorigin.h" lineno="53" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebSecurityOrigin()"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QWebSettings" href="qwebsettings.html" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="44" since="4.4" module="QtWebKit" brief="Object to store the settings used by QWebPage and QWebFrame"> | |
| + <contents name="enabling-plugins" title="Enabling Plugins" level="1"/> | |
| + <contents name="web-application-support" title="Web Application Support" level="1"/> | |
| + <function threadsafety="unspecified" name="resetAttribute" fullname="QWebSettings::resetAttribute" href="qwebsettings.html#resetAttribute" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="126" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void resetAttribute(WebAttribute attribute)"> | |
| + <parameter left="WebAttribute" right="" name="attribute" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setAttribute" fullname="QWebSettings::setAttribute" href="qwebsettings.html#setAttribute" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="124" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setAttribute(WebAttribute attribute, bool on)"> | |
| + <parameter left="WebAttribute" right="" name="attribute" default=""/> | |
| + <parameter left="bool" right="" name="on" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="testAttribute" fullname="QWebSettings::testAttribute" href="qwebsettings.html#testAttribute" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="125" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool testAttribute(WebAttribute attribute) const"> | |
| + <parameter left="WebAttribute" right="" name="attribute" default=""/> | |
| + </function> | |
| + <enum threadsafety="unspecified" name="FontFamily" fullname="QWebSettings::FontFamily" href="qwebsettings.html#FontFamily-enum" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="46"> | |
| + <value name="StandardFont" value="0"/> | |
| + <value name="FixedFont" value="1"/> | |
| + <value name="SerifFont" value="2"/> | |
| + <value name="SansSerifFont" value="3"/> | |
| + <value name="CursiveFont" value="4"/> | |
| + <value name="FantasyFont" value="5"/> | |
| + </enum> | |
| + <enum threadsafety="unspecified" name="FontSize" fullname="QWebSettings::FontSize" href="qwebsettings.html#FontSize-enum" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="102"> | |
| + <value name="MinimumFontSize" value="0"/> | |
| + <value name="MinimumLogicalFontSize" value="1"/> | |
| + <value name="DefaultFontSize" value="2"/> | |
| + <value name="DefaultFixedFontSize" value="3"/> | |
| + </enum> | |
| + <enum threadsafety="unspecified" name="ThirdPartyCookiePolicy" fullname="QWebSettings::ThirdPartyCookiePolicy" href="qwebsettings.html#ThirdPartyCookiePolicy-enum" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="108" since="QtWebKit 2,3"> | |
| + <value name="AlwaysAllowThirdPartyCookies" value="0"/> | |
| + <value name="AlwaysBlockThirdPartyCookies" value="1"/> | |
| + <value name="AllowThirdPartyWithExistingCookies" value="2"/> | |
| + </enum> | |
| + <enum threadsafety="unspecified" name="WebAttribute" fullname="QWebSettings::WebAttribute" href="qwebsettings.html#WebAttribute-enum" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="54"> | |
| + <value name="AutoLoadImages" value="0"/> | |
| + <value name="JavascriptEnabled" value="1"/> | |
| + <value name="JavaEnabled" value="2"/> | |
| + <value name="PluginsEnabled" value="3"/> | |
| + <value name="PrivateBrowsingEnabled" value="4"/> | |
| + <value name="JavascriptCanOpenWindows" value="5"/> | |
| + <value name="JavascriptCanAccessClipboard" value="6"/> | |
| + <value name="DeveloperExtrasEnabled" value="7"/> | |
| + <value name="LinksIncludedInFocusChain" value="8"/> | |
| + <value name="ZoomTextOnly" value="9"/> | |
| + <value name="PrintElementBackgrounds" value="10"/> | |
| + <value name="OfflineStorageDatabaseEnabled" value="11"/> | |
| + <value name="OfflineWebApplicationCacheEnabled" value="12"/> | |
| + <value name="LocalStorageEnabled" value="13"/> | |
| + <value name="LocalStorageDatabaseEnabled" value="LocalStorageEnabled"/> | |
| + <value name="LocalContentCanAccessRemoteUrls" value=""/> | |
| + <value name="DnsPrefetchEnabled" value=""/> | |
| + <value name="XSSAuditingEnabled" value=""/> | |
| + <value name="AcceleratedCompositingEnabled" value=""/> | |
| + <value name="SpatialNavigationEnabled" value=""/> | |
| + <value name="LocalContentCanAccessFileUrls" value=""/> | |
| + <value name="TiledBackingStoreEnabled" value=""/> | |
| + <value name="FrameFlatteningEnabled" value=""/> | |
| + <value name="SiteSpecificQuirksEnabled" value=""/> | |
| + <value name="JavascriptCanCloseWindows" value=""/> | |
| + <value name="WebGLEnabled" value=""/> | |
| + <value name="CSSRegionsEnabled" value=""/> | |
| + <value name="HyperlinkAuditingEnabled" value=""/> | |
| + <value name="CSSGridLayoutEnabled" value=""/> | |
| + <value name="ScrollAnimatorEnabled" value=""/> | |
| + <value name="CaretBrowsingEnabled" value=""/> | |
| + <value name="NotificationsEnabled" value=""/> | |
| + <value name="WebAudioEnabled" value=""/> | |
| + <value name="Accelerated2dCanvasEnabled" value=""/> | |
| + </enum> | |
| + <enum threadsafety="unspecified" name="WebGraphic" fullname="QWebSettings::WebGraphic" href="qwebsettings.html#WebGraphic-enum" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="92"> | |
| + <value name="MissingImageGraphic" value="0"/> | |
| + <value name="MissingPluginGraphic" value="1"/> | |
| + <value name="DefaultFrameIconGraphic" value="2"/> | |
| + <value name="TextAreaSizeGripCornerGraphic" value="3"/> | |
| + <value name="DeleteButtonGraphic" value="4"/> | |
| + <value name="InputSpeechButtonGraphic" value="5"/> | |
| + <value name="SearchCancelButtonGraphic" value="6"/> | |
| + <value name="SearchCancelButtonPressedGraphic" value="7"/> | |
| + </enum> | |
| + <function threadsafety="unspecified" name="QWebSettings" fullname="QWebSettings::QWebSettings" href="qwebsettings.html#QWebSettings-1" status="internal" access="private" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="181" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebSettings(WebCore::Settings *settings, WebCore::GroupSettings *groupSettings)"> | |
| + <parameter left="WebCore::Settings *" right="" name="settings" default=""/> | |
| + <parameter left="WebCore::GroupSettings *" right="" name="groupSettings" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="QWebSettings" fullname="QWebSettings::QWebSettings" href="qwebsettings.html#QWebSettings" status="internal" access="private" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="180" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QWebSettings()"/> | |
| + <function threadsafety="unspecified" name="clearIconDatabase" fullname="QWebSettings::clearIconDatabase" href="qwebsettings.html#clearIconDatabase" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="136" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void clearIconDatabase()"/> | |
| + <function threadsafety="unspecified" name="clearMemoryCaches" fullname="QWebSettings::clearMemoryCaches" href="qwebsettings.html#clearMemoryCaches" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="161" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void clearMemoryCaches()"/> | |
| + <function threadsafety="unspecified" name="cssMediaType" fullname="QWebSettings::cssMediaType" href="qwebsettings.html#cssMediaType" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="169" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString cssMediaType() const"/> | |
| + <function threadsafety="unspecified" name="defaultTextEncoding" fullname="QWebSettings::defaultTextEncoding" href="qwebsettings.html#defaultTextEncoding" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="132" since="4.6" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString defaultTextEncoding() const"/> | |
| + <function threadsafety="unspecified" name="enablePersistentStorage" fullname="QWebSettings::enablePersistentStorage" href="qwebsettings.html#enablePersistentStorage" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="163" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void enablePersistentStorage(const QString &path)"> | |
| + <parameter left="const QString &" right="" name="path" default="QString()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="fontFamily" fullname="QWebSettings::fontFamily" href="qwebsettings.html#fontFamily" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="117" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString fontFamily(FontFamily which) const"> | |
| + <parameter left="FontFamily" right="" name="which" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="fontSize" fullname="QWebSettings::fontSize" href="qwebsettings.html#fontSize" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="121" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="int" signature="int fontSize(FontSize type) const"> | |
| + <parameter left="FontSize" right="" name="type" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="globalSettings" fullname="QWebSettings::globalSettings" href="qwebsettings.html#globalSettings" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="114" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QWebSettings *" signature="QWebSettings * globalSettings()"/> | |
| + <function threadsafety="unspecified" name="handle" fullname="QWebSettings::handle" href="qwebsettings.html#handle" status="internal" access="private" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="171" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebSettingsPrivate *" signature="QWebSettingsPrivate * handle() const"/> | |
| + <function threadsafety="unspecified" name="iconDatabasePath" fullname="QWebSettings::iconDatabasePath" href="qwebsettings.html#iconDatabasePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="135" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QString" signature="QString iconDatabasePath()"/> | |
| + <function threadsafety="unspecified" name="iconForUrl" fullname="QWebSettings::iconForUrl" href="qwebsettings.html#iconForUrl" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="137" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QIcon" signature="QIcon iconForUrl(const QUrl &url)"> | |
| + <parameter left="const QUrl &" right="" name="url" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="localStoragePath" fullname="QWebSettings::localStoragePath" href="qwebsettings.html#localStoragePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="159" since="4.6" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QString" signature="QString localStoragePath() const"/> | |
| + <function threadsafety="unspecified" name="maximumPagesInCache" fullname="QWebSettings::maximumPagesInCache" href="qwebsettings.html#maximumPagesInCache" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="145" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="int" signature="int maximumPagesInCache()"/> | |
| + <function threadsafety="unspecified" name="offlineStorageDefaultQuota" fullname="QWebSettings::offlineStorageDefaultQuota" href="qwebsettings.html#offlineStorageDefaultQuota" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="151" since="4.5" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="qint64" signature="qint64 offlineStorageDefaultQuota()"/> | |
| + <function threadsafety="unspecified" name="offlineStoragePath" fullname="QWebSettings::offlineStoragePath" href="qwebsettings.html#offlineStoragePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="149" since="4.5" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QString" signature="QString offlineStoragePath()"/> | |
| + <function threadsafety="unspecified" name="offlineWebApplicationCachePath" fullname="QWebSettings::offlineWebApplicationCachePath" href="qwebsettings.html#offlineWebApplicationCachePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="154" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QString" signature="QString offlineWebApplicationCachePath()"/> | |
| + <function threadsafety="unspecified" name="offlineWebApplicationCacheQuota" fullname="QWebSettings::offlineWebApplicationCacheQuota" href="qwebsettings.html#offlineWebApplicationCacheQuota" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="156" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="qint64" signature="qint64 offlineWebApplicationCacheQuota()"/> | |
| + <function threadsafety="unspecified" name="resetFontFamily" fullname="QWebSettings::resetFontFamily" href="qwebsettings.html#resetFontFamily" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="118" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void resetFontFamily(FontFamily which)"> | |
| + <parameter left="FontFamily" right="" name="which" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="resetFontSize" fullname="QWebSettings::resetFontSize" href="qwebsettings.html#resetFontSize" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="122" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void resetFontSize(FontSize type)"> | |
| + <parameter left="FontSize" right="" name="type" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setCSSMediaType" fullname="QWebSettings::setCSSMediaType" href="qwebsettings.html#setCSSMediaType" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="168" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setCSSMediaType(const QString &type)"> | |
| + <parameter left="const QString &" right="" name="type" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setDefaultTextEncoding" fullname="QWebSettings::setDefaultTextEncoding" href="qwebsettings.html#setDefaultTextEncoding" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="131" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setDefaultTextEncoding(const QString &encoding)"> | |
| + <parameter left="const QString &" right="" name="encoding" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setFontFamily" fullname="QWebSettings::setFontFamily" href="qwebsettings.html#setFontFamily" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="116" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setFontFamily(FontFamily which, const QString &family)"> | |
| + <parameter left="FontFamily" right="" name="which" default=""/> | |
| + <parameter left="const QString &" right="" name="family" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setFontSize" fullname="QWebSettings::setFontSize" href="qwebsettings.html#setFontSize" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="120" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setFontSize(FontSize type, int size)"> | |
| + <parameter left="FontSize" right="" name="type" default=""/> | |
| + <parameter left="int" right="" name="size" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setIconDatabasePath" fullname="QWebSettings::setIconDatabasePath" href="qwebsettings.html#setIconDatabasePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="134" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setIconDatabasePath(const QString &path)"> | |
| + <parameter left="const QString &" right="" name="path" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setLocalStoragePath" fullname="QWebSettings::setLocalStoragePath" href="qwebsettings.html#setLocalStoragePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="158" since="4.6" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setLocalStoragePath(const QString &path)"> | |
| + <parameter left="const QString &" right="" name="path" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setMaximumPagesInCache" fullname="QWebSettings::setMaximumPagesInCache" href="qwebsettings.html#setMaximumPagesInCache" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="144" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setMaximumPagesInCache(int pages)"> | |
| + <parameter left="int" right="" name="pages" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setObjectCacheCapacities" fullname="QWebSettings::setObjectCacheCapacities" href="qwebsettings.html#setObjectCacheCapacities" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="146" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setObjectCacheCapacities(int cacheMinDeadCapacity, int cacheMaxDead, int totalCapacity)"> | |
| + <parameter left="int" right="" name="cacheMinDeadCapacity" default=""/> | |
| + <parameter left="int" right="" name="cacheMaxDead" default=""/> | |
| + <parameter left="int" right="" name="totalCapacity" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setOfflineStorageDefaultQuota" fullname="QWebSettings::setOfflineStorageDefaultQuota" href="qwebsettings.html#setOfflineStorageDefaultQuota" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="150" since="4.5" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setOfflineStorageDefaultQuota(qint64 maximumSize)"> | |
| + <parameter left="qint64" right="" name="maximumSize" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setOfflineStoragePath" fullname="QWebSettings::setOfflineStoragePath" href="qwebsettings.html#setOfflineStoragePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="148" since="4.5" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setOfflineStoragePath(const QString &path)"> | |
| + <parameter left="const QString &" right="" name="path" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setOfflineWebApplicationCachePath" fullname="QWebSettings::setOfflineWebApplicationCachePath" href="qwebsettings.html#setOfflineWebApplicationCachePath" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="153" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setOfflineWebApplicationCachePath(const QString &path)"> | |
| + <parameter left="const QString &" right="" name="path" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setOfflineWebApplicationCacheQuota" fullname="QWebSettings::setOfflineWebApplicationCacheQuota" href="qwebsettings.html#setOfflineWebApplicationCacheQuota" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="155" since="4.6" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setOfflineWebApplicationCacheQuota(qint64 maximumSize)"> | |
| + <parameter left="qint64" right="" name="maximumSize" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setThirdPartyCookiePolicy" fullname="QWebSettings::setThirdPartyCookiePolicy" href="qwebsettings.html#setThirdPartyCookiePolicy" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="165" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setThirdPartyCookiePolicy(ThirdPartyCookiePolicy policy)"> | |
| + <parameter left="ThirdPartyCookiePolicy" right="" name="policy" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setUserStyleSheetUrl" fullname="QWebSettings::setUserStyleSheetUrl" href="qwebsettings.html#setUserStyleSheetUrl" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="128" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setUserStyleSheetUrl(const QUrl &location)"> | |
| + <parameter left="const QUrl &" right="" name="location" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setWebGraphic" fullname="QWebSettings::setWebGraphic" href="qwebsettings.html#setWebGraphic" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="141" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="void" signature="void setWebGraphic(WebGraphic type, const QPixmap &graphic)"> | |
| + <parameter left="WebGraphic" right="" name="type" default=""/> | |
| + <parameter left="const QPixmap &" right="" name="graphic" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="thirdPartyCookiePolicy" fullname="QWebSettings::thirdPartyCookiePolicy" href="qwebsettings.html#thirdPartyCookiePolicy" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="166" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebSettings::ThirdPartyCookiePolicy" signature="QWebSettings::ThirdPartyCookiePolicy thirdPartyCookiePolicy() const"/> | |
| + <function threadsafety="unspecified" name="userStyleSheetUrl" fullname="QWebSettings::userStyleSheetUrl" href="qwebsettings.html#userStyleSheetUrl" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="129" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QUrl" signature="QUrl userStyleSheetUrl() const"/> | |
| + <function threadsafety="unspecified" name="webGraphic" fullname="QWebSettings::webGraphic" href="qwebsettings.html#webGraphic" status="active" access="public" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="142" virtual="non" meta="plain" const="false" static="true" overload="false" delete="false" default="false" final="false" type="QPixmap" signature="QPixmap webGraphic(WebGraphic type)"> | |
| + <parameter left="WebGraphic" right="" name="type" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="~QWebSettings" fullname="QWebSettings::~QWebSettings" href="qwebsettings.html#dtor.QWebSettings" status="internal" access="private" location="qwebsettings.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/Api/qwebsettings.h" lineno="182" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QWebSettings()"/> | |
| + </class> | |
| + <class threadsafety="unspecified" name="QGraphicsWebView" href="qgraphicswebview.html" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="40" since="4.6" module="QtWebKit" brief="Allows Web content to be added to a GraphicsView"> | |
| + <contents name="browser-features" title="Browser Features" level="1"/> | |
| + <function threadsafety="unspecified" name="icon" fullname="QGraphicsWebView::icon" href="qgraphicswebview.html#icon-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="67" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="icon" type="QIcon" signature="QIcon icon() const"/> | |
| + <function threadsafety="unspecified" name="isModified" fullname="QGraphicsWebView::isModified" href="qgraphicswebview.html#modified-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="72" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="modified" type="bool" signature="bool isModified() const"/> | |
| + <function threadsafety="unspecified" name="isTiledBackingStoreFrozen" fullname="QGraphicsWebView::isTiledBackingStoreFrozen" href="qgraphicswebview.html#tiledBackingStoreFrozen-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="92" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="tiledBackingStoreFrozen" type="bool" signature="bool isTiledBackingStoreFrozen() const"/> | |
| + <function threadsafety="unspecified" name="load" fullname="QGraphicsWebView::load" href="qgraphicswebview.html#load-1" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="75" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void load(const QNetworkRequest &request, QNetworkAccessManager::Operation operation, const QByteArray &body)"> | |
| + <parameter left="const QNetworkRequest &" right="" name="request" default=""/> | |
| + <parameter left="QNetworkAccessManager::Operation" right="" name="operation" default="QNetworkAccessManager::GetOperation"/> | |
| + <parameter left="const QByteArray &" right="" name="body" default="QByteArray()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="resizesToContents" fullname="QGraphicsWebView::resizesToContents" href="qgraphicswebview.html#resizesToContents-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="89" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="resizesToContents" type="bool" signature="bool resizesToContents() const"/> | |
| + <function threadsafety="unspecified" name="setResizesToContents" fullname="QGraphicsWebView::setResizesToContents" href="qgraphicswebview.html#resizesToContents-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="90" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="resizesToContents" type="void" signature="void setResizesToContents(bool enabled)"> | |
| + <parameter left="bool" right="" name="enabled" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setTiledBackingStoreFrozen" fullname="QGraphicsWebView::setTiledBackingStoreFrozen" href="qgraphicswebview.html#tiledBackingStoreFrozen-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="93" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="tiledBackingStoreFrozen" type="void" signature="void setTiledBackingStoreFrozen(bool frozen)"> | |
| + <parameter left="bool" right="" name="frozen" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setUrl" fullname="QGraphicsWebView::setUrl" href="qgraphicswebview.html#url-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="64" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="url" type="void" signature="void setUrl(const QUrl &)"> | |
| + <parameter left="const QUrl &" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setZoomFactor" fullname="QGraphicsWebView::setZoomFactor" href="qgraphicswebview.html#zoomFactor-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="70" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="zoomFactor" type="void" signature="void setZoomFactor(qreal )"> | |
| + <parameter left="qreal" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="title" fullname="QGraphicsWebView::title" href="qgraphicswebview.html#title-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="66" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="title" type="QString" signature="QString title() const"/> | |
| + <function threadsafety="unspecified" name="url" fullname="QGraphicsWebView::url" href="qgraphicswebview.html#url-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="63" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="url" type="QUrl" signature="QUrl url() const"/> | |
| + <function threadsafety="unspecified" name="zoomFactor" fullname="QGraphicsWebView::zoomFactor" href="qgraphicswebview.html#zoomFactor-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="69" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="zoomFactor" type="qreal" signature="qreal zoomFactor() const"/> | |
| + <function threadsafety="unspecified" name="QGraphicsWebView" fullname="QGraphicsWebView::QGraphicsWebView" href="qgraphicswebview.html#QGraphicsWebView" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="57" virtual="non" meta="constructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="QGraphicsWebView(QGraphicsItem *parent)"> | |
| + <parameter left="QGraphicsItem *" right="" name="parent" default="Q_NULLPTR"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="back" fullname="QGraphicsWebView::back" href="qgraphicswebview.html#back" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="111" virtual="non" meta="slot" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void back()"/> | |
| + <function threadsafety="unspecified" name="contextMenuEvent" fullname="QGraphicsWebView::contextMenuEvent" href="qgraphicswebview.html#contextMenuEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="139" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void contextMenuEvent(QGraphicsSceneContextMenuEvent *ev)"> | |
| + <parameter left="QGraphicsSceneContextMenuEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="dragEnterEvent" fullname="QGraphicsWebView::dragEnterEvent" href="qgraphicswebview.html#dragEnterEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="141" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void dragEnterEvent(QGraphicsSceneDragDropEvent *ev)"> | |
| + <parameter left="QGraphicsSceneDragDropEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="dragLeaveEvent" fullname="QGraphicsWebView::dragLeaveEvent" href="qgraphicswebview.html#dragLeaveEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="142" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void dragLeaveEvent(QGraphicsSceneDragDropEvent *ev)"> | |
| + <parameter left="QGraphicsSceneDragDropEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="dragMoveEvent" fullname="QGraphicsWebView::dragMoveEvent" href="qgraphicswebview.html#dragMoveEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="143" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void dragMoveEvent(QGraphicsSceneDragDropEvent *ev)"> | |
| + <parameter left="QGraphicsSceneDragDropEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="dropEvent" fullname="QGraphicsWebView::dropEvent" href="qgraphicswebview.html#dropEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="144" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void dropEvent(QGraphicsSceneDragDropEvent *ev)"> | |
| + <parameter left="QGraphicsSceneDragDropEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="event" fullname="QGraphicsWebView::event" href="qgraphicswebview.html#event" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="99" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool event(QEvent *event)"> | |
| + <parameter left="QEvent *" right="" name="event" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="findText" fullname="QGraphicsWebView::findText" href="qgraphicswebview.html#findText" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="87" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool findText(const QString &subString, QWebPage::FindFlags options)"> | |
| + <parameter left="const QString &" right="" name="subString" default=""/> | |
| + <parameter left="QWebPage::FindFlags" right="" name="options" default="QWebPage::FindFlags()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="focusInEvent" fullname="QGraphicsWebView::focusInEvent" href="qgraphicswebview.html#focusInEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="145" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void focusInEvent(QFocusEvent *ev)"> | |
| + <parameter left="QFocusEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="focusNextPrevChild" fullname="QGraphicsWebView::focusNextPrevChild" href="qgraphicswebview.html#focusNextPrevChild" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="148" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool focusNextPrevChild(bool next)"> | |
| + <parameter left="bool" right="" name="next" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="focusOutEvent" fullname="QGraphicsWebView::focusOutEvent" href="qgraphicswebview.html#focusOutEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="146" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void focusOutEvent(QFocusEvent *ev)"> | |
| + <parameter left="QFocusEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="forward" fullname="QGraphicsWebView::forward" href="qgraphicswebview.html#forward" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="112" virtual="non" meta="slot" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void forward()"/> | |
| + <function threadsafety="unspecified" name="history" fullname="QGraphicsWebView::history" href="qgraphicswebview.html#history" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="81" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebHistory *" signature="QWebHistory * history() const"/> | |
| + <function threadsafety="unspecified" name="hoverLeaveEvent" fullname="QGraphicsWebView::hoverLeaveEvent" href="qgraphicswebview.html#hoverLeaveEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="132" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void hoverLeaveEvent(QGraphicsSceneHoverEvent *ev)"> | |
| + <parameter left="QGraphicsSceneHoverEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="hoverMoveEvent" fullname="QGraphicsWebView::hoverMoveEvent" href="qgraphicswebview.html#hoverMoveEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="131" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void hoverMoveEvent(QGraphicsSceneHoverEvent *ev)"> | |
| + <parameter left="QGraphicsSceneHoverEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="iconChanged" fullname="QGraphicsWebView::iconChanged" href="qgraphicswebview.html#icon-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="122" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="icon" type="void" signature="void iconChanged()"/> | |
| + <function threadsafety="unspecified" name="inputMethodEvent" fullname="QGraphicsWebView::inputMethodEvent" href="qgraphicswebview.html#inputMethodEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="147" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void inputMethodEvent(QInputMethodEvent *ev)"> | |
| + <parameter left="QInputMethodEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="inputMethodQuery" fullname="QGraphicsWebView::inputMethodQuery" href="qgraphicswebview.html#inputMethodQuery" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="103" virtual="virtual" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QVariant" signature="QVariant inputMethodQuery(Qt::InputMethodQuery query) const"> | |
| + <parameter left="Qt::InputMethodQuery" right="" name="query" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="itemChange" fullname="QGraphicsWebView::itemChange" href="qgraphicswebview.html#itemChange" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="98" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="QVariant" signature="QVariant itemChange(GraphicsItemChange change, const QVariant &value)"> | |
| + <parameter left="GraphicsItemChange" right="" name="change" default=""/> | |
| + <parameter left="const QVariant &" right="" name="value" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="keyPressEvent" fullname="QGraphicsWebView::keyPressEvent" href="qgraphicswebview.html#keyPressEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="136" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void keyPressEvent(QKeyEvent *ev)"> | |
| + <parameter left="QKeyEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="keyReleaseEvent" fullname="QGraphicsWebView::keyReleaseEvent" href="qgraphicswebview.html#keyReleaseEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="137" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void keyReleaseEvent(QKeyEvent *ev)"> | |
| + <parameter left="QKeyEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="linkClicked" fullname="QGraphicsWebView::linkClicked" href="qgraphicswebview.html#linkClicked" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="124" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void linkClicked(const QUrl &url)"> | |
| + <parameter left="const QUrl &" right="" name="url" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="load" fullname="QGraphicsWebView::load" href="qgraphicswebview.html#load" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="74" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void load(const QUrl &url)"> | |
| + <parameter left="const QUrl &" right="" name="url" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="loadFinished" fullname="QGraphicsWebView::loadFinished" href="qgraphicswebview.html#loadFinished" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="117" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void loadFinished(bool ok)"> | |
| + <parameter left="bool" right="" name="ok" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="loadProgress" fullname="QGraphicsWebView::loadProgress" href="qgraphicswebview.html#loadProgress" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="119" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void loadProgress(int progress)"> | |
| + <parameter left="int" right="" name="progress" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="loadStarted" fullname="QGraphicsWebView::loadStarted" href="qgraphicswebview.html#loadStarted" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="116" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void loadStarted()"/> | |
| + <function threadsafety="unspecified" name="mouseDoubleClickEvent" fullname="QGraphicsWebView::mouseDoubleClickEvent" href="qgraphicswebview.html#mouseDoubleClickEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="128" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *ev)"> | |
| + <parameter left="QGraphicsSceneMouseEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="mouseMoveEvent" fullname="QGraphicsWebView::mouseMoveEvent" href="qgraphicswebview.html#mouseMoveEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="130" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void mouseMoveEvent(QGraphicsSceneMouseEvent *ev)"> | |
| + <parameter left="QGraphicsSceneMouseEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="mousePressEvent" fullname="QGraphicsWebView::mousePressEvent" href="qgraphicswebview.html#mousePressEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="127" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void mousePressEvent(QGraphicsSceneMouseEvent *ev)"> | |
| + <parameter left="QGraphicsSceneMouseEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="mouseReleaseEvent" fullname="QGraphicsWebView::mouseReleaseEvent" href="qgraphicswebview.html#mouseReleaseEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="129" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void mouseReleaseEvent(QGraphicsSceneMouseEvent *ev)"> | |
| + <parameter left="QGraphicsSceneMouseEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="page" fullname="QGraphicsWebView::page" href="qgraphicswebview.html#page" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="60" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebPage *" signature="QWebPage * page() const"/> | |
| + <function threadsafety="unspecified" name="pageAction" fullname="QGraphicsWebView::pageAction" href="qgraphicswebview.html#pageAction" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="84" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QAction *" signature="QAction * pageAction(QWebPage::WebAction action) const"> | |
| + <parameter left="QWebPage::WebAction" right="" name="action" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="paint" fullname="QGraphicsWebView::paint" href="qgraphicswebview.html#paint" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="97" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)"> | |
| + <parameter left="QPainter *" right="" name="painter" default=""/> | |
| + <parameter left="const QStyleOptionGraphicsItem *" right="" name="option" default=""/> | |
| + <parameter left="QWidget *" right="" name="widget" default="Q_NULLPTR"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="reload" fullname="QGraphicsWebView::reload" href="qgraphicswebview.html#reload" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="113" virtual="non" meta="slot" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void reload()"/> | |
| + <function threadsafety="unspecified" name="renderHints" fullname="QGraphicsWebView::renderHints" href="qgraphicswebview.html#renderHints" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="105" since="4.8" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" associated-property="renderHints" type="QPainter::RenderHints" signature="QPainter::RenderHints renderHints() const"/> | |
| + <function threadsafety="unspecified" name="sceneEvent" fullname="QGraphicsWebView::sceneEvent" href="qgraphicswebview.html#sceneEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="150" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="bool" signature="bool sceneEvent(QEvent *event)"> | |
| + <parameter left="QEvent *" right="" name="event" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setContent" fullname="QGraphicsWebView::setContent" href="qgraphicswebview.html#setContent" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="79" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setContent(const QByteArray &data, const QString &mimeType, const QUrl &baseUrl)"> | |
| + <parameter left="const QByteArray &" right="" name="data" default=""/> | |
| + <parameter left="const QString &" right="" name="mimeType" default="QString()"/> | |
| + <parameter left="const QUrl &" right="" name="baseUrl" default="QUrl()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setGeometry" fullname="QGraphicsWebView::setGeometry" href="qgraphicswebview.html#setGeometry" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="95" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setGeometry(const QRectF &rect)"> | |
| + <parameter left="const QRectF &" right="" name="rect" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setHtml" fullname="QGraphicsWebView::setHtml" href="qgraphicswebview.html#setHtml" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="77" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setHtml(const QString &html, const QUrl &baseUrl)"> | |
| + <parameter left="const QString &" right="" name="html" default=""/> | |
| + <parameter left="const QUrl &" right="" name="baseUrl" default="QUrl()"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setPage" fullname="QGraphicsWebView::setPage" href="qgraphicswebview.html#setPage" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="61" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setPage(QWebPage *page)"> | |
| + <parameter left="QWebPage *" right="" name="page" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setRenderHint" fullname="QGraphicsWebView::setRenderHint" href="qgraphicswebview.html#setRenderHint" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="107" since="4.8" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void setRenderHint(QPainter::RenderHint hint, bool enabled)"> | |
| + <parameter left="QPainter::RenderHint" right="" name="hint" default=""/> | |
| + <parameter left="bool" right="" name="enabled" default="true"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="setRenderHints" fullname="QGraphicsWebView::setRenderHints" href="qgraphicswebview.html#setRenderHints" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="106" since="4.8" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="renderHints" type="void" signature="void setRenderHints(QPainter::RenderHints hints)"> | |
| + <parameter left="QPainter::RenderHints" right="" name="hints" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="settings" fullname="QGraphicsWebView::settings" href="qgraphicswebview.html#settings" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="82" virtual="non" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QWebSettings *" signature="QWebSettings * settings() const"/> | |
| + <function threadsafety="unspecified" name="sizeHint" fullname="QGraphicsWebView::sizeHint" href="qgraphicswebview.html#sizeHint" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="101" virtual="virtual" meta="plain" const="true" static="false" overload="false" delete="false" default="false" final="false" type="QSizeF" signature="QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const"> | |
| + <parameter left="Qt::SizeHint" right="" name="which" default=""/> | |
| + <parameter left="const QSizeF &" right="" name="constraint" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="statusBarMessage" fullname="QGraphicsWebView::statusBarMessage" href="qgraphicswebview.html#statusBarMessage" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="123" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void statusBarMessage(const QString &text)"> | |
| + <parameter left="const QString &" right="" name="text" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="stop" fullname="QGraphicsWebView::stop" href="qgraphicswebview.html#stop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="110" virtual="non" meta="slot" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void stop()"/> | |
| + <function threadsafety="unspecified" name="titleChanged" fullname="QGraphicsWebView::titleChanged" href="qgraphicswebview.html#title-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="121" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="title" type="void" signature="void titleChanged(const QString &)"> | |
| + <parameter left="const QString &" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="triggerPageAction" fullname="QGraphicsWebView::triggerPageAction" href="qgraphicswebview.html#triggerPageAction" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="85" virtual="non" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void triggerPageAction(QWebPage::WebAction action, bool checked)"> | |
| + <parameter left="QWebPage::WebAction" right="" name="action" default=""/> | |
| + <parameter left="bool" right="" name="checked" default="false"/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="updateGeometry" fullname="QGraphicsWebView::updateGeometry" href="qgraphicswebview.html#updateGeometry" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="96" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void updateGeometry()"/> | |
| + <function threadsafety="unspecified" name="urlChanged" fullname="QGraphicsWebView::urlChanged" href="qgraphicswebview.html#url-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="120" virtual="non" meta="signal" const="false" static="false" overload="false" delete="false" default="false" final="false" associated-property="url" type="void" signature="void urlChanged(const QUrl &)"> | |
| + <parameter left="const QUrl &" right="" name="" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="wheelEvent" fullname="QGraphicsWebView::wheelEvent" href="qgraphicswebview.html#wheelEvent" status="active" access="protected" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="134" virtual="virtual" meta="plain" const="false" static="false" overload="false" delete="false" default="false" final="false" type="void" signature="void wheelEvent(QGraphicsSceneWheelEvent *ev)"> | |
| + <parameter left="QGraphicsSceneWheelEvent *" right="" name="ev" default=""/> | |
| + </function> | |
| + <function threadsafety="unspecified" name="~QGraphicsWebView" fullname="QGraphicsWebView::~QGraphicsWebView" href="qgraphicswebview.html#dtor.QGraphicsWebView" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="58" virtual="non" meta="destructor" const="false" static="false" overload="false" delete="false" default="false" final="false" type="" signature="~QGraphicsWebView()"/> | |
| + <property threadsafety="unspecified" name="icon" fullname="QGraphicsWebView::icon" href="qgraphicswebview.html#icon-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="44" type="QIcon" brief="The icon associated with the web page currently viewed"> | |
| + <getter name="icon"/> | |
| + <notifier name="iconChanged"/> | |
| + </property> | |
| + <property threadsafety="unspecified" name="modified" fullname="QGraphicsWebView::modified" href="qgraphicswebview.html#modified-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="49" type="bool" brief="Whether the document was modified by the user"> | |
| + <getter name="isModified"/> | |
| + </property> | |
| + <property threadsafety="unspecified" name="renderHints" fullname="QGraphicsWebView::renderHints" href="qgraphicswebview.html#renderHints-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="53" since="4.8" type="QPainter::RenderHints" brief="The default render hints for the view"> | |
| + <getter name="renderHints"/> | |
| + <setter name="setRenderHints"/> | |
| + </property> | |
| + <property threadsafety="unspecified" name="resizesToContents" fullname="QGraphicsWebView::resizesToContents" href="qgraphicswebview.html#resizesToContents-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="50" since="4.7" type="bool" brief="Whether the size of the QGraphicsWebView and its viewport changes to match the contents size"> | |
| + <getter name="resizesToContents"/> | |
| + <setter name="setResizesToContents"/> | |
| + </property> | |
| + <property threadsafety="unspecified" name="tiledBackingStoreFrozen" fullname="QGraphicsWebView::tiledBackingStoreFrozen" href="qgraphicswebview.html#tiledBackingStoreFrozen-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="51" since="4.7" type="bool" brief="Whether the tiled backing store updates its contents"> | |
| + <getter name="isTiledBackingStoreFrozen"/> | |
| + <setter name="setTiledBackingStoreFrozen"/> | |
| + </property> | |
| + <property threadsafety="unspecified" name="title" fullname="QGraphicsWebView::title" href="qgraphicswebview.html#title-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="43" type="QString" brief="The title of the web page currently viewed"> | |
| + <getter name="title"/> | |
| + <notifier name="titleChanged"/> | |
| + </property> | |
| + <property threadsafety="unspecified" name="url" fullname="QGraphicsWebView::url" href="qgraphicswebview.html#url-prop" status="active" access="public" location="qgraphicswebview.h" filepath="/temp/qtwebkit-opensource-src-5.7.1/Source/WebKit/qt/WidgetApi/qgraphicswebview.h" lineno="47" type="QUrl" brief="The url of the web page currently viewed"> | |
| + <getter name="url"/> | |
| + <se |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment