cutego/webengine/webengine.cpp

3626 lines
150 KiB
C++
Raw Normal View History

2016-05-28 19:18:42 +03:00
// +build !minimal
2016-05-11 16:33:24 +03:00
#define protected public
#define private public
#include "webengine.h"
#include "_cgo_export.h"
#include <QAction>
#include <QActionEvent>
#include <QAuthenticator>
#include <QByteArray>
#include <QChildEvent>
#include <QCloseEvent>
#include <QColor>
#include <QContextMenuEvent>
#include <QDate>
#include <QDateTime>
#include <QDrag>
#include <QDragEnterEvent>
#include <QDragLeaveEvent>
#include <QDragMoveEvent>
#include <QDropEvent>
#include <QEvent>
#include <QFocusEvent>
#include <QHideEvent>
#include <QIODevice>
2016-06-16 18:49:55 +03:00
#include <QIcon>
2016-05-11 16:33:24 +03:00
#include <QInputMethod>
#include <QInputMethodEvent>
#include <QKeyEvent>
2016-11-16 01:07:05 +03:00
#include <QList>
2016-05-11 16:33:24 +03:00
#include <QMetaMethod>
#include <QMetaObject>
#include <QMouseEvent>
#include <QMoveEvent>
#include <QNetworkCookie>
#include <QObject>
2016-06-16 18:49:55 +03:00
#include <QPageLayout>
2016-05-11 16:33:24 +03:00
#include <QPaintEvent>
2016-06-16 18:49:55 +03:00
#include <QPoint>
#include <QPointF>
2016-05-11 16:33:24 +03:00
#include <QQuickWebEngineProfile>
#include <QRect>
#include <QResizeEvent>
#include <QShowEvent>
#include <QSize>
2016-06-16 18:49:55 +03:00
#include <QSizeF>
2016-05-11 16:33:24 +03:00
#include <QString>
#include <QStringList>
#include <QTabletEvent>
#include <QTime>
#include <QTimer>
#include <QTimerEvent>
#include <QUrl>
#include <QVariant>
#include <QWebChannel>
#include <QWebEngineCertificateError>
2016-06-16 18:49:55 +03:00
#include <QWebEngineContextMenuData>
2016-05-11 16:33:24 +03:00
#include <QWebEngineCookieStore>
#include <QWebEngineDownloadItem>
2016-06-16 18:49:55 +03:00
#include <QWebEngineFullScreenRequest>
2016-05-11 16:33:24 +03:00
#include <QWebEngineHistory>
#include <QWebEngineHistoryItem>
#include <QWebEnginePage>
#include <QWebEngineProfile>
#include <QWebEngineScript>
#include <QWebEngineScriptCollection>
#include <QWebEngineSettings>
#include <QWebEngineUrlRequestInfo>
#include <QWebEngineUrlRequestInterceptor>
#include <QWebEngineUrlRequestJob>
#include <QWebEngineUrlSchemeHandler>
#include <QWebEngineView>
#include <QWheelEvent>
#include <QWidget>
class MyQQuickWebEngineProfile: public QQuickWebEngineProfile
{
public:
MyQQuickWebEngineProfile(QObject *parent) : QQuickWebEngineProfile(parent) {};
void Signal_CachePathChanged() { callbackQQuickWebEngineProfile_CachePathChanged(this); };
void Signal_HttpAcceptLanguageChanged() { callbackQQuickWebEngineProfile_HttpAcceptLanguageChanged(this); };
void Signal_HttpCacheMaximumSizeChanged() { callbackQQuickWebEngineProfile_HttpCacheMaximumSizeChanged(this); };
void Signal_HttpCacheTypeChanged() { callbackQQuickWebEngineProfile_HttpCacheTypeChanged(this); };
void Signal_HttpUserAgentChanged() { callbackQQuickWebEngineProfile_HttpUserAgentChanged(this); };
void Signal_OffTheRecordChanged() { callbackQQuickWebEngineProfile_OffTheRecordChanged(this); };
void Signal_PersistentCookiesPolicyChanged() { callbackQQuickWebEngineProfile_PersistentCookiesPolicyChanged(this); };
void Signal_PersistentStoragePathChanged() { callbackQQuickWebEngineProfile_PersistentStoragePathChanged(this); };
void Signal_StorageNameChanged() { callbackQQuickWebEngineProfile_StorageNameChanged(this); };
void timerEvent(QTimerEvent * event) { callbackQQuickWebEngineProfile_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQQuickWebEngineProfile_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQQuickWebEngineProfile_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQQuickWebEngineProfile_CustomEvent(this, event); };
void deleteLater() { callbackQQuickWebEngineProfile_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQQuickWebEngineProfile_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool event(QEvent * e) { return callbackQQuickWebEngineProfile_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQQuickWebEngineProfile_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQQuickWebEngineProfile_MetaObject(const_cast<MyQQuickWebEngineProfile*>(this))); };
2016-05-11 16:33:24 +03:00
};
struct QtWebEngine_PackedString QQuickWebEngineProfile_CachePath(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t8a236f = static_cast<QQuickWebEngineProfile*>(ptr)->cachePath().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t8a236f.prepend("WHITESPACE").constData()+10), t8a236f.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
struct QtWebEngine_PackedString QQuickWebEngineProfile_HttpAcceptLanguage(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray taf6551 = static_cast<QQuickWebEngineProfile*>(ptr)->httpAcceptLanguage().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(taf6551.prepend("WHITESPACE").constData()+10), taf6551.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
int QQuickWebEngineProfile_HttpCacheMaximumSize(void* ptr)
{
return static_cast<QQuickWebEngineProfile*>(ptr)->httpCacheMaximumSize();
}
long long QQuickWebEngineProfile_HttpCacheType(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->httpCacheType();
}
struct QtWebEngine_PackedString QQuickWebEngineProfile_HttpUserAgent(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t7ee5e9 = static_cast<QQuickWebEngineProfile*>(ptr)->httpUserAgent().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t7ee5e9.prepend("WHITESPACE").constData()+10), t7ee5e9.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
char QQuickWebEngineProfile_IsOffTheRecord(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->isOffTheRecord();
}
long long QQuickWebEngineProfile_PersistentCookiesPolicy(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->persistentCookiesPolicy();
}
struct QtWebEngine_PackedString QQuickWebEngineProfile_PersistentStoragePath(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t5eccf6 = static_cast<QQuickWebEngineProfile*>(ptr)->persistentStoragePath().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t5eccf6.prepend("WHITESPACE").constData()+10), t5eccf6.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QQuickWebEngineProfile_SetCachePath(void* ptr, char* path)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setCachePath(QString(path));
}
void QQuickWebEngineProfile_SetHttpAcceptLanguage(void* ptr, char* httpAcceptLanguage)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setHttpAcceptLanguage(QString(httpAcceptLanguage));
}
void QQuickWebEngineProfile_SetHttpCacheMaximumSize(void* ptr, int maxSize)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setHttpCacheMaximumSize(maxSize);
}
void QQuickWebEngineProfile_SetHttpCacheType(void* ptr, long long vqq)
2016-05-11 16:33:24 +03:00
{
static_cast<QQuickWebEngineProfile*>(ptr)->setHttpCacheType(static_cast<QQuickWebEngineProfile::HttpCacheType>(vqq));
}
void QQuickWebEngineProfile_SetHttpUserAgent(void* ptr, char* userAgent)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setHttpUserAgent(QString(userAgent));
}
void QQuickWebEngineProfile_SetOffTheRecord(void* ptr, char offTheRecord)
2016-05-11 16:33:24 +03:00
{
static_cast<QQuickWebEngineProfile*>(ptr)->setOffTheRecord(offTheRecord != 0);
}
void QQuickWebEngineProfile_SetPersistentCookiesPolicy(void* ptr, long long vqq)
2016-05-11 16:33:24 +03:00
{
static_cast<QQuickWebEngineProfile*>(ptr)->setPersistentCookiesPolicy(static_cast<QQuickWebEngineProfile::PersistentCookiesPolicy>(vqq));
}
void QQuickWebEngineProfile_SetPersistentStoragePath(void* ptr, char* path)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setPersistentStoragePath(QString(path));
}
void QQuickWebEngineProfile_SetStorageName(void* ptr, char* name)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setStorageName(QString(name));
}
struct QtWebEngine_PackedString QQuickWebEngineProfile_StorageName(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t6af56e = static_cast<QQuickWebEngineProfile*>(ptr)->storageName().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t6af56e.prepend("WHITESPACE").constData()+10), t6af56e.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void* QQuickWebEngineProfile_NewQQuickWebEngineProfile(void* parent)
{
return new MyQQuickWebEngineProfile(static_cast<QObject*>(parent));
}
void QQuickWebEngineProfile_ConnectCachePathChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::cachePathChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_CachePathChanged));
}
void QQuickWebEngineProfile_DisconnectCachePathChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::cachePathChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_CachePathChanged));
}
void QQuickWebEngineProfile_CachePathChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->cachePathChanged();
}
2016-06-16 18:49:55 +03:00
void QQuickWebEngineProfile_ClearHttpCache(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->clearHttpCache();
}
2016-05-11 16:33:24 +03:00
void* QQuickWebEngineProfile_CookieStore(void* ptr)
{
return static_cast<QQuickWebEngineProfile*>(ptr)->cookieStore();
}
void* QQuickWebEngineProfile_QQuickWebEngineProfile_DefaultProfile()
{
return QQuickWebEngineProfile::defaultProfile();
}
void QQuickWebEngineProfile_ConnectHttpAcceptLanguageChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpAcceptLanguageChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpAcceptLanguageChanged));
}
void QQuickWebEngineProfile_DisconnectHttpAcceptLanguageChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpAcceptLanguageChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpAcceptLanguageChanged));
}
void QQuickWebEngineProfile_HttpAcceptLanguageChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->httpAcceptLanguageChanged();
}
void QQuickWebEngineProfile_ConnectHttpCacheMaximumSizeChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpCacheMaximumSizeChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpCacheMaximumSizeChanged));
}
void QQuickWebEngineProfile_DisconnectHttpCacheMaximumSizeChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpCacheMaximumSizeChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpCacheMaximumSizeChanged));
}
void QQuickWebEngineProfile_HttpCacheMaximumSizeChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->httpCacheMaximumSizeChanged();
}
void QQuickWebEngineProfile_ConnectHttpCacheTypeChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpCacheTypeChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpCacheTypeChanged));
}
void QQuickWebEngineProfile_DisconnectHttpCacheTypeChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpCacheTypeChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpCacheTypeChanged));
}
void QQuickWebEngineProfile_HttpCacheTypeChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->httpCacheTypeChanged();
}
void QQuickWebEngineProfile_ConnectHttpUserAgentChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpUserAgentChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpUserAgentChanged));
}
void QQuickWebEngineProfile_DisconnectHttpUserAgentChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::httpUserAgentChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_HttpUserAgentChanged));
}
void QQuickWebEngineProfile_HttpUserAgentChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->httpUserAgentChanged();
}
void QQuickWebEngineProfile_InstallUrlSchemeHandler(void* ptr, void* scheme, void* handler)
2016-05-11 16:33:24 +03:00
{
static_cast<QQuickWebEngineProfile*>(ptr)->installUrlSchemeHandler(*static_cast<QByteArray*>(scheme), static_cast<QWebEngineUrlSchemeHandler*>(handler));
2016-05-11 16:33:24 +03:00
}
void QQuickWebEngineProfile_ConnectOffTheRecordChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::offTheRecordChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_OffTheRecordChanged));
}
void QQuickWebEngineProfile_DisconnectOffTheRecordChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::offTheRecordChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_OffTheRecordChanged));
}
void QQuickWebEngineProfile_OffTheRecordChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->offTheRecordChanged();
}
void QQuickWebEngineProfile_ConnectPersistentCookiesPolicyChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::persistentCookiesPolicyChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_PersistentCookiesPolicyChanged));
}
void QQuickWebEngineProfile_DisconnectPersistentCookiesPolicyChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::persistentCookiesPolicyChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_PersistentCookiesPolicyChanged));
}
void QQuickWebEngineProfile_PersistentCookiesPolicyChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->persistentCookiesPolicyChanged();
}
void QQuickWebEngineProfile_ConnectPersistentStoragePathChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::persistentStoragePathChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_PersistentStoragePathChanged));
}
void QQuickWebEngineProfile_DisconnectPersistentStoragePathChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::persistentStoragePathChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_PersistentStoragePathChanged));
}
void QQuickWebEngineProfile_PersistentStoragePathChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->persistentStoragePathChanged();
}
void QQuickWebEngineProfile_RemoveAllUrlSchemeHandlers(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->removeAllUrlSchemeHandlers();
}
void QQuickWebEngineProfile_RemoveUrlScheme(void* ptr, void* scheme)
2016-05-11 16:33:24 +03:00
{
static_cast<QQuickWebEngineProfile*>(ptr)->removeUrlScheme(*static_cast<QByteArray*>(scheme));
2016-05-11 16:33:24 +03:00
}
void QQuickWebEngineProfile_RemoveUrlSchemeHandler(void* ptr, void* handler)
{
static_cast<QQuickWebEngineProfile*>(ptr)->removeUrlSchemeHandler(static_cast<QWebEngineUrlSchemeHandler*>(handler));
}
void QQuickWebEngineProfile_SetRequestInterceptor(void* ptr, void* interceptor)
{
static_cast<QQuickWebEngineProfile*>(ptr)->setRequestInterceptor(static_cast<QWebEngineUrlRequestInterceptor*>(interceptor));
}
void QQuickWebEngineProfile_ConnectStorageNameChanged(void* ptr)
{
QObject::connect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::storageNameChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_StorageNameChanged));
}
void QQuickWebEngineProfile_DisconnectStorageNameChanged(void* ptr)
{
QObject::disconnect(static_cast<QQuickWebEngineProfile*>(ptr), static_cast<void (QQuickWebEngineProfile::*)()>(&QQuickWebEngineProfile::storageNameChanged), static_cast<MyQQuickWebEngineProfile*>(ptr), static_cast<void (MyQQuickWebEngineProfile::*)()>(&MyQQuickWebEngineProfile::Signal_StorageNameChanged));
}
void QQuickWebEngineProfile_StorageNameChanged(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->storageNameChanged();
}
void* QQuickWebEngineProfile_UrlSchemeHandler(void* ptr, void* scheme)
2016-05-11 16:33:24 +03:00
{
return const_cast<QWebEngineUrlSchemeHandler*>(static_cast<QQuickWebEngineProfile*>(ptr)->urlSchemeHandler(*static_cast<QByteArray*>(scheme)));
2016-05-11 16:33:24 +03:00
}
void QQuickWebEngineProfile_TimerEvent(void* ptr, void* event)
{
static_cast<QQuickWebEngineProfile*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QQuickWebEngineProfile_TimerEventDefault(void* ptr, void* event)
{
static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::timerEvent(static_cast<QTimerEvent*>(event));
}
void QQuickWebEngineProfile_ChildEvent(void* ptr, void* event)
{
static_cast<QQuickWebEngineProfile*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QQuickWebEngineProfile_ChildEventDefault(void* ptr, void* event)
{
static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::childEvent(static_cast<QChildEvent*>(event));
}
void QQuickWebEngineProfile_ConnectNotify(void* ptr, void* sign)
{
static_cast<QQuickWebEngineProfile*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QQuickWebEngineProfile_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QQuickWebEngineProfile_CustomEvent(void* ptr, void* event)
{
static_cast<QQuickWebEngineProfile*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QQuickWebEngineProfile_CustomEventDefault(void* ptr, void* event)
{
static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::customEvent(static_cast<QEvent*>(event));
}
void QQuickWebEngineProfile_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QQuickWebEngineProfile*>(ptr), "deleteLater");
}
void QQuickWebEngineProfile_DeleteLaterDefault(void* ptr)
{
static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::deleteLater();
}
void QQuickWebEngineProfile_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QQuickWebEngineProfile*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QQuickWebEngineProfile_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QQuickWebEngineProfile_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->event(static_cast<QEvent*>(e));
}
char QQuickWebEngineProfile_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::event(static_cast<QEvent*>(e));
}
char QQuickWebEngineProfile_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QQuickWebEngineProfile_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QQuickWebEngineProfile_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QQuickWebEngineProfile*>(ptr)->metaObject());
}
void* QQuickWebEngineProfile_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QQuickWebEngineProfile*>(ptr)->QQuickWebEngineProfile::metaObject());
}
long long QWebEngineCertificateError_Error(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineCertificateError*>(ptr)->error();
}
struct QtWebEngine_PackedString QWebEngineCertificateError_ErrorDescription(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t3bb4ec = static_cast<QWebEngineCertificateError*>(ptr)->errorDescription().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t3bb4ec.prepend("WHITESPACE").constData()+10), t3bb4ec.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
char QWebEngineCertificateError_IsOverridable(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineCertificateError*>(ptr)->isOverridable();
}
void* QWebEngineCertificateError_Url(void* ptr)
{
return new QUrl(static_cast<QWebEngineCertificateError*>(ptr)->url());
}
2016-06-16 18:49:55 +03:00
void* QWebEngineContextMenuData_NewQWebEngineContextMenuData()
{
return new QWebEngineContextMenuData();
}
void* QWebEngineContextMenuData_NewQWebEngineContextMenuData2(void* other)
{
return new QWebEngineContextMenuData(*static_cast<QWebEngineContextMenuData*>(other));
}
char QWebEngineContextMenuData_IsContentEditable(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEngineContextMenuData*>(ptr)->isContentEditable();
}
char QWebEngineContextMenuData_IsValid(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEngineContextMenuData*>(ptr)->isValid();
}
struct QtWebEngine_PackedString QWebEngineContextMenuData_LinkText(void* ptr)
2016-06-16 18:49:55 +03:00
{
return ({ QByteArray t0eae08 = static_cast<QWebEngineContextMenuData*>(ptr)->linkText().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t0eae08.prepend("WHITESPACE").constData()+10), t0eae08.size()-10 }; });
2016-06-16 18:49:55 +03:00
}
void* QWebEngineContextMenuData_LinkUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineContextMenuData*>(ptr)->linkUrl());
}
long long QWebEngineContextMenuData_MediaType(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEngineContextMenuData*>(ptr)->mediaType();
}
void* QWebEngineContextMenuData_MediaUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineContextMenuData*>(ptr)->mediaUrl());
}
void* QWebEngineContextMenuData_Position(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QPoint tmpValue = static_cast<QWebEngineContextMenuData*>(ptr)->position(); new QPoint(tmpValue.x(), tmpValue.y()); });
2016-06-16 18:49:55 +03:00
}
struct QtWebEngine_PackedString QWebEngineContextMenuData_SelectedText(void* ptr)
2016-06-16 18:49:55 +03:00
{
return ({ QByteArray t9d2c70 = static_cast<QWebEngineContextMenuData*>(ptr)->selectedText().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t9d2c70.prepend("WHITESPACE").constData()+10), t9d2c70.size()-10 }; });
2016-06-16 18:49:55 +03:00
}
void QWebEngineContextMenuData_DestroyQWebEngineContextMenuData(void* ptr)
{
static_cast<QWebEngineContextMenuData*>(ptr)->~QWebEngineContextMenuData();
}
2016-05-11 16:33:24 +03:00
class MyQWebEngineCookieStore: public QWebEngineCookieStore
{
public:
void Signal_CookieAdded(const QNetworkCookie & cookie) { callbackQWebEngineCookieStore_CookieAdded(this, const_cast<QNetworkCookie*>(&cookie)); };
void Signal_CookieRemoved(const QNetworkCookie & cookie) { callbackQWebEngineCookieStore_CookieRemoved(this, const_cast<QNetworkCookie*>(&cookie)); };
~MyQWebEngineCookieStore() { callbackQWebEngineCookieStore_DestroyQWebEngineCookieStore(this); };
void timerEvent(QTimerEvent * event) { callbackQWebEngineCookieStore_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEngineCookieStore_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEngineCookieStore_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEngineCookieStore_CustomEvent(this, event); };
void deleteLater() { callbackQWebEngineCookieStore_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEngineCookieStore_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool event(QEvent * e) { return callbackQWebEngineCookieStore_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineCookieStore_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEngineCookieStore_MetaObject(const_cast<MyQWebEngineCookieStore*>(this))); };
2016-05-11 16:33:24 +03:00
};
void QWebEngineCookieStore_ConnectCookieAdded(void* ptr)
{
QObject::connect(static_cast<QWebEngineCookieStore*>(ptr), static_cast<void (QWebEngineCookieStore::*)(const QNetworkCookie &)>(&QWebEngineCookieStore::cookieAdded), static_cast<MyQWebEngineCookieStore*>(ptr), static_cast<void (MyQWebEngineCookieStore::*)(const QNetworkCookie &)>(&MyQWebEngineCookieStore::Signal_CookieAdded));
}
void QWebEngineCookieStore_DisconnectCookieAdded(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineCookieStore*>(ptr), static_cast<void (QWebEngineCookieStore::*)(const QNetworkCookie &)>(&QWebEngineCookieStore::cookieAdded), static_cast<MyQWebEngineCookieStore*>(ptr), static_cast<void (MyQWebEngineCookieStore::*)(const QNetworkCookie &)>(&MyQWebEngineCookieStore::Signal_CookieAdded));
}
void QWebEngineCookieStore_CookieAdded(void* ptr, void* cookie)
{
static_cast<QWebEngineCookieStore*>(ptr)->cookieAdded(*static_cast<QNetworkCookie*>(cookie));
}
void QWebEngineCookieStore_ConnectCookieRemoved(void* ptr)
{
QObject::connect(static_cast<QWebEngineCookieStore*>(ptr), static_cast<void (QWebEngineCookieStore::*)(const QNetworkCookie &)>(&QWebEngineCookieStore::cookieRemoved), static_cast<MyQWebEngineCookieStore*>(ptr), static_cast<void (MyQWebEngineCookieStore::*)(const QNetworkCookie &)>(&MyQWebEngineCookieStore::Signal_CookieRemoved));
}
void QWebEngineCookieStore_DisconnectCookieRemoved(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineCookieStore*>(ptr), static_cast<void (QWebEngineCookieStore::*)(const QNetworkCookie &)>(&QWebEngineCookieStore::cookieRemoved), static_cast<MyQWebEngineCookieStore*>(ptr), static_cast<void (MyQWebEngineCookieStore::*)(const QNetworkCookie &)>(&MyQWebEngineCookieStore::Signal_CookieRemoved));
}
void QWebEngineCookieStore_CookieRemoved(void* ptr, void* cookie)
{
static_cast<QWebEngineCookieStore*>(ptr)->cookieRemoved(*static_cast<QNetworkCookie*>(cookie));
}
void QWebEngineCookieStore_DeleteAllCookies(void* ptr)
{
static_cast<QWebEngineCookieStore*>(ptr)->deleteAllCookies();
}
void QWebEngineCookieStore_DeleteCookie(void* ptr, void* cookie, void* origin)
{
static_cast<QWebEngineCookieStore*>(ptr)->deleteCookie(*static_cast<QNetworkCookie*>(cookie), *static_cast<QUrl*>(origin));
}
void QWebEngineCookieStore_DeleteSessionCookies(void* ptr)
{
static_cast<QWebEngineCookieStore*>(ptr)->deleteSessionCookies();
}
void QWebEngineCookieStore_LoadAllCookies(void* ptr)
{
static_cast<QWebEngineCookieStore*>(ptr)->loadAllCookies();
}
void QWebEngineCookieStore_SetCookie(void* ptr, void* cookie, void* origin)
{
static_cast<QWebEngineCookieStore*>(ptr)->setCookie(*static_cast<QNetworkCookie*>(cookie), *static_cast<QUrl*>(origin));
}
void QWebEngineCookieStore_DestroyQWebEngineCookieStore(void* ptr)
{
static_cast<QWebEngineCookieStore*>(ptr)->~QWebEngineCookieStore();
}
void QWebEngineCookieStore_DestroyQWebEngineCookieStoreDefault(void* ptr)
{
}
2016-05-11 16:33:24 +03:00
void QWebEngineCookieStore_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineCookieStore*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineCookieStore_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineCookieStore_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineCookieStore*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineCookieStore_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineCookieStore_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineCookieStore*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineCookieStore_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineCookieStore_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineCookieStore*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineCookieStore_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineCookieStore_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineCookieStore*>(ptr), "deleteLater");
}
void QWebEngineCookieStore_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::deleteLater();
}
void QWebEngineCookieStore_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineCookieStore*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineCookieStore_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineCookieStore_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineCookieStore*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEngineCookieStore_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::event(static_cast<QEvent*>(e));
}
char QWebEngineCookieStore_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineCookieStore*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineCookieStore_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineCookieStore_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineCookieStore*>(ptr)->metaObject());
}
void* QWebEngineCookieStore_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineCookieStore*>(ptr)->QWebEngineCookieStore::metaObject());
}
class MyQWebEngineDownloadItem: public QWebEngineDownloadItem
{
public:
void accept() { callbackQWebEngineDownloadItem_Accept(this); };
void cancel() { callbackQWebEngineDownloadItem_Cancel(this); };
void Signal_DownloadProgress(qint64 bytesReceived, qint64 bytesTotal) { callbackQWebEngineDownloadItem_DownloadProgress(this, bytesReceived, bytesTotal); };
void Signal_Finished() { callbackQWebEngineDownloadItem_Finished(this); };
void Signal_StateChanged(QWebEngineDownloadItem::DownloadState state) { callbackQWebEngineDownloadItem_StateChanged(this, state); };
void timerEvent(QTimerEvent * event) { callbackQWebEngineDownloadItem_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEngineDownloadItem_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEngineDownloadItem_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEngineDownloadItem_CustomEvent(this, event); };
void deleteLater() { callbackQWebEngineDownloadItem_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEngineDownloadItem_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool event(QEvent * e) { return callbackQWebEngineDownloadItem_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineDownloadItem_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEngineDownloadItem_MetaObject(const_cast<MyQWebEngineDownloadItem*>(this))); };
2016-05-11 16:33:24 +03:00
};
void QWebEngineDownloadItem_Accept(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineDownloadItem*>(ptr), "accept");
}
void QWebEngineDownloadItem_Cancel(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineDownloadItem*>(ptr), "cancel");
}
void QWebEngineDownloadItem_ConnectDownloadProgress(void* ptr)
{
QObject::connect(static_cast<QWebEngineDownloadItem*>(ptr), static_cast<void (QWebEngineDownloadItem::*)(qint64, qint64)>(&QWebEngineDownloadItem::downloadProgress), static_cast<MyQWebEngineDownloadItem*>(ptr), static_cast<void (MyQWebEngineDownloadItem::*)(qint64, qint64)>(&MyQWebEngineDownloadItem::Signal_DownloadProgress));
}
void QWebEngineDownloadItem_DisconnectDownloadProgress(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineDownloadItem*>(ptr), static_cast<void (QWebEngineDownloadItem::*)(qint64, qint64)>(&QWebEngineDownloadItem::downloadProgress), static_cast<MyQWebEngineDownloadItem*>(ptr), static_cast<void (MyQWebEngineDownloadItem::*)(qint64, qint64)>(&MyQWebEngineDownloadItem::Signal_DownloadProgress));
}
void QWebEngineDownloadItem_DownloadProgress(void* ptr, long long bytesReceived, long long bytesTotal)
{
static_cast<QWebEngineDownloadItem*>(ptr)->downloadProgress(bytesReceived, bytesTotal);
2016-05-11 16:33:24 +03:00
}
void QWebEngineDownloadItem_ConnectFinished(void* ptr)
{
QObject::connect(static_cast<QWebEngineDownloadItem*>(ptr), static_cast<void (QWebEngineDownloadItem::*)()>(&QWebEngineDownloadItem::finished), static_cast<MyQWebEngineDownloadItem*>(ptr), static_cast<void (MyQWebEngineDownloadItem::*)()>(&MyQWebEngineDownloadItem::Signal_Finished));
}
void QWebEngineDownloadItem_DisconnectFinished(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineDownloadItem*>(ptr), static_cast<void (QWebEngineDownloadItem::*)()>(&QWebEngineDownloadItem::finished), static_cast<MyQWebEngineDownloadItem*>(ptr), static_cast<void (MyQWebEngineDownloadItem::*)()>(&MyQWebEngineDownloadItem::Signal_Finished));
}
void QWebEngineDownloadItem_Finished(void* ptr)
{
static_cast<QWebEngineDownloadItem*>(ptr)->finished();
}
unsigned int QWebEngineDownloadItem_Id(void* ptr)
{
return static_cast<QWebEngineDownloadItem*>(ptr)->id();
}
char QWebEngineDownloadItem_IsFinished(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->isFinished();
}
struct QtWebEngine_PackedString QWebEngineDownloadItem_MimeType(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t158c86 = static_cast<QWebEngineDownloadItem*>(ptr)->mimeType().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t158c86.prepend("WHITESPACE").constData()+10), t158c86.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
struct QtWebEngine_PackedString QWebEngineDownloadItem_Path(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray ta9b8b3 = static_cast<QWebEngineDownloadItem*>(ptr)->path().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(ta9b8b3.prepend("WHITESPACE").constData()+10), ta9b8b3.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
long long QWebEngineDownloadItem_ReceivedBytes(void* ptr)
{
return static_cast<QWebEngineDownloadItem*>(ptr)->receivedBytes();
2016-05-11 16:33:24 +03:00
}
long long QWebEngineDownloadItem_SavePageFormat(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->savePageFormat();
}
2016-05-11 16:33:24 +03:00
void QWebEngineDownloadItem_SetPath(void* ptr, char* path)
{
static_cast<QWebEngineDownloadItem*>(ptr)->setPath(QString(path));
}
void QWebEngineDownloadItem_SetSavePageFormat(void* ptr, long long format)
2016-06-16 18:49:55 +03:00
{
static_cast<QWebEngineDownloadItem*>(ptr)->setSavePageFormat(static_cast<QWebEngineDownloadItem::SavePageFormat>(format));
}
long long QWebEngineDownloadItem_State(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->state();
}
void QWebEngineDownloadItem_ConnectStateChanged(void* ptr)
{
QObject::connect(static_cast<QWebEngineDownloadItem*>(ptr), static_cast<void (QWebEngineDownloadItem::*)(QWebEngineDownloadItem::DownloadState)>(&QWebEngineDownloadItem::stateChanged), static_cast<MyQWebEngineDownloadItem*>(ptr), static_cast<void (MyQWebEngineDownloadItem::*)(QWebEngineDownloadItem::DownloadState)>(&MyQWebEngineDownloadItem::Signal_StateChanged));
}
void QWebEngineDownloadItem_DisconnectStateChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineDownloadItem*>(ptr), static_cast<void (QWebEngineDownloadItem::*)(QWebEngineDownloadItem::DownloadState)>(&QWebEngineDownloadItem::stateChanged), static_cast<MyQWebEngineDownloadItem*>(ptr), static_cast<void (MyQWebEngineDownloadItem::*)(QWebEngineDownloadItem::DownloadState)>(&MyQWebEngineDownloadItem::Signal_StateChanged));
}
void QWebEngineDownloadItem_StateChanged(void* ptr, long long state)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineDownloadItem*>(ptr)->stateChanged(static_cast<QWebEngineDownloadItem::DownloadState>(state));
}
long long QWebEngineDownloadItem_TotalBytes(void* ptr)
{
return static_cast<QWebEngineDownloadItem*>(ptr)->totalBytes();
2016-05-11 16:33:24 +03:00
}
void* QWebEngineDownloadItem_Url(void* ptr)
{
return new QUrl(static_cast<QWebEngineDownloadItem*>(ptr)->url());
}
void QWebEngineDownloadItem_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineDownloadItem*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineDownloadItem_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineDownloadItem_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineDownloadItem*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineDownloadItem_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineDownloadItem_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineDownloadItem*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineDownloadItem_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineDownloadItem_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineDownloadItem*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineDownloadItem_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineDownloadItem_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineDownloadItem*>(ptr), "deleteLater");
}
void QWebEngineDownloadItem_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::deleteLater();
}
void QWebEngineDownloadItem_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineDownloadItem*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineDownloadItem_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineDownloadItem_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEngineDownloadItem_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::event(static_cast<QEvent*>(e));
}
char QWebEngineDownloadItem_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineDownloadItem_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineDownloadItem_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineDownloadItem*>(ptr)->metaObject());
}
void* QWebEngineDownloadItem_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineDownloadItem*>(ptr)->QWebEngineDownloadItem::metaObject());
}
2016-06-16 18:49:55 +03:00
void QWebEngineFullScreenRequest_Accept(void* ptr)
{
static_cast<QWebEngineFullScreenRequest*>(ptr)->accept();
}
void* QWebEngineFullScreenRequest_Origin(void* ptr)
{
2016-08-20 00:20:42 +03:00
return const_cast<QUrl*>(&static_cast<QWebEngineFullScreenRequest*>(ptr)->origin());
2016-06-16 18:49:55 +03:00
}
void QWebEngineFullScreenRequest_Reject(void* ptr)
{
static_cast<QWebEngineFullScreenRequest*>(ptr)->reject();
}
char QWebEngineFullScreenRequest_ToggleOn(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEngineFullScreenRequest*>(ptr)->toggleOn();
}
2016-05-11 16:33:24 +03:00
void QWebEngineHistory_Back(void* ptr)
{
static_cast<QWebEngineHistory*>(ptr)->back();
}
void* QWebEngineHistory_BackItem(void* ptr)
{
return new QWebEngineHistoryItem(static_cast<QWebEngineHistory*>(ptr)->backItem());
}
2016-11-16 01:07:05 +03:00
struct QtWebEngine_PackedList QWebEngineHistory_BackItems(void* ptr, int maxItems)
{
return ({ QList<QWebEngineHistoryItem>* tmpValue = new QList<QWebEngineHistoryItem>(static_cast<QWebEngineHistory*>(ptr)->backItems(maxItems)); QtWebEngine_PackedList { tmpValue, tmpValue->size() }; });
}
char QWebEngineHistory_CanGoBack(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineHistory*>(ptr)->canGoBack();
}
char QWebEngineHistory_CanGoForward(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineHistory*>(ptr)->canGoForward();
}
void QWebEngineHistory_Clear(void* ptr)
{
static_cast<QWebEngineHistory*>(ptr)->clear();
}
int QWebEngineHistory_Count(void* ptr)
{
return static_cast<QWebEngineHistory*>(ptr)->count();
}
void* QWebEngineHistory_CurrentItem(void* ptr)
{
return new QWebEngineHistoryItem(static_cast<QWebEngineHistory*>(ptr)->currentItem());
}
int QWebEngineHistory_CurrentItemIndex(void* ptr)
{
return static_cast<QWebEngineHistory*>(ptr)->currentItemIndex();
}
void QWebEngineHistory_Forward(void* ptr)
{
static_cast<QWebEngineHistory*>(ptr)->forward();
}
void* QWebEngineHistory_ForwardItem(void* ptr)
{
return new QWebEngineHistoryItem(static_cast<QWebEngineHistory*>(ptr)->forwardItem());
}
2016-11-16 01:07:05 +03:00
struct QtWebEngine_PackedList QWebEngineHistory_ForwardItems(void* ptr, int maxItems)
{
return ({ QList<QWebEngineHistoryItem>* tmpValue = new QList<QWebEngineHistoryItem>(static_cast<QWebEngineHistory*>(ptr)->forwardItems(maxItems)); QtWebEngine_PackedList { tmpValue, tmpValue->size() }; });
}
2016-05-11 16:33:24 +03:00
void QWebEngineHistory_GoToItem(void* ptr, void* item)
{
static_cast<QWebEngineHistory*>(ptr)->goToItem(*static_cast<QWebEngineHistoryItem*>(item));
}
void* QWebEngineHistory_ItemAt(void* ptr, int i)
{
return new QWebEngineHistoryItem(static_cast<QWebEngineHistory*>(ptr)->itemAt(i));
}
2016-11-16 01:07:05 +03:00
struct QtWebEngine_PackedList QWebEngineHistory_Items(void* ptr)
{
return ({ QList<QWebEngineHistoryItem>* tmpValue = new QList<QWebEngineHistoryItem>(static_cast<QWebEngineHistory*>(ptr)->items()); QtWebEngine_PackedList { tmpValue, tmpValue->size() }; });
}
void* QWebEngineHistory_backItems_atList(void* ptr, int i)
{
return new QWebEngineHistoryItem(static_cast<QList<QWebEngineHistoryItem>*>(ptr)->at(i));
}
void* QWebEngineHistory_forwardItems_atList(void* ptr, int i)
{
return new QWebEngineHistoryItem(static_cast<QList<QWebEngineHistoryItem>*>(ptr)->at(i));
}
void* QWebEngineHistory_items_atList(void* ptr, int i)
{
return new QWebEngineHistoryItem(static_cast<QList<QWebEngineHistoryItem>*>(ptr)->at(i));
}
2016-05-11 16:33:24 +03:00
void* QWebEngineHistoryItem_NewQWebEngineHistoryItem(void* other)
{
return new QWebEngineHistoryItem(*static_cast<QWebEngineHistoryItem*>(other));
}
char QWebEngineHistoryItem_IsValid(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineHistoryItem*>(ptr)->isValid();
}
void* QWebEngineHistoryItem_LastVisited(void* ptr)
{
return new QDateTime(static_cast<QWebEngineHistoryItem*>(ptr)->lastVisited());
}
void* QWebEngineHistoryItem_OriginalUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineHistoryItem*>(ptr)->originalUrl());
}
struct QtWebEngine_PackedString QWebEngineHistoryItem_Title(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray tda127c = static_cast<QWebEngineHistoryItem*>(ptr)->title().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(tda127c.prepend("WHITESPACE").constData()+10), tda127c.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void* QWebEngineHistoryItem_Url(void* ptr)
{
return new QUrl(static_cast<QWebEngineHistoryItem*>(ptr)->url());
}
void QWebEngineHistoryItem_DestroyQWebEngineHistoryItem(void* ptr)
{
static_cast<QWebEngineHistoryItem*>(ptr)->~QWebEngineHistoryItem();
}
void* QWebEngineHistoryItem_IconUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineHistoryItem*>(ptr)->iconUrl());
}
void QWebEngineHistoryItem_Swap(void* ptr, void* other)
{
static_cast<QWebEngineHistoryItem*>(ptr)->swap(*static_cast<QWebEngineHistoryItem*>(other));
}
class MyQWebEnginePage: public QWebEnginePage
{
public:
MyQWebEnginePage(QObject *parent) : QWebEnginePage(parent) {};
MyQWebEnginePage(QWebEngineProfile *profile, QObject *parent) : QWebEnginePage(profile, parent) {};
bool acceptNavigationRequest(const QUrl & url, QWebEnginePage::NavigationType ty, bool isMainFrame) { return callbackQWebEnginePage_AcceptNavigationRequest(this, const_cast<QUrl*>(&url), ty, isMainFrame) != 0; };
bool certificateError(const QWebEngineCertificateError & certificateError) { return callbackQWebEnginePage_CertificateError(this, const_cast<QWebEngineCertificateError*>(&certificateError)) != 0; };
QStringList chooseFiles(QWebEnginePage::FileSelectionMode mode, const QStringList & oldFiles, const QStringList & acceptedMimeTypes) { QByteArray t76015f = oldFiles.join("|").toUtf8(); QtWebEngine_PackedString oldFilesPacked = { const_cast<char*>(t76015f.prepend("WHITESPACE").constData()+10), t76015f.size()-10 };QByteArray t541092 = acceptedMimeTypes.join("|").toUtf8(); QtWebEngine_PackedString acceptedMimeTypesPacked = { const_cast<char*>(t541092.prepend("WHITESPACE").constData()+10), t541092.size()-10 };return QString(callbackQWebEnginePage_ChooseFiles(this, mode, oldFilesPacked, acceptedMimeTypesPacked)).split("|", QString::SkipEmptyParts); };
QWebEnginePage * createWindow(QWebEnginePage::WebWindowType ty) { return static_cast<QWebEnginePage*>(callbackQWebEnginePage_CreateWindow(this, ty)); };
void javaScriptAlert(const QUrl & securityOrigin, const QString & msg) { QByteArray t19f34e = msg.toUtf8(); QtWebEngine_PackedString msgPacked = { const_cast<char*>(t19f34e.prepend("WHITESPACE").constData()+10), t19f34e.size()-10 };callbackQWebEnginePage_JavaScriptAlert(this, const_cast<QUrl*>(&securityOrigin), msgPacked); };
bool javaScriptConfirm(const QUrl & securityOrigin, const QString & msg) { QByteArray t19f34e = msg.toUtf8(); QtWebEngine_PackedString msgPacked = { const_cast<char*>(t19f34e.prepend("WHITESPACE").constData()+10), t19f34e.size()-10 };return callbackQWebEnginePage_JavaScriptConfirm(this, const_cast<QUrl*>(&securityOrigin), msgPacked) != 0; };
void javaScriptConsoleMessage(QWebEnginePage::JavaScriptConsoleMessageLevel level, const QString & message, int lineNumber, const QString & sourceID) { QByteArray t6f9b9a = message.toUtf8(); QtWebEngine_PackedString messagePacked = { const_cast<char*>(t6f9b9a.prepend("WHITESPACE").constData()+10), t6f9b9a.size()-10 };QByteArray tf767e3 = sourceID.toUtf8(); QtWebEngine_PackedString sourceIDPacked = { const_cast<char*>(tf767e3.prepend("WHITESPACE").constData()+10), tf767e3.size()-10 };callbackQWebEnginePage_JavaScriptConsoleMessage(this, level, messagePacked, lineNumber, sourceIDPacked); };
bool javaScriptPrompt(const QUrl & securityOrigin, const QString & msg, const QString & defaultValue, QString * result) { QByteArray t19f34e = msg.toUtf8(); QtWebEngine_PackedString msgPacked = { const_cast<char*>(t19f34e.prepend("WHITESPACE").constData()+10), t19f34e.size()-10 };QByteArray te940d2 = defaultValue.toUtf8(); QtWebEngine_PackedString defaultValuePacked = { const_cast<char*>(te940d2.prepend("WHITESPACE").constData()+10), te940d2.size()-10 };QByteArray t37a530 = result->toUtf8(); QtWebEngine_PackedString resultPacked = { const_cast<char*>(t37a530.prepend("WHITESPACE").constData()+10), t37a530.size()-10 };return callbackQWebEnginePage_JavaScriptPrompt(this, const_cast<QUrl*>(&securityOrigin), msgPacked, defaultValuePacked, resultPacked) != 0; };
void triggerAction(QWebEnginePage::WebAction action, bool checked) { callbackQWebEnginePage_TriggerAction(this, action, checked); };
void Signal_AudioMutedChanged(bool muted) { callbackQWebEnginePage_AudioMutedChanged(this, muted); };
void Signal_AuthenticationRequired(const QUrl & requestUrl, QAuthenticator * authenticator) { callbackQWebEnginePage_AuthenticationRequired(this, const_cast<QUrl*>(&requestUrl), authenticator); };
void Signal_ContentsSizeChanged(const QSizeF & size) { callbackQWebEnginePage_ContentsSizeChanged(this, const_cast<QSizeF*>(&size)); };
bool event(QEvent * e) { return callbackQWebEnginePage_Event(this, e) != 0; };
void Signal_FeaturePermissionRequestCanceled(const QUrl & securityOrigin, QWebEnginePage::Feature feature) { callbackQWebEnginePage_FeaturePermissionRequestCanceled(this, const_cast<QUrl*>(&securityOrigin), feature); };
void Signal_FeaturePermissionRequested(const QUrl & securityOrigin, QWebEnginePage::Feature feature) { callbackQWebEnginePage_FeaturePermissionRequested(this, const_cast<QUrl*>(&securityOrigin), feature); };
void Signal_GeometryChangeRequested(const QRect & geom) { callbackQWebEnginePage_GeometryChangeRequested(this, const_cast<QRect*>(&geom)); };
void Signal_IconChanged(const QIcon & icon) { callbackQWebEnginePage_IconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_IconUrlChanged(const QUrl & url) { callbackQWebEnginePage_IconUrlChanged(this, const_cast<QUrl*>(&url)); };
void Signal_LinkHovered(const QString & url) { QByteArray t817363 = url.toUtf8(); QtWebEngine_PackedString urlPacked = { const_cast<char*>(t817363.prepend("WHITESPACE").constData()+10), t817363.size()-10 };callbackQWebEnginePage_LinkHovered(this, urlPacked); };
void Signal_LoadFinished(bool ok) { callbackQWebEnginePage_LoadFinished(this, ok); };
void Signal_LoadProgress(int progress) { callbackQWebEnginePage_LoadProgress(this, progress); };
void Signal_LoadStarted() { callbackQWebEnginePage_LoadStarted(this); };
void Signal_ProxyAuthenticationRequired(const QUrl & requestUrl, QAuthenticator * authenticator, const QString & proxyHost) { QByteArray teddfac = proxyHost.toUtf8(); QtWebEngine_PackedString proxyHostPacked = { const_cast<char*>(teddfac.prepend("WHITESPACE").constData()+10), teddfac.size()-10 };callbackQWebEnginePage_ProxyAuthenticationRequired(this, const_cast<QUrl*>(&requestUrl), authenticator, proxyHostPacked); };
void Signal_RecentlyAudibleChanged(bool recentlyAudible) { callbackQWebEnginePage_RecentlyAudibleChanged(this, recentlyAudible); };
void Signal_RenderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode) { callbackQWebEnginePage_RenderProcessTerminated(this, terminationStatus, exitCode); };
void Signal_ScrollPositionChanged(const QPointF & position) { callbackQWebEnginePage_ScrollPositionChanged(this, const_cast<QPointF*>(&position)); };
void Signal_SelectionChanged() { callbackQWebEnginePage_SelectionChanged(this); };
void Signal_TitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWebEngine_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWebEnginePage_TitleChanged(this, titlePacked); };
void Signal_UrlChanged(const QUrl & url) { callbackQWebEnginePage_UrlChanged(this, const_cast<QUrl*>(&url)); };
void Signal_WindowCloseRequested() { callbackQWebEnginePage_WindowCloseRequested(this); };
void timerEvent(QTimerEvent * event) { callbackQWebEnginePage_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEnginePage_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEnginePage_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEnginePage_CustomEvent(this, event); };
void deleteLater() { callbackQWebEnginePage_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEnginePage_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEnginePage_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEnginePage_MetaObject(const_cast<MyQWebEnginePage*>(this))); };
2016-05-11 16:33:24 +03:00
};
void* QWebEnginePage_NewQWebEnginePage(void* parent)
{
return new MyQWebEnginePage(static_cast<QObject*>(parent));
}
char QWebEnginePage_AcceptNavigationRequest(void* ptr, void* url, long long ty, char isMainFrame)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->acceptNavigationRequest(*static_cast<QUrl*>(url), static_cast<QWebEnginePage::NavigationType>(ty), isMainFrame != 0);
}
char QWebEnginePage_AcceptNavigationRequestDefault(void* ptr, void* url, long long ty, char isMainFrame)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::acceptNavigationRequest(*static_cast<QUrl*>(url), static_cast<QWebEnginePage::NavigationType>(ty), isMainFrame != 0);
}
void* QWebEnginePage_Action(void* ptr, long long action)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->action(static_cast<QWebEnginePage::WebAction>(action));
}
void* QWebEnginePage_BackgroundColor(void* ptr)
{
return new QColor(static_cast<QWebEnginePage*>(ptr)->backgroundColor());
}
char QWebEnginePage_CertificateError(void* ptr, void* certificateError)
2016-08-20 00:20:42 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->certificateError(*static_cast<QWebEngineCertificateError*>(certificateError));
}
char QWebEnginePage_CertificateErrorDefault(void* ptr, void* certificateError)
2016-08-20 00:20:42 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::certificateError(*static_cast<QWebEngineCertificateError*>(certificateError));
}
struct QtWebEngine_PackedString QWebEnginePage_ChooseFiles(void* ptr, long long mode, char* oldFiles, char* acceptedMimeTypes)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray tbef4f3 = static_cast<QWebEnginePage*>(ptr)->chooseFiles(static_cast<QWebEnginePage::FileSelectionMode>(mode), QString(oldFiles).split("|", QString::SkipEmptyParts), QString(acceptedMimeTypes).split("|", QString::SkipEmptyParts)).join("|").toUtf8(); QtWebEngine_PackedString { const_cast<char*>(tbef4f3.prepend("WHITESPACE").constData()+10), tbef4f3.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
struct QtWebEngine_PackedString QWebEnginePage_ChooseFilesDefault(void* ptr, long long mode, char* oldFiles, char* acceptedMimeTypes)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray te5a7b3 = static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::chooseFiles(static_cast<QWebEnginePage::FileSelectionMode>(mode), QString(oldFiles).split("|", QString::SkipEmptyParts), QString(acceptedMimeTypes).split("|", QString::SkipEmptyParts)).join("|").toUtf8(); QtWebEngine_PackedString { const_cast<char*>(te5a7b3.prepend("WHITESPACE").constData()+10), te5a7b3.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
2016-06-16 18:49:55 +03:00
void* QWebEnginePage_ContentsSize(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QSizeF tmpValue = static_cast<QWebEnginePage*>(ptr)->contentsSize(); new QSizeF(tmpValue.width(), tmpValue.height()); });
2016-06-16 18:49:55 +03:00
}
2016-05-11 16:33:24 +03:00
void* QWebEnginePage_CreateStandardContextMenu(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->createStandardContextMenu();
}
void* QWebEnginePage_CreateWindow(void* ptr, long long ty)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->createWindow(static_cast<QWebEnginePage::WebWindowType>(ty));
}
void* QWebEnginePage_CreateWindowDefault(void* ptr, long long ty)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::createWindow(static_cast<QWebEnginePage::WebWindowType>(ty));
}
char QWebEnginePage_HasSelection(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->hasSelection();
}
void* QWebEnginePage_History(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->history();
}
2016-06-16 18:49:55 +03:00
void* QWebEnginePage_Icon(void* ptr)
{
return new QIcon(static_cast<QWebEnginePage*>(ptr)->icon());
}
2016-05-11 16:33:24 +03:00
void* QWebEnginePage_IconUrl(void* ptr)
{
return new QUrl(static_cast<QWebEnginePage*>(ptr)->iconUrl());
}
char QWebEnginePage_IsAudioMuted(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->isAudioMuted();
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_JavaScriptAlert(void* ptr, void* securityOrigin, char* msg)
{
static_cast<QWebEnginePage*>(ptr)->javaScriptAlert(*static_cast<QUrl*>(securityOrigin), QString(msg));
}
void QWebEnginePage_JavaScriptAlertDefault(void* ptr, void* securityOrigin, char* msg)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::javaScriptAlert(*static_cast<QUrl*>(securityOrigin), QString(msg));
}
char QWebEnginePage_JavaScriptConfirm(void* ptr, void* securityOrigin, char* msg)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->javaScriptConfirm(*static_cast<QUrl*>(securityOrigin), QString(msg));
}
char QWebEnginePage_JavaScriptConfirmDefault(void* ptr, void* securityOrigin, char* msg)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::javaScriptConfirm(*static_cast<QUrl*>(securityOrigin), QString(msg));
}
void QWebEnginePage_JavaScriptConsoleMessage(void* ptr, long long level, char* message, int lineNumber, char* sourceID)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->javaScriptConsoleMessage(static_cast<QWebEnginePage::JavaScriptConsoleMessageLevel>(level), QString(message), lineNumber, QString(sourceID));
}
void QWebEnginePage_JavaScriptConsoleMessageDefault(void* ptr, long long level, char* message, int lineNumber, char* sourceID)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::javaScriptConsoleMessage(static_cast<QWebEnginePage::JavaScriptConsoleMessageLevel>(level), QString(message), lineNumber, QString(sourceID));
}
char QWebEnginePage_JavaScriptPrompt(void* ptr, void* securityOrigin, char* msg, char* defaultValue, char* result)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->javaScriptPrompt(*static_cast<QUrl*>(securityOrigin), QString(msg), QString(defaultValue), new QString(result));
}
char QWebEnginePage_JavaScriptPromptDefault(void* ptr, void* securityOrigin, char* msg, char* defaultValue, char* result)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::javaScriptPrompt(*static_cast<QUrl*>(securityOrigin), QString(msg), QString(defaultValue), new QString(result));
}
void QWebEnginePage_Load(void* ptr, void* url)
{
static_cast<QWebEnginePage*>(ptr)->load(*static_cast<QUrl*>(url));
}
char QWebEnginePage_RecentlyAudible(void* ptr)
2016-06-16 18:49:55 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->recentlyAudible();
}
2016-05-11 16:33:24 +03:00
void* QWebEnginePage_RequestedUrl(void* ptr)
{
return new QUrl(static_cast<QWebEnginePage*>(ptr)->requestedUrl());
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_RunJavaScript4(void* ptr, char* scriptSource)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->runJavaScript(QString(scriptSource));
}
void QWebEnginePage_RunJavaScript2(void* ptr, char* scriptSource, unsigned int worldId)
{
static_cast<QWebEnginePage*>(ptr)->runJavaScript(QString(scriptSource), worldId);
}
2016-06-16 18:49:55 +03:00
void* QWebEnginePage_ScrollPosition(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QPointF tmpValue = static_cast<QWebEnginePage*>(ptr)->scrollPosition(); new QPointF(tmpValue.x(), tmpValue.y()); });
2016-06-16 18:49:55 +03:00
}
struct QtWebEngine_PackedString QWebEnginePage_SelectedText(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t729dfc = static_cast<QWebEnginePage*>(ptr)->selectedText().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t729dfc.prepend("WHITESPACE").constData()+10), t729dfc.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEnginePage_SetAudioMuted(void* ptr, char muted)
2016-06-16 18:49:55 +03:00
{
static_cast<QWebEnginePage*>(ptr)->setAudioMuted(muted != 0);
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_SetBackgroundColor(void* ptr, void* color)
{
static_cast<QWebEnginePage*>(ptr)->setBackgroundColor(*static_cast<QColor*>(color));
}
void QWebEnginePage_SetContent(void* ptr, void* data, char* mimeType, void* baseUrl)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->setContent(*static_cast<QByteArray*>(data), QString(mimeType), *static_cast<QUrl*>(baseUrl));
2016-05-11 16:33:24 +03:00
}
void QWebEnginePage_SetFeaturePermission(void* ptr, void* securityOrigin, long long feature, long long policy)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->setFeaturePermission(*static_cast<QUrl*>(securityOrigin), static_cast<QWebEnginePage::Feature>(feature), static_cast<QWebEnginePage::PermissionPolicy>(policy));
}
void QWebEnginePage_SetHtml(void* ptr, char* html, void* baseUrl)
{
static_cast<QWebEnginePage*>(ptr)->setHtml(QString(html), *static_cast<QUrl*>(baseUrl));
}
void QWebEnginePage_SetUrl(void* ptr, void* url)
{
static_cast<QWebEnginePage*>(ptr)->setUrl(*static_cast<QUrl*>(url));
}
void QWebEnginePage_SetView(void* ptr, void* view)
{
static_cast<QWebEnginePage*>(ptr)->setView(static_cast<QWidget*>(view));
}
void QWebEnginePage_SetZoomFactor(void* ptr, double factor)
{
static_cast<QWebEnginePage*>(ptr)->setZoomFactor(factor);
2016-05-11 16:33:24 +03:00
}
void* QWebEnginePage_Settings(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->settings();
}
struct QtWebEngine_PackedString QWebEnginePage_Title(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t311622 = static_cast<QWebEnginePage*>(ptr)->title().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t311622.prepend("WHITESPACE").constData()+10), t311622.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEnginePage_TriggerAction(void* ptr, long long action, char checked)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->triggerAction(static_cast<QWebEnginePage::WebAction>(action), checked != 0);
}
void QWebEnginePage_TriggerActionDefault(void* ptr, long long action, char checked)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::triggerAction(static_cast<QWebEnginePage::WebAction>(action), checked != 0);
}
void* QWebEnginePage_Url(void* ptr)
{
return new QUrl(static_cast<QWebEnginePage*>(ptr)->url());
}
void* QWebEnginePage_View(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->view();
}
double QWebEnginePage_ZoomFactor(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->zoomFactor();
2016-05-11 16:33:24 +03:00
}
void QWebEnginePage_DestroyQWebEnginePage(void* ptr)
{
static_cast<QWebEnginePage*>(ptr)->~QWebEnginePage();
}
void* QWebEnginePage_NewQWebEnginePage2(void* profile, void* parent)
{
return new MyQWebEnginePage(static_cast<QWebEngineProfile*>(profile), static_cast<QObject*>(parent));
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_ConnectAudioMutedChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(bool)>(&QWebEnginePage::audioMutedChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(bool)>(&MyQWebEnginePage::Signal_AudioMutedChanged));
}
void QWebEnginePage_DisconnectAudioMutedChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(bool)>(&QWebEnginePage::audioMutedChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(bool)>(&MyQWebEnginePage::Signal_AudioMutedChanged));
}
void QWebEnginePage_AudioMutedChanged(void* ptr, char muted)
2016-06-16 18:49:55 +03:00
{
static_cast<QWebEnginePage*>(ptr)->audioMutedChanged(muted != 0);
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_ConnectAuthenticationRequired(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QAuthenticator *)>(&QWebEnginePage::authenticationRequired), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QAuthenticator *)>(&MyQWebEnginePage::Signal_AuthenticationRequired));
}
void QWebEnginePage_DisconnectAuthenticationRequired(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QAuthenticator *)>(&QWebEnginePage::authenticationRequired), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QAuthenticator *)>(&MyQWebEnginePage::Signal_AuthenticationRequired));
}
void QWebEnginePage_AuthenticationRequired(void* ptr, void* requestUrl, void* authenticator)
{
static_cast<QWebEnginePage*>(ptr)->authenticationRequired(*static_cast<QUrl*>(requestUrl), static_cast<QAuthenticator*>(authenticator));
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_ConnectContentsSizeChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QSizeF &)>(&QWebEnginePage::contentsSizeChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QSizeF &)>(&MyQWebEnginePage::Signal_ContentsSizeChanged));
}
void QWebEnginePage_DisconnectContentsSizeChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QSizeF &)>(&QWebEnginePage::contentsSizeChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QSizeF &)>(&MyQWebEnginePage::Signal_ContentsSizeChanged));
}
void QWebEnginePage_ContentsSizeChanged(void* ptr, void* size)
{
static_cast<QWebEnginePage*>(ptr)->contentsSizeChanged(*static_cast<QSizeF*>(size));
}
void* QWebEnginePage_ContextMenuData(void* ptr)
{
2016-08-20 00:20:42 +03:00
return const_cast<QWebEngineContextMenuData*>(&static_cast<QWebEnginePage*>(ptr)->contextMenuData());
2016-06-16 18:49:55 +03:00
}
char QWebEnginePage_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEnginePage_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::event(static_cast<QEvent*>(e));
}
void QWebEnginePage_ConnectFeaturePermissionRequestCanceled(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&QWebEnginePage::featurePermissionRequestCanceled), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&MyQWebEnginePage::Signal_FeaturePermissionRequestCanceled));
}
void QWebEnginePage_DisconnectFeaturePermissionRequestCanceled(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&QWebEnginePage::featurePermissionRequestCanceled), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&MyQWebEnginePage::Signal_FeaturePermissionRequestCanceled));
}
void QWebEnginePage_FeaturePermissionRequestCanceled(void* ptr, void* securityOrigin, long long feature)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->featurePermissionRequestCanceled(*static_cast<QUrl*>(securityOrigin), static_cast<QWebEnginePage::Feature>(feature));
}
void QWebEnginePage_ConnectFeaturePermissionRequested(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&QWebEnginePage::featurePermissionRequested), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&MyQWebEnginePage::Signal_FeaturePermissionRequested));
}
void QWebEnginePage_DisconnectFeaturePermissionRequested(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&QWebEnginePage::featurePermissionRequested), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QWebEnginePage::Feature)>(&MyQWebEnginePage::Signal_FeaturePermissionRequested));
}
void QWebEnginePage_FeaturePermissionRequested(void* ptr, void* securityOrigin, long long feature)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->featurePermissionRequested(*static_cast<QUrl*>(securityOrigin), static_cast<QWebEnginePage::Feature>(feature));
}
void QWebEnginePage_FindText(void* ptr, char* subString, long long options)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->findText(QString(subString), static_cast<QWebEnginePage::FindFlag>(options));
}
void QWebEnginePage_ConnectGeometryChangeRequested(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QRect &)>(&QWebEnginePage::geometryChangeRequested), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QRect &)>(&MyQWebEnginePage::Signal_GeometryChangeRequested));
}
void QWebEnginePage_DisconnectGeometryChangeRequested(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QRect &)>(&QWebEnginePage::geometryChangeRequested), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QRect &)>(&MyQWebEnginePage::Signal_GeometryChangeRequested));
}
void QWebEnginePage_GeometryChangeRequested(void* ptr, void* geom)
{
static_cast<QWebEnginePage*>(ptr)->geometryChangeRequested(*static_cast<QRect*>(geom));
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_ConnectIconChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QIcon &)>(&QWebEnginePage::iconChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QIcon &)>(&MyQWebEnginePage::Signal_IconChanged));
}
void QWebEnginePage_DisconnectIconChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QIcon &)>(&QWebEnginePage::iconChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QIcon &)>(&MyQWebEnginePage::Signal_IconChanged));
}
void QWebEnginePage_IconChanged(void* ptr, void* icon)
{
static_cast<QWebEnginePage*>(ptr)->iconChanged(*static_cast<QIcon*>(icon));
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_ConnectIconUrlChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &)>(&QWebEnginePage::iconUrlChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &)>(&MyQWebEnginePage::Signal_IconUrlChanged));
}
void QWebEnginePage_DisconnectIconUrlChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &)>(&QWebEnginePage::iconUrlChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &)>(&MyQWebEnginePage::Signal_IconUrlChanged));
}
void QWebEnginePage_IconUrlChanged(void* ptr, void* url)
{
static_cast<QWebEnginePage*>(ptr)->iconUrlChanged(*static_cast<QUrl*>(url));
}
void QWebEnginePage_ConnectLinkHovered(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QString &)>(&QWebEnginePage::linkHovered), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QString &)>(&MyQWebEnginePage::Signal_LinkHovered));
}
void QWebEnginePage_DisconnectLinkHovered(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QString &)>(&QWebEnginePage::linkHovered), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QString &)>(&MyQWebEnginePage::Signal_LinkHovered));
}
void QWebEnginePage_LinkHovered(void* ptr, char* url)
{
static_cast<QWebEnginePage*>(ptr)->linkHovered(QString(url));
}
void QWebEnginePage_ConnectLoadFinished(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(bool)>(&QWebEnginePage::loadFinished), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(bool)>(&MyQWebEnginePage::Signal_LoadFinished));
}
void QWebEnginePage_DisconnectLoadFinished(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(bool)>(&QWebEnginePage::loadFinished), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(bool)>(&MyQWebEnginePage::Signal_LoadFinished));
}
void QWebEnginePage_LoadFinished(void* ptr, char ok)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->loadFinished(ok != 0);
}
void QWebEnginePage_ConnectLoadProgress(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(int)>(&QWebEnginePage::loadProgress), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(int)>(&MyQWebEnginePage::Signal_LoadProgress));
}
void QWebEnginePage_DisconnectLoadProgress(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(int)>(&QWebEnginePage::loadProgress), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(int)>(&MyQWebEnginePage::Signal_LoadProgress));
}
void QWebEnginePage_LoadProgress(void* ptr, int progress)
{
static_cast<QWebEnginePage*>(ptr)->loadProgress(progress);
}
void QWebEnginePage_ConnectLoadStarted(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)()>(&QWebEnginePage::loadStarted), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)()>(&MyQWebEnginePage::Signal_LoadStarted));
}
void QWebEnginePage_DisconnectLoadStarted(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)()>(&QWebEnginePage::loadStarted), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)()>(&MyQWebEnginePage::Signal_LoadStarted));
}
void QWebEnginePage_LoadStarted(void* ptr)
{
static_cast<QWebEnginePage*>(ptr)->loadStarted();
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_PrintToPdf(void* ptr, char* filePath, void* pageLayout)
{
static_cast<QWebEnginePage*>(ptr)->printToPdf(QString(filePath), *static_cast<QPageLayout*>(pageLayout));
}
2016-05-11 16:33:24 +03:00
void* QWebEnginePage_Profile(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->profile();
}
void QWebEnginePage_ConnectProxyAuthenticationRequired(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QAuthenticator *, const QString &)>(&QWebEnginePage::proxyAuthenticationRequired), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QAuthenticator *, const QString &)>(&MyQWebEnginePage::Signal_ProxyAuthenticationRequired));
}
void QWebEnginePage_DisconnectProxyAuthenticationRequired(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &, QAuthenticator *, const QString &)>(&QWebEnginePage::proxyAuthenticationRequired), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &, QAuthenticator *, const QString &)>(&MyQWebEnginePage::Signal_ProxyAuthenticationRequired));
}
void QWebEnginePage_ProxyAuthenticationRequired(void* ptr, void* requestUrl, void* authenticator, char* proxyHost)
{
static_cast<QWebEnginePage*>(ptr)->proxyAuthenticationRequired(*static_cast<QUrl*>(requestUrl), static_cast<QAuthenticator*>(authenticator), QString(proxyHost));
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_ConnectRecentlyAudibleChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(bool)>(&QWebEnginePage::recentlyAudibleChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(bool)>(&MyQWebEnginePage::Signal_RecentlyAudibleChanged));
}
void QWebEnginePage_DisconnectRecentlyAudibleChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(bool)>(&QWebEnginePage::recentlyAudibleChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(bool)>(&MyQWebEnginePage::Signal_RecentlyAudibleChanged));
}
void QWebEnginePage_RecentlyAudibleChanged(void* ptr, char recentlyAudible)
2016-06-16 18:49:55 +03:00
{
static_cast<QWebEnginePage*>(ptr)->recentlyAudibleChanged(recentlyAudible != 0);
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_ConnectRenderProcessTerminated(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&QWebEnginePage::renderProcessTerminated), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&MyQWebEnginePage::Signal_RenderProcessTerminated));
}
void QWebEnginePage_DisconnectRenderProcessTerminated(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&QWebEnginePage::renderProcessTerminated), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&MyQWebEnginePage::Signal_RenderProcessTerminated));
}
void QWebEnginePage_RenderProcessTerminated(void* ptr, long long terminationStatus, int exitCode)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->renderProcessTerminated(static_cast<QWebEnginePage::RenderProcessTerminationStatus>(terminationStatus), exitCode);
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_ConnectScrollPositionChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QPointF &)>(&QWebEnginePage::scrollPositionChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QPointF &)>(&MyQWebEnginePage::Signal_ScrollPositionChanged));
}
void QWebEnginePage_DisconnectScrollPositionChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QPointF &)>(&QWebEnginePage::scrollPositionChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QPointF &)>(&MyQWebEnginePage::Signal_ScrollPositionChanged));
}
void QWebEnginePage_ScrollPositionChanged(void* ptr, void* position)
{
static_cast<QWebEnginePage*>(ptr)->scrollPositionChanged(*static_cast<QPointF*>(position));
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)()>(&QWebEnginePage::selectionChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)()>(&MyQWebEnginePage::Signal_SelectionChanged));
}
void QWebEnginePage_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)()>(&QWebEnginePage::selectionChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)()>(&MyQWebEnginePage::Signal_SelectionChanged));
}
void QWebEnginePage_SelectionChanged(void* ptr)
{
static_cast<QWebEnginePage*>(ptr)->selectionChanged();
}
2016-06-16 18:49:55 +03:00
void QWebEnginePage_SetWebChannel2(void* ptr, void* channel)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEnginePage*>(ptr)->setWebChannel(static_cast<QWebChannel*>(channel));
}
void QWebEnginePage_SetWebChannel(void* ptr, void* channel, unsigned int worldId)
{
static_cast<QWebEnginePage*>(ptr)->setWebChannel(static_cast<QWebChannel*>(channel), worldId);
}
2016-05-11 16:33:24 +03:00
void QWebEnginePage_ConnectTitleChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QString &)>(&QWebEnginePage::titleChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QString &)>(&MyQWebEnginePage::Signal_TitleChanged));
}
void QWebEnginePage_DisconnectTitleChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QString &)>(&QWebEnginePage::titleChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QString &)>(&MyQWebEnginePage::Signal_TitleChanged));
}
void QWebEnginePage_TitleChanged(void* ptr, char* title)
{
static_cast<QWebEnginePage*>(ptr)->titleChanged(QString(title));
}
void QWebEnginePage_ConnectUrlChanged(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &)>(&QWebEnginePage::urlChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &)>(&MyQWebEnginePage::Signal_UrlChanged));
}
void QWebEnginePage_DisconnectUrlChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)(const QUrl &)>(&QWebEnginePage::urlChanged), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)(const QUrl &)>(&MyQWebEnginePage::Signal_UrlChanged));
}
void QWebEnginePage_UrlChanged(void* ptr, void* url)
{
static_cast<QWebEnginePage*>(ptr)->urlChanged(*static_cast<QUrl*>(url));
}
void* QWebEnginePage_WebChannel(void* ptr)
{
return static_cast<QWebEnginePage*>(ptr)->webChannel();
}
void QWebEnginePage_ConnectWindowCloseRequested(void* ptr)
{
QObject::connect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)()>(&QWebEnginePage::windowCloseRequested), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)()>(&MyQWebEnginePage::Signal_WindowCloseRequested));
}
void QWebEnginePage_DisconnectWindowCloseRequested(void* ptr)
{
QObject::disconnect(static_cast<QWebEnginePage*>(ptr), static_cast<void (QWebEnginePage::*)()>(&QWebEnginePage::windowCloseRequested), static_cast<MyQWebEnginePage*>(ptr), static_cast<void (MyQWebEnginePage::*)()>(&MyQWebEnginePage::Signal_WindowCloseRequested));
}
void QWebEnginePage_WindowCloseRequested(void* ptr)
{
static_cast<QWebEnginePage*>(ptr)->windowCloseRequested();
}
void QWebEnginePage_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEnginePage*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEnginePage_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEnginePage_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEnginePage*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEnginePage_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEnginePage_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEnginePage*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEnginePage_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEnginePage_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEnginePage*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEnginePage_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::customEvent(static_cast<QEvent*>(event));
}
void QWebEnginePage_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEnginePage*>(ptr), "deleteLater");
}
void QWebEnginePage_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::deleteLater();
}
void QWebEnginePage_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEnginePage*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEnginePage_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEnginePage_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEnginePage_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEnginePage_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEnginePage*>(ptr)->metaObject());
}
void* QWebEnginePage_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEnginePage*>(ptr)->QWebEnginePage::metaObject());
}
class MyQWebEngineProfile: public QWebEngineProfile
{
public:
MyQWebEngineProfile(QObject *parent) : QWebEngineProfile(parent) {};
MyQWebEngineProfile(const QString &storageName, QObject *parent) : QWebEngineProfile(storageName, parent) {};
void Signal_DownloadRequested(QWebEngineDownloadItem * download) { callbackQWebEngineProfile_DownloadRequested(this, download); };
void timerEvent(QTimerEvent * event) { callbackQWebEngineProfile_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEngineProfile_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEngineProfile_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEngineProfile_CustomEvent(this, event); };
void deleteLater() { callbackQWebEngineProfile_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEngineProfile_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool event(QEvent * e) { return callbackQWebEngineProfile_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineProfile_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEngineProfile_MetaObject(const_cast<MyQWebEngineProfile*>(this))); };
2016-05-11 16:33:24 +03:00
};
void* QWebEngineProfile_NewQWebEngineProfile(void* parent)
{
return new MyQWebEngineProfile(static_cast<QObject*>(parent));
}
void* QWebEngineProfile_NewQWebEngineProfile2(char* storageName, void* parent)
{
return new MyQWebEngineProfile(QString(storageName), static_cast<QObject*>(parent));
}
struct QtWebEngine_PackedString QWebEngineProfile_CachePath(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray td354e7 = static_cast<QWebEngineProfile*>(ptr)->cachePath().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(td354e7.prepend("WHITESPACE").constData()+10), td354e7.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEngineProfile_ClearAllVisitedLinks(void* ptr)
{
static_cast<QWebEngineProfile*>(ptr)->clearAllVisitedLinks();
}
2016-06-16 18:49:55 +03:00
void QWebEngineProfile_ClearHttpCache(void* ptr)
{
static_cast<QWebEngineProfile*>(ptr)->clearHttpCache();
}
2016-05-11 16:33:24 +03:00
void* QWebEngineProfile_CookieStore(void* ptr)
{
return static_cast<QWebEngineProfile*>(ptr)->cookieStore();
}
void* QWebEngineProfile_QWebEngineProfile_DefaultProfile()
{
return QWebEngineProfile::defaultProfile();
}
void QWebEngineProfile_ConnectDownloadRequested(void* ptr)
{
QObject::connect(static_cast<QWebEngineProfile*>(ptr), static_cast<void (QWebEngineProfile::*)(QWebEngineDownloadItem *)>(&QWebEngineProfile::downloadRequested), static_cast<MyQWebEngineProfile*>(ptr), static_cast<void (MyQWebEngineProfile::*)(QWebEngineDownloadItem *)>(&MyQWebEngineProfile::Signal_DownloadRequested));
}
void QWebEngineProfile_DisconnectDownloadRequested(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineProfile*>(ptr), static_cast<void (QWebEngineProfile::*)(QWebEngineDownloadItem *)>(&QWebEngineProfile::downloadRequested), static_cast<MyQWebEngineProfile*>(ptr), static_cast<void (MyQWebEngineProfile::*)(QWebEngineDownloadItem *)>(&MyQWebEngineProfile::Signal_DownloadRequested));
}
void QWebEngineProfile_DownloadRequested(void* ptr, void* download)
{
static_cast<QWebEngineProfile*>(ptr)->downloadRequested(static_cast<QWebEngineDownloadItem*>(download));
}
struct QtWebEngine_PackedString QWebEngineProfile_HttpAcceptLanguage(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t46ad8d = static_cast<QWebEngineProfile*>(ptr)->httpAcceptLanguage().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t46ad8d.prepend("WHITESPACE").constData()+10), t46ad8d.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
int QWebEngineProfile_HttpCacheMaximumSize(void* ptr)
{
return static_cast<QWebEngineProfile*>(ptr)->httpCacheMaximumSize();
}
long long QWebEngineProfile_HttpCacheType(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->httpCacheType();
}
struct QtWebEngine_PackedString QWebEngineProfile_HttpUserAgent(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t5c173a = static_cast<QWebEngineProfile*>(ptr)->httpUserAgent().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t5c173a.prepend("WHITESPACE").constData()+10), t5c173a.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEngineProfile_InstallUrlSchemeHandler(void* ptr, void* scheme, void* handler)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineProfile*>(ptr)->installUrlSchemeHandler(*static_cast<QByteArray*>(scheme), static_cast<QWebEngineUrlSchemeHandler*>(handler));
2016-05-11 16:33:24 +03:00
}
char QWebEngineProfile_IsOffTheRecord(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->isOffTheRecord();
}
long long QWebEngineProfile_PersistentCookiesPolicy(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->persistentCookiesPolicy();
}
struct QtWebEngine_PackedString QWebEngineProfile_PersistentStoragePath(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t1c9837 = static_cast<QWebEngineProfile*>(ptr)->persistentStoragePath().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t1c9837.prepend("WHITESPACE").constData()+10), t1c9837.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEngineProfile_RemoveAllUrlSchemeHandlers(void* ptr)
{
static_cast<QWebEngineProfile*>(ptr)->removeAllUrlSchemeHandlers();
}
void QWebEngineProfile_RemoveUrlScheme(void* ptr, void* scheme)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineProfile*>(ptr)->removeUrlScheme(*static_cast<QByteArray*>(scheme));
2016-05-11 16:33:24 +03:00
}
void QWebEngineProfile_RemoveUrlSchemeHandler(void* ptr, void* handler)
{
static_cast<QWebEngineProfile*>(ptr)->removeUrlSchemeHandler(static_cast<QWebEngineUrlSchemeHandler*>(handler));
}
void* QWebEngineProfile_Scripts(void* ptr)
{
return static_cast<QWebEngineProfile*>(ptr)->scripts();
}
void QWebEngineProfile_SetCachePath(void* ptr, char* path)
{
static_cast<QWebEngineProfile*>(ptr)->setCachePath(QString(path));
}
void QWebEngineProfile_SetHttpAcceptLanguage(void* ptr, char* httpAcceptLanguage)
{
static_cast<QWebEngineProfile*>(ptr)->setHttpAcceptLanguage(QString(httpAcceptLanguage));
}
void QWebEngineProfile_SetHttpCacheMaximumSize(void* ptr, int maxSize)
{
static_cast<QWebEngineProfile*>(ptr)->setHttpCacheMaximumSize(maxSize);
}
void QWebEngineProfile_SetHttpCacheType(void* ptr, long long httpCacheType)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineProfile*>(ptr)->setHttpCacheType(static_cast<QWebEngineProfile::HttpCacheType>(httpCacheType));
}
void QWebEngineProfile_SetHttpUserAgent(void* ptr, char* userAgent)
{
static_cast<QWebEngineProfile*>(ptr)->setHttpUserAgent(QString(userAgent));
}
void QWebEngineProfile_SetPersistentCookiesPolicy(void* ptr, long long newPersistentCookiesPolicy)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineProfile*>(ptr)->setPersistentCookiesPolicy(static_cast<QWebEngineProfile::PersistentCookiesPolicy>(newPersistentCookiesPolicy));
}
void QWebEngineProfile_SetPersistentStoragePath(void* ptr, char* path)
{
static_cast<QWebEngineProfile*>(ptr)->setPersistentStoragePath(QString(path));
}
void QWebEngineProfile_SetRequestInterceptor(void* ptr, void* interceptor)
{
static_cast<QWebEngineProfile*>(ptr)->setRequestInterceptor(static_cast<QWebEngineUrlRequestInterceptor*>(interceptor));
}
void* QWebEngineProfile_Settings(void* ptr)
{
return static_cast<QWebEngineProfile*>(ptr)->settings();
}
struct QtWebEngine_PackedString QWebEngineProfile_StorageName(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray tcbe040 = static_cast<QWebEngineProfile*>(ptr)->storageName().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(tcbe040.prepend("WHITESPACE").constData()+10), tcbe040.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void* QWebEngineProfile_UrlSchemeHandler(void* ptr, void* scheme)
2016-05-11 16:33:24 +03:00
{
return const_cast<QWebEngineUrlSchemeHandler*>(static_cast<QWebEngineProfile*>(ptr)->urlSchemeHandler(*static_cast<QByteArray*>(scheme)));
2016-05-11 16:33:24 +03:00
}
char QWebEngineProfile_VisitedLinksContainsUrl(void* ptr, void* url)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->visitedLinksContainsUrl(*static_cast<QUrl*>(url));
}
void QWebEngineProfile_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineProfile*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineProfile_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineProfile_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineProfile*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineProfile_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineProfile_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineProfile*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineProfile_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineProfile_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineProfile*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineProfile_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineProfile_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineProfile*>(ptr), "deleteLater");
}
void QWebEngineProfile_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::deleteLater();
}
void QWebEngineProfile_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineProfile*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineProfile_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineProfile_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEngineProfile_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::event(static_cast<QEvent*>(e));
}
char QWebEngineProfile_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineProfile_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineProfile_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineProfile*>(ptr)->metaObject());
}
void* QWebEngineProfile_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineProfile*>(ptr)->QWebEngineProfile::metaObject());
}
void* QWebEngineScript_NewQWebEngineScript()
{
return new QWebEngineScript();
}
void* QWebEngineScript_NewQWebEngineScript2(void* other)
{
return new QWebEngineScript(*static_cast<QWebEngineScript*>(other));
}
long long QWebEngineScript_InjectionPoint(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineScript*>(ptr)->injectionPoint();
}
char QWebEngineScript_IsNull(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineScript*>(ptr)->isNull();
}
struct QtWebEngine_PackedString QWebEngineScript_Name(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray te185e9 = static_cast<QWebEngineScript*>(ptr)->name().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(te185e9.prepend("WHITESPACE").constData()+10), te185e9.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
char QWebEngineScript_RunsOnSubFrames(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineScript*>(ptr)->runsOnSubFrames();
}
void QWebEngineScript_SetInjectionPoint(void* ptr, long long p)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineScript*>(ptr)->setInjectionPoint(static_cast<QWebEngineScript::InjectionPoint>(p));
}
void QWebEngineScript_SetName(void* ptr, char* scriptName)
{
static_cast<QWebEngineScript*>(ptr)->setName(QString(scriptName));
}
void QWebEngineScript_SetRunsOnSubFrames(void* ptr, char on)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineScript*>(ptr)->setRunsOnSubFrames(on != 0);
}
void QWebEngineScript_SetSourceCode(void* ptr, char* scriptSource)
{
static_cast<QWebEngineScript*>(ptr)->setSourceCode(QString(scriptSource));
}
void QWebEngineScript_SetWorldId(void* ptr, unsigned int id)
{
static_cast<QWebEngineScript*>(ptr)->setWorldId(id);
}
struct QtWebEngine_PackedString QWebEngineScript_SourceCode(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t7bcb57 = static_cast<QWebEngineScript*>(ptr)->sourceCode().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t7bcb57.prepend("WHITESPACE").constData()+10), t7bcb57.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEngineScript_Swap(void* ptr, void* other)
{
static_cast<QWebEngineScript*>(ptr)->swap(*static_cast<QWebEngineScript*>(other));
}
unsigned int QWebEngineScript_WorldId(void* ptr)
{
return static_cast<QWebEngineScript*>(ptr)->worldId();
}
2016-05-11 16:33:24 +03:00
void QWebEngineScript_DestroyQWebEngineScript(void* ptr)
{
static_cast<QWebEngineScript*>(ptr)->~QWebEngineScript();
}
void QWebEngineScriptCollection_Clear(void* ptr)
{
static_cast<QWebEngineScriptCollection*>(ptr)->clear();
}
char QWebEngineScriptCollection_Contains(void* ptr, void* value)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineScriptCollection*>(ptr)->contains(*static_cast<QWebEngineScript*>(value));
}
int QWebEngineScriptCollection_Count(void* ptr)
{
return static_cast<QWebEngineScriptCollection*>(ptr)->count();
}
void* QWebEngineScriptCollection_FindScript(void* ptr, char* name)
{
return new QWebEngineScript(static_cast<QWebEngineScriptCollection*>(ptr)->findScript(QString(name)));
}
2016-11-16 01:07:05 +03:00
struct QtWebEngine_PackedList QWebEngineScriptCollection_FindScripts(void* ptr, char* name)
{
return ({ QList<QWebEngineScript>* tmpValue = new QList<QWebEngineScript>(static_cast<QWebEngineScriptCollection*>(ptr)->findScripts(QString(name))); QtWebEngine_PackedList { tmpValue, tmpValue->size() }; });
}
2016-05-11 16:33:24 +03:00
void QWebEngineScriptCollection_Insert(void* ptr, void* s)
{
static_cast<QWebEngineScriptCollection*>(ptr)->insert(*static_cast<QWebEngineScript*>(s));
}
char QWebEngineScriptCollection_IsEmpty(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineScriptCollection*>(ptr)->isEmpty();
}
char QWebEngineScriptCollection_Remove(void* ptr, void* script)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineScriptCollection*>(ptr)->remove(*static_cast<QWebEngineScript*>(script));
}
int QWebEngineScriptCollection_Size(void* ptr)
{
return static_cast<QWebEngineScriptCollection*>(ptr)->size();
}
2016-11-16 01:07:05 +03:00
struct QtWebEngine_PackedList QWebEngineScriptCollection_ToList(void* ptr)
{
return ({ QList<QWebEngineScript>* tmpValue = new QList<QWebEngineScript>(static_cast<QWebEngineScriptCollection*>(ptr)->toList()); QtWebEngine_PackedList { tmpValue, tmpValue->size() }; });
}
2016-05-11 16:33:24 +03:00
void QWebEngineScriptCollection_DestroyQWebEngineScriptCollection(void* ptr)
{
static_cast<QWebEngineScriptCollection*>(ptr)->~QWebEngineScriptCollection();
}
2016-11-16 01:07:05 +03:00
void* QWebEngineScriptCollection_findScripts_atList(void* ptr, int i)
{
return new QWebEngineScript(static_cast<QList<QWebEngineScript>*>(ptr)->at(i));
}
void* QWebEngineScriptCollection_toList_atList(void* ptr, int i)
{
return new QWebEngineScript(static_cast<QList<QWebEngineScript>*>(ptr)->at(i));
}
struct QtWebEngine_PackedString QWebEngineSettings_DefaultTextEncoding(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t01cf63 = static_cast<QWebEngineSettings*>(ptr)->defaultTextEncoding().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t01cf63.prepend("WHITESPACE").constData()+10), t01cf63.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
struct QtWebEngine_PackedString QWebEngineSettings_FontFamily(void* ptr, long long which)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t118959 = static_cast<QWebEngineSettings*>(ptr)->fontFamily(static_cast<QWebEngineSettings::FontFamily>(which)).toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t118959.prepend("WHITESPACE").constData()+10), t118959.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
int QWebEngineSettings_FontSize(void* ptr, long long ty)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineSettings*>(ptr)->fontSize(static_cast<QWebEngineSettings::FontSize>(ty));
}
void* QWebEngineSettings_QWebEngineSettings_GlobalSettings()
{
return QWebEngineSettings::globalSettings();
}
void QWebEngineSettings_ResetAttribute(void* ptr, long long attribute)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineSettings*>(ptr)->resetAttribute(static_cast<QWebEngineSettings::WebAttribute>(attribute));
}
void QWebEngineSettings_ResetFontFamily(void* ptr, long long which)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineSettings*>(ptr)->resetFontFamily(static_cast<QWebEngineSettings::FontFamily>(which));
}
void QWebEngineSettings_ResetFontSize(void* ptr, long long ty)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineSettings*>(ptr)->resetFontSize(static_cast<QWebEngineSettings::FontSize>(ty));
}
void QWebEngineSettings_SetAttribute(void* ptr, long long attribute, char on)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineSettings*>(ptr)->setAttribute(static_cast<QWebEngineSettings::WebAttribute>(attribute), on != 0);
}
void QWebEngineSettings_SetDefaultTextEncoding(void* ptr, char* encoding)
{
static_cast<QWebEngineSettings*>(ptr)->setDefaultTextEncoding(QString(encoding));
}
void QWebEngineSettings_SetFontFamily(void* ptr, long long which, char* family)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineSettings*>(ptr)->setFontFamily(static_cast<QWebEngineSettings::FontFamily>(which), QString(family));
}
void QWebEngineSettings_SetFontSize(void* ptr, long long ty, int size)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineSettings*>(ptr)->setFontSize(static_cast<QWebEngineSettings::FontSize>(ty), size);
}
char QWebEngineSettings_TestAttribute(void* ptr, long long attribute)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineSettings*>(ptr)->testAttribute(static_cast<QWebEngineSettings::WebAttribute>(attribute));
}
void* QWebEngineSettings_QWebEngineSettings_DefaultSettings()
{
return QWebEngineSettings::defaultSettings();
}
void QWebEngineUrlRequestInfo_Block(void* ptr, char shouldBlock)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineUrlRequestInfo*>(ptr)->block(shouldBlock != 0);
}
void* QWebEngineUrlRequestInfo_FirstPartyUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineUrlRequestInfo*>(ptr)->firstPartyUrl());
}
long long QWebEngineUrlRequestInfo_NavigationType(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestInfo*>(ptr)->navigationType();
}
void QWebEngineUrlRequestInfo_Redirect(void* ptr, void* url)
{
static_cast<QWebEngineUrlRequestInfo*>(ptr)->redirect(*static_cast<QUrl*>(url));
}
void* QWebEngineUrlRequestInfo_RequestMethod(void* ptr)
2016-05-11 16:33:24 +03:00
{
return new QByteArray(static_cast<QWebEngineUrlRequestInfo*>(ptr)->requestMethod());
2016-05-11 16:33:24 +03:00
}
void* QWebEngineUrlRequestInfo_RequestUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineUrlRequestInfo*>(ptr)->requestUrl());
}
long long QWebEngineUrlRequestInfo_ResourceType(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestInfo*>(ptr)->resourceType();
}
void QWebEngineUrlRequestInfo_SetHttpHeader(void* ptr, void* name, void* value)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineUrlRequestInfo*>(ptr)->setHttpHeader(*static_cast<QByteArray*>(name), *static_cast<QByteArray*>(value));
2016-05-11 16:33:24 +03:00
}
class MyQWebEngineUrlRequestInterceptor: public QWebEngineUrlRequestInterceptor
{
public:
void timerEvent(QTimerEvent * event) { callbackQWebEngineUrlRequestInterceptor_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEngineUrlRequestInterceptor_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEngineUrlRequestInterceptor_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEngineUrlRequestInterceptor_CustomEvent(this, event); };
void deleteLater() { callbackQWebEngineUrlRequestInterceptor_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEngineUrlRequestInterceptor_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool event(QEvent * e) { return callbackQWebEngineUrlRequestInterceptor_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineUrlRequestInterceptor_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEngineUrlRequestInterceptor_MetaObject(const_cast<MyQWebEngineUrlRequestInterceptor*>(this))); };
2016-05-11 16:33:24 +03:00
};
void QWebEngineUrlRequestInterceptor_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineUrlRequestInterceptor_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineUrlRequestInterceptor_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineUrlRequestInterceptor_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineUrlRequestInterceptor_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlRequestInterceptor_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlRequestInterceptor_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineUrlRequestInterceptor_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineUrlRequestInterceptor_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineUrlRequestInterceptor*>(ptr), "deleteLater");
}
void QWebEngineUrlRequestInterceptor_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::deleteLater();
}
void QWebEngineUrlRequestInterceptor_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlRequestInterceptor_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineUrlRequestInterceptor_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEngineUrlRequestInterceptor_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::event(static_cast<QEvent*>(e));
}
char QWebEngineUrlRequestInterceptor_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineUrlRequestInterceptor_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineUrlRequestInterceptor_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->metaObject());
}
void* QWebEngineUrlRequestInterceptor_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineUrlRequestInterceptor*>(ptr)->QWebEngineUrlRequestInterceptor::metaObject());
}
void QWebEngineUrlRequestJob_Fail(void* ptr, long long r)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->fail(static_cast<QWebEngineUrlRequestJob::Error>(r));
}
void QWebEngineUrlRequestJob_Redirect(void* ptr, void* url)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->redirect(*static_cast<QUrl*>(url));
}
void QWebEngineUrlRequestJob_Reply(void* ptr, void* contentType, void* device)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->reply(*static_cast<QByteArray*>(contentType), static_cast<QIODevice*>(device));
2016-05-11 16:33:24 +03:00
}
void* QWebEngineUrlRequestJob_RequestMethod(void* ptr)
2016-05-11 16:33:24 +03:00
{
return new QByteArray(static_cast<QWebEngineUrlRequestJob*>(ptr)->requestMethod());
2016-05-11 16:33:24 +03:00
}
void* QWebEngineUrlRequestJob_RequestUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineUrlRequestJob*>(ptr)->requestUrl());
}
void QWebEngineUrlRequestJob_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineUrlRequestJob_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineUrlRequestJob_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineUrlRequestJob_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineUrlRequestJob_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlRequestJob_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlRequestJob_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineUrlRequestJob_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineUrlRequestJob_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineUrlRequestJob*>(ptr), "deleteLater");
}
void QWebEngineUrlRequestJob_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::deleteLater();
}
void QWebEngineUrlRequestJob_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlRequestJob_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineUrlRequestJob_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestJob*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEngineUrlRequestJob_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::event(static_cast<QEvent*>(e));
}
char QWebEngineUrlRequestJob_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestJob*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineUrlRequestJob_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineUrlRequestJob_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineUrlRequestJob*>(ptr)->metaObject());
}
void* QWebEngineUrlRequestJob_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineUrlRequestJob*>(ptr)->QWebEngineUrlRequestJob::metaObject());
}
class MyQWebEngineUrlSchemeHandler: public QWebEngineUrlSchemeHandler
{
public:
MyQWebEngineUrlSchemeHandler(QObject *parent) : QWebEngineUrlSchemeHandler(parent) {};
void requestStarted(QWebEngineUrlRequestJob * request) { callbackQWebEngineUrlSchemeHandler_RequestStarted(this, request); };
void timerEvent(QTimerEvent * event) { callbackQWebEngineUrlSchemeHandler_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEngineUrlSchemeHandler_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEngineUrlSchemeHandler_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEngineUrlSchemeHandler_CustomEvent(this, event); };
void deleteLater() { callbackQWebEngineUrlSchemeHandler_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEngineUrlSchemeHandler_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool event(QEvent * e) { return callbackQWebEngineUrlSchemeHandler_Event(this, e) != 0; };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineUrlSchemeHandler_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEngineUrlSchemeHandler_MetaObject(const_cast<MyQWebEngineUrlSchemeHandler*>(this))); };
2016-05-11 16:33:24 +03:00
};
void* QWebEngineUrlSchemeHandler_NewQWebEngineUrlSchemeHandler(void* parent)
{
return new MyQWebEngineUrlSchemeHandler(static_cast<QObject*>(parent));
}
void QWebEngineUrlSchemeHandler_RequestStarted(void* ptr, void* request)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->requestStarted(static_cast<QWebEngineUrlRequestJob*>(request));
}
void QWebEngineUrlSchemeHandler_DestroyQWebEngineUrlSchemeHandler(void* ptr)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->~QWebEngineUrlSchemeHandler();
}
void QWebEngineUrlSchemeHandler_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineUrlSchemeHandler_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineUrlSchemeHandler_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineUrlSchemeHandler_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineUrlSchemeHandler_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlSchemeHandler_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlSchemeHandler_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineUrlSchemeHandler_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineUrlSchemeHandler_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineUrlSchemeHandler*>(ptr), "deleteLater");
}
void QWebEngineUrlSchemeHandler_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::deleteLater();
}
void QWebEngineUrlSchemeHandler_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineUrlSchemeHandler_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineUrlSchemeHandler_Event(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlSchemeHandler*>(ptr)->event(static_cast<QEvent*>(e));
}
char QWebEngineUrlSchemeHandler_EventDefault(void* ptr, void* e)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::event(static_cast<QEvent*>(e));
}
char QWebEngineUrlSchemeHandler_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlSchemeHandler*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineUrlSchemeHandler_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineUrlSchemeHandler_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineUrlSchemeHandler*>(ptr)->metaObject());
}
void* QWebEngineUrlSchemeHandler_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineUrlSchemeHandler*>(ptr)->QWebEngineUrlSchemeHandler::metaObject());
}
class MyQWebEngineView: public QWebEngineView
{
public:
MyQWebEngineView(QWidget *parent) : QWebEngineView(parent) {};
void back() { callbackQWebEngineView_Back(this); };
QWebEngineView * createWindow(QWebEnginePage::WebWindowType ty) { return static_cast<QWebEngineView*>(callbackQWebEngineView_CreateWindow(this, ty)); };
void forward() { callbackQWebEngineView_Forward(this); };
void reload() { callbackQWebEngineView_Reload(this); };
void stop() { callbackQWebEngineView_Stop(this); };
~MyQWebEngineView() { callbackQWebEngineView_DestroyQWebEngineView(this); };
void contextMenuEvent(QContextMenuEvent * event) { callbackQWebEngineView_ContextMenuEvent(this, event); };
bool event(QEvent * ev) { return callbackQWebEngineView_Event(this, ev) != 0; };
void hideEvent(QHideEvent * event) { callbackQWebEngineView_HideEvent(this, event); };
void Signal_IconChanged(const QIcon & icon) { callbackQWebEngineView_IconChanged(this, const_cast<QIcon*>(&icon)); };
void Signal_IconUrlChanged(const QUrl & url) { callbackQWebEngineView_IconUrlChanged(this, const_cast<QUrl*>(&url)); };
void Signal_LoadFinished(bool ok) { callbackQWebEngineView_LoadFinished(this, ok); };
void Signal_LoadProgress(int progress) { callbackQWebEngineView_LoadProgress(this, progress); };
void Signal_LoadStarted() { callbackQWebEngineView_LoadStarted(this); };
void Signal_RenderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode) { callbackQWebEngineView_RenderProcessTerminated(this, terminationStatus, exitCode); };
void Signal_SelectionChanged() { callbackQWebEngineView_SelectionChanged(this); };
void showEvent(QShowEvent * event) { callbackQWebEngineView_ShowEvent(this, event); };
QSize sizeHint() const { return *static_cast<QSize*>(callbackQWebEngineView_SizeHint(const_cast<MyQWebEngineView*>(this))); };
void Signal_TitleChanged(const QString & title) { QByteArray t3c6de1 = title.toUtf8(); QtWebEngine_PackedString titlePacked = { const_cast<char*>(t3c6de1.prepend("WHITESPACE").constData()+10), t3c6de1.size()-10 };callbackQWebEngineView_TitleChanged(this, titlePacked); };
void Signal_UrlChanged(const QUrl & url) { callbackQWebEngineView_UrlChanged(this, const_cast<QUrl*>(&url)); };
void actionEvent(QActionEvent * event) { callbackQWebEngineView_ActionEvent(this, event); };
void enterEvent(QEvent * event) { callbackQWebEngineView_EnterEvent(this, event); };
void focusInEvent(QFocusEvent * event) { callbackQWebEngineView_FocusInEvent(this, event); };
void focusOutEvent(QFocusEvent * event) { callbackQWebEngineView_FocusOutEvent(this, event); };
void leaveEvent(QEvent * event) { callbackQWebEngineView_LeaveEvent(this, event); };
QSize minimumSizeHint() const { return *static_cast<QSize*>(callbackQWebEngineView_MinimumSizeHint(const_cast<MyQWebEngineView*>(this))); };
void moveEvent(QMoveEvent * event) { callbackQWebEngineView_MoveEvent(this, event); };
void paintEvent(QPaintEvent * event) { callbackQWebEngineView_PaintEvent(this, event); };
void setEnabled(bool vbo) { callbackQWebEngineView_SetEnabled(this, vbo); };
void setStyleSheet(const QString & styleSheet) { QByteArray t728ae7 = styleSheet.toUtf8(); QtWebEngine_PackedString styleSheetPacked = { const_cast<char*>(t728ae7.prepend("WHITESPACE").constData()+10), t728ae7.size()-10 };callbackQWebEngineView_SetStyleSheet(this, styleSheetPacked); };
void setVisible(bool visible) { callbackQWebEngineView_SetVisible(this, visible); };
void setWindowModified(bool vbo) { callbackQWebEngineView_SetWindowModified(this, vbo); };
void setWindowTitle(const QString & vqs) { QByteArray tda39a3 = vqs.toUtf8(); QtWebEngine_PackedString vqsPacked = { const_cast<char*>(tda39a3.prepend("WHITESPACE").constData()+10), tda39a3.size()-10 };callbackQWebEngineView_SetWindowTitle(this, vqsPacked); };
void changeEvent(QEvent * event) { callbackQWebEngineView_ChangeEvent(this, event); };
bool close() { return callbackQWebEngineView_Close(this) != 0; };
void closeEvent(QCloseEvent * event) { callbackQWebEngineView_CloseEvent(this, event); };
bool focusNextPrevChild(bool next) { return callbackQWebEngineView_FocusNextPrevChild(this, next) != 0; };
bool hasHeightForWidth() const { return callbackQWebEngineView_HasHeightForWidth(const_cast<MyQWebEngineView*>(this)) != 0; };
int heightForWidth(int w) const { return callbackQWebEngineView_HeightForWidth(const_cast<MyQWebEngineView*>(this), w); };
void hide() { callbackQWebEngineView_Hide(this); };
void inputMethodEvent(QInputMethodEvent * event) { callbackQWebEngineView_InputMethodEvent(this, event); };
QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast<QVariant*>(callbackQWebEngineView_InputMethodQuery(const_cast<MyQWebEngineView*>(this), query)); };
void keyPressEvent(QKeyEvent * event) { callbackQWebEngineView_KeyPressEvent(this, event); };
void keyReleaseEvent(QKeyEvent * event) { callbackQWebEngineView_KeyReleaseEvent(this, event); };
void lower() { callbackQWebEngineView_Lower(this); };
void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWebEngineView_MouseDoubleClickEvent(this, event); };
void mouseMoveEvent(QMouseEvent * event) { callbackQWebEngineView_MouseMoveEvent(this, event); };
void mousePressEvent(QMouseEvent * event) { callbackQWebEngineView_MousePressEvent(this, event); };
void mouseReleaseEvent(QMouseEvent * event) { callbackQWebEngineView_MouseReleaseEvent(this, event); };
bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWebEngineView_NativeEvent(this, const_cast<QByteArray*>(&eventType), message, *result) != 0; };
void raise() { callbackQWebEngineView_Raise(this); };
void repaint() { callbackQWebEngineView_Repaint(this); };
void resizeEvent(QResizeEvent * event) { callbackQWebEngineView_ResizeEvent(this, event); };
void setDisabled(bool disable) { callbackQWebEngineView_SetDisabled(this, disable); };
void setFocus() { callbackQWebEngineView_SetFocus2(this); };
void setHidden(bool hidden) { callbackQWebEngineView_SetHidden(this, hidden); };
void show() { callbackQWebEngineView_Show(this); };
void showFullScreen() { callbackQWebEngineView_ShowFullScreen(this); };
void showMaximized() { callbackQWebEngineView_ShowMaximized(this); };
void showMinimized() { callbackQWebEngineView_ShowMinimized(this); };
void showNormal() { callbackQWebEngineView_ShowNormal(this); };
void tabletEvent(QTabletEvent * event) { callbackQWebEngineView_TabletEvent(this, event); };
void update() { callbackQWebEngineView_Update(this); };
void updateMicroFocus() { callbackQWebEngineView_UpdateMicroFocus(this); };
void wheelEvent(QWheelEvent * event) { callbackQWebEngineView_WheelEvent(this, event); };
void timerEvent(QTimerEvent * event) { callbackQWebEngineView_TimerEvent(this, event); };
void childEvent(QChildEvent * event) { callbackQWebEngineView_ChildEvent(this, event); };
void connectNotify(const QMetaMethod & sign) { callbackQWebEngineView_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
void customEvent(QEvent * event) { callbackQWebEngineView_CustomEvent(this, event); };
void deleteLater() { callbackQWebEngineView_DeleteLater(this); };
void disconnectNotify(const QMetaMethod & sign) { callbackQWebEngineView_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
bool eventFilter(QObject * watched, QEvent * event) { return callbackQWebEngineView_EventFilter(this, watched, event) != 0; };
const QMetaObject * metaObject() const { return static_cast<QMetaObject*>(callbackQWebEngineView_MetaObject(const_cast<MyQWebEngineView*>(this))); };
2016-05-11 16:33:24 +03:00
};
void* QWebEngineView_NewQWebEngineView(void* parent)
{
return new MyQWebEngineView(static_cast<QWidget*>(parent));
}
void QWebEngineView_Back(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "back");
}
void* QWebEngineView_CreateWindow(void* ptr, long long ty)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->createWindow(static_cast<QWebEnginePage::WebWindowType>(ty));
}
void* QWebEngineView_CreateWindowDefault(void* ptr, long long ty)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::createWindow(static_cast<QWebEnginePage::WebWindowType>(ty));
}
void QWebEngineView_Forward(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "forward");
}
char QWebEngineView_HasSelection(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->hasSelection();
}
void* QWebEngineView_History(void* ptr)
{
return static_cast<QWebEngineView*>(ptr)->history();
}
2016-06-16 18:49:55 +03:00
void* QWebEngineView_Icon(void* ptr)
{
return new QIcon(static_cast<QWebEngineView*>(ptr)->icon());
}
2016-05-11 16:33:24 +03:00
void* QWebEngineView_IconUrl(void* ptr)
{
return new QUrl(static_cast<QWebEngineView*>(ptr)->iconUrl());
}
void QWebEngineView_Load(void* ptr, void* url)
{
static_cast<QWebEngineView*>(ptr)->load(*static_cast<QUrl*>(url));
}
void* QWebEngineView_Page(void* ptr)
{
return static_cast<QWebEngineView*>(ptr)->page();
}
void* QWebEngineView_PageAction(void* ptr, long long action)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->pageAction(static_cast<QWebEnginePage::WebAction>(action));
}
void QWebEngineView_Reload(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "reload");
}
struct QtWebEngine_PackedString QWebEngineView_SelectedText(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t0a8997 = static_cast<QWebEngineView*>(ptr)->selectedText().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t0a8997.prepend("WHITESPACE").constData()+10), t0a8997.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_SetContent(void* ptr, void* data, char* mimeType, void* baseUrl)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->setContent(*static_cast<QByteArray*>(data), QString(mimeType), *static_cast<QUrl*>(baseUrl));
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_SetHtml(void* ptr, char* html, void* baseUrl)
{
static_cast<QWebEngineView*>(ptr)->setHtml(QString(html), *static_cast<QUrl*>(baseUrl));
}
void QWebEngineView_SetPage(void* ptr, void* page)
{
static_cast<QWebEngineView*>(ptr)->setPage(static_cast<QWebEnginePage*>(page));
}
void QWebEngineView_SetUrl(void* ptr, void* url)
{
static_cast<QWebEngineView*>(ptr)->setUrl(*static_cast<QUrl*>(url));
}
void QWebEngineView_SetZoomFactor(void* ptr, double factor)
{
static_cast<QWebEngineView*>(ptr)->setZoomFactor(factor);
2016-05-11 16:33:24 +03:00
}
void* QWebEngineView_Settings(void* ptr)
{
return static_cast<QWebEngineView*>(ptr)->settings();
}
void QWebEngineView_Stop(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "stop");
}
struct QtWebEngine_PackedString QWebEngineView_Title(void* ptr)
2016-05-11 16:33:24 +03:00
{
return ({ QByteArray t838611 = static_cast<QWebEngineView*>(ptr)->title().toUtf8(); QtWebEngine_PackedString { const_cast<char*>(t838611.prepend("WHITESPACE").constData()+10), t838611.size()-10 }; });
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_TriggerPageAction(void* ptr, long long action, char checked)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->triggerPageAction(static_cast<QWebEnginePage::WebAction>(action), checked != 0);
}
void* QWebEngineView_Url(void* ptr)
{
return new QUrl(static_cast<QWebEngineView*>(ptr)->url());
}
double QWebEngineView_ZoomFactor(void* ptr)
{
return static_cast<QWebEngineView*>(ptr)->zoomFactor();
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_DestroyQWebEngineView(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->~QWebEngineView();
}
void QWebEngineView_DestroyQWebEngineViewDefault(void* ptr)
{
}
2016-05-11 16:33:24 +03:00
void QWebEngineView_ContextMenuEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->contextMenuEvent(static_cast<QContextMenuEvent*>(event));
}
void QWebEngineView_ContextMenuEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::contextMenuEvent(static_cast<QContextMenuEvent*>(event));
}
2016-06-16 18:49:55 +03:00
void QWebEngineView_DragEnterEvent(void* ptr, void* e)
{
static_cast<QWebEngineView*>(ptr)->dragEnterEvent(static_cast<QDragEnterEvent*>(e));
}
void QWebEngineView_DragLeaveEvent(void* ptr, void* e)
{
static_cast<QWebEngineView*>(ptr)->dragLeaveEvent(static_cast<QDragLeaveEvent*>(e));
}
void QWebEngineView_DragMoveEvent(void* ptr, void* e)
{
static_cast<QWebEngineView*>(ptr)->dragMoveEvent(static_cast<QDragMoveEvent*>(e));
}
void QWebEngineView_DropEvent(void* ptr, void* e)
{
static_cast<QWebEngineView*>(ptr)->dropEvent(static_cast<QDropEvent*>(e));
}
char QWebEngineView_Event(void* ptr, void* ev)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->event(static_cast<QEvent*>(ev));
}
char QWebEngineView_EventDefault(void* ptr, void* ev)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::event(static_cast<QEvent*>(ev));
}
void QWebEngineView_FindText(void* ptr, char* subString, long long options)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->findText(QString(subString), static_cast<QWebEnginePage::FindFlag>(options));
}
void QWebEngineView_HideEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->hideEvent(static_cast<QHideEvent*>(event));
}
void QWebEngineView_HideEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::hideEvent(static_cast<QHideEvent*>(event));
}
2016-06-16 18:49:55 +03:00
void QWebEngineView_ConnectIconChanged(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QIcon &)>(&QWebEngineView::iconChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QIcon &)>(&MyQWebEngineView::Signal_IconChanged));
}
void QWebEngineView_DisconnectIconChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QIcon &)>(&QWebEngineView::iconChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QIcon &)>(&MyQWebEngineView::Signal_IconChanged));
}
void QWebEngineView_IconChanged(void* ptr, void* icon)
{
static_cast<QWebEngineView*>(ptr)->iconChanged(*static_cast<QIcon*>(icon));
}
2016-05-11 16:33:24 +03:00
void QWebEngineView_ConnectIconUrlChanged(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QUrl &)>(&QWebEngineView::iconUrlChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QUrl &)>(&MyQWebEngineView::Signal_IconUrlChanged));
}
void QWebEngineView_DisconnectIconUrlChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QUrl &)>(&QWebEngineView::iconUrlChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QUrl &)>(&MyQWebEngineView::Signal_IconUrlChanged));
}
void QWebEngineView_IconUrlChanged(void* ptr, void* url)
{
static_cast<QWebEngineView*>(ptr)->iconUrlChanged(*static_cast<QUrl*>(url));
}
void QWebEngineView_ConnectLoadFinished(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(bool)>(&QWebEngineView::loadFinished), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(bool)>(&MyQWebEngineView::Signal_LoadFinished));
}
void QWebEngineView_DisconnectLoadFinished(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(bool)>(&QWebEngineView::loadFinished), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(bool)>(&MyQWebEngineView::Signal_LoadFinished));
}
void QWebEngineView_LoadFinished(void* ptr, char ok)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->loadFinished(ok != 0);
}
void QWebEngineView_ConnectLoadProgress(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(int)>(&QWebEngineView::loadProgress), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(int)>(&MyQWebEngineView::Signal_LoadProgress));
}
void QWebEngineView_DisconnectLoadProgress(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(int)>(&QWebEngineView::loadProgress), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(int)>(&MyQWebEngineView::Signal_LoadProgress));
}
void QWebEngineView_LoadProgress(void* ptr, int progress)
{
static_cast<QWebEngineView*>(ptr)->loadProgress(progress);
}
void QWebEngineView_ConnectLoadStarted(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)()>(&QWebEngineView::loadStarted), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)()>(&MyQWebEngineView::Signal_LoadStarted));
}
void QWebEngineView_DisconnectLoadStarted(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)()>(&QWebEngineView::loadStarted), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)()>(&MyQWebEngineView::Signal_LoadStarted));
}
void QWebEngineView_LoadStarted(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->loadStarted();
}
void QWebEngineView_ConnectRenderProcessTerminated(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&QWebEngineView::renderProcessTerminated), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&MyQWebEngineView::Signal_RenderProcessTerminated));
}
void QWebEngineView_DisconnectRenderProcessTerminated(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&QWebEngineView::renderProcessTerminated), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(QWebEnginePage::RenderProcessTerminationStatus, int)>(&MyQWebEngineView::Signal_RenderProcessTerminated));
}
void QWebEngineView_RenderProcessTerminated(void* ptr, long long terminationStatus, int exitCode)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->renderProcessTerminated(static_cast<QWebEnginePage::RenderProcessTerminationStatus>(terminationStatus), exitCode);
}
void QWebEngineView_ConnectSelectionChanged(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)()>(&QWebEngineView::selectionChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)()>(&MyQWebEngineView::Signal_SelectionChanged));
}
void QWebEngineView_DisconnectSelectionChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)()>(&QWebEngineView::selectionChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)()>(&MyQWebEngineView::Signal_SelectionChanged));
}
void QWebEngineView_SelectionChanged(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->selectionChanged();
}
void QWebEngineView_ShowEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->showEvent(static_cast<QShowEvent*>(event));
}
void QWebEngineView_ShowEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::showEvent(static_cast<QShowEvent*>(event));
}
void* QWebEngineView_SizeHint(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QSize tmpValue = static_cast<QWebEngineView*>(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
2016-05-11 16:33:24 +03:00
}
void* QWebEngineView_SizeHintDefault(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QSize tmpValue = static_cast<QWebEngineView*>(ptr)->QWebEngineView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_ConnectTitleChanged(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QString &)>(&QWebEngineView::titleChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QString &)>(&MyQWebEngineView::Signal_TitleChanged));
}
void QWebEngineView_DisconnectTitleChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QString &)>(&QWebEngineView::titleChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QString &)>(&MyQWebEngineView::Signal_TitleChanged));
}
void QWebEngineView_TitleChanged(void* ptr, char* title)
{
static_cast<QWebEngineView*>(ptr)->titleChanged(QString(title));
}
void QWebEngineView_ConnectUrlChanged(void* ptr)
{
QObject::connect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QUrl &)>(&QWebEngineView::urlChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QUrl &)>(&MyQWebEngineView::Signal_UrlChanged));
}
void QWebEngineView_DisconnectUrlChanged(void* ptr)
{
QObject::disconnect(static_cast<QWebEngineView*>(ptr), static_cast<void (QWebEngineView::*)(const QUrl &)>(&QWebEngineView::urlChanged), static_cast<MyQWebEngineView*>(ptr), static_cast<void (MyQWebEngineView::*)(const QUrl &)>(&MyQWebEngineView::Signal_UrlChanged));
}
void QWebEngineView_UrlChanged(void* ptr, void* url)
{
static_cast<QWebEngineView*>(ptr)->urlChanged(*static_cast<QUrl*>(url));
}
void QWebEngineView_ActionEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->actionEvent(static_cast<QActionEvent*>(event));
}
void QWebEngineView_ActionEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::actionEvent(static_cast<QActionEvent*>(event));
}
void QWebEngineView_EnterEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->enterEvent(static_cast<QEvent*>(event));
}
void QWebEngineView_EnterEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::enterEvent(static_cast<QEvent*>(event));
}
void QWebEngineView_FocusInEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->focusInEvent(static_cast<QFocusEvent*>(event));
}
void QWebEngineView_FocusInEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::focusInEvent(static_cast<QFocusEvent*>(event));
}
void QWebEngineView_FocusOutEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->focusOutEvent(static_cast<QFocusEvent*>(event));
}
void QWebEngineView_FocusOutEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::focusOutEvent(static_cast<QFocusEvent*>(event));
}
void QWebEngineView_LeaveEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->leaveEvent(static_cast<QEvent*>(event));
}
void QWebEngineView_LeaveEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::leaveEvent(static_cast<QEvent*>(event));
}
void* QWebEngineView_MinimumSizeHint(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QSize tmpValue = static_cast<QWebEngineView*>(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
2016-05-11 16:33:24 +03:00
}
void* QWebEngineView_MinimumSizeHintDefault(void* ptr)
{
2016-08-20 00:20:42 +03:00
return ({ QSize tmpValue = static_cast<QWebEngineView*>(ptr)->QWebEngineView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); });
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_MoveEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->moveEvent(static_cast<QMoveEvent*>(event));
}
void QWebEngineView_MoveEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::moveEvent(static_cast<QMoveEvent*>(event));
}
void QWebEngineView_PaintEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->paintEvent(static_cast<QPaintEvent*>(event));
}
void QWebEngineView_PaintEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::paintEvent(static_cast<QPaintEvent*>(event));
}
void QWebEngineView_SetEnabled(void* ptr, char vbo)
2016-05-11 16:33:24 +03:00
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setEnabled", Q_ARG(bool, vbo != 0));
}
void QWebEngineView_SetEnabledDefault(void* ptr, char vbo)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setEnabled(vbo != 0);
}
void QWebEngineView_SetStyleSheet(void* ptr, char* styleSheet)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setStyleSheet", Q_ARG(QString, QString(styleSheet)));
}
void QWebEngineView_SetStyleSheetDefault(void* ptr, char* styleSheet)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setStyleSheet(QString(styleSheet));
}
void QWebEngineView_SetVisible(void* ptr, char visible)
2016-05-11 16:33:24 +03:00
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setVisible", Q_ARG(bool, visible != 0));
}
void QWebEngineView_SetVisibleDefault(void* ptr, char visible)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setVisible(visible != 0);
}
void QWebEngineView_SetWindowModified(void* ptr, char vbo)
2016-05-11 16:33:24 +03:00
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setWindowModified", Q_ARG(bool, vbo != 0));
}
void QWebEngineView_SetWindowModifiedDefault(void* ptr, char vbo)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setWindowModified(vbo != 0);
}
void QWebEngineView_SetWindowTitle(void* ptr, char* vqs)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setWindowTitle", Q_ARG(QString, QString(vqs)));
}
void QWebEngineView_SetWindowTitleDefault(void* ptr, char* vqs)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setWindowTitle(QString(vqs));
}
void QWebEngineView_ChangeEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->changeEvent(static_cast<QEvent*>(event));
}
void QWebEngineView_ChangeEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::changeEvent(static_cast<QEvent*>(event));
}
char QWebEngineView_Close(void* ptr)
2016-05-11 16:33:24 +03:00
{
bool returnArg;
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "close", Q_RETURN_ARG(bool, returnArg));
return returnArg;
}
char QWebEngineView_CloseDefault(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::close();
}
void QWebEngineView_CloseEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->closeEvent(static_cast<QCloseEvent*>(event));
}
void QWebEngineView_CloseEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::closeEvent(static_cast<QCloseEvent*>(event));
}
char QWebEngineView_FocusNextPrevChild(void* ptr, char next)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->focusNextPrevChild(next != 0);
}
char QWebEngineView_FocusNextPrevChildDefault(void* ptr, char next)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::focusNextPrevChild(next != 0);
}
char QWebEngineView_HasHeightForWidth(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->hasHeightForWidth();
}
char QWebEngineView_HasHeightForWidthDefault(void* ptr)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::hasHeightForWidth();
}
int QWebEngineView_HeightForWidth(void* ptr, int w)
{
return static_cast<QWebEngineView*>(ptr)->heightForWidth(w);
}
int QWebEngineView_HeightForWidthDefault(void* ptr, int w)
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::heightForWidth(w);
}
void QWebEngineView_Hide(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "hide");
}
void QWebEngineView_HideDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::hide();
}
void QWebEngineView_InputMethodEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
void QWebEngineView_InputMethodEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::inputMethodEvent(static_cast<QInputMethodEvent*>(event));
}
void* QWebEngineView_InputMethodQuery(void* ptr, long long query)
2016-05-11 16:33:24 +03:00
{
return new QVariant(static_cast<QWebEngineView*>(ptr)->inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
void* QWebEngineView_InputMethodQueryDefault(void* ptr, long long query)
2016-05-11 16:33:24 +03:00
{
return new QVariant(static_cast<QWebEngineView*>(ptr)->QWebEngineView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
void QWebEngineView_KeyPressEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->keyPressEvent(static_cast<QKeyEvent*>(event));
}
void QWebEngineView_KeyPressEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::keyPressEvent(static_cast<QKeyEvent*>(event));
}
void QWebEngineView_KeyReleaseEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->keyReleaseEvent(static_cast<QKeyEvent*>(event));
}
void QWebEngineView_KeyReleaseEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::keyReleaseEvent(static_cast<QKeyEvent*>(event));
}
void QWebEngineView_Lower(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "lower");
}
void QWebEngineView_LowerDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::lower();
}
void QWebEngineView_MouseDoubleClickEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MouseDoubleClickEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::mouseDoubleClickEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MouseMoveEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->mouseMoveEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MouseMoveEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::mouseMoveEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MousePressEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->mousePressEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MousePressEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::mousePressEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MouseReleaseEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->mouseReleaseEvent(static_cast<QMouseEvent*>(event));
}
void QWebEngineView_MouseReleaseEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::mouseReleaseEvent(static_cast<QMouseEvent*>(event));
}
char QWebEngineView_NativeEvent(void* ptr, void* eventType, void* message, long result)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
2016-05-11 16:33:24 +03:00
}
char QWebEngineView_NativeEventDefault(void* ptr, void* eventType, void* message, long result)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::nativeEvent(*static_cast<QByteArray*>(eventType), message, &result);
2016-05-11 16:33:24 +03:00
}
void QWebEngineView_Raise(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "raise");
}
void QWebEngineView_RaiseDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::raise();
}
void QWebEngineView_Repaint(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "repaint");
}
void QWebEngineView_RepaintDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::repaint();
}
void QWebEngineView_ResizeEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->resizeEvent(static_cast<QResizeEvent*>(event));
}
void QWebEngineView_ResizeEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::resizeEvent(static_cast<QResizeEvent*>(event));
}
void QWebEngineView_SetDisabled(void* ptr, char disable)
2016-05-11 16:33:24 +03:00
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setDisabled", Q_ARG(bool, disable != 0));
}
void QWebEngineView_SetDisabledDefault(void* ptr, char disable)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setDisabled(disable != 0);
}
void QWebEngineView_SetFocus2(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setFocus");
}
void QWebEngineView_SetFocus2Default(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setFocus();
}
void QWebEngineView_SetHidden(void* ptr, char hidden)
2016-05-11 16:33:24 +03:00
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "setHidden", Q_ARG(bool, hidden != 0));
}
void QWebEngineView_SetHiddenDefault(void* ptr, char hidden)
2016-05-11 16:33:24 +03:00
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::setHidden(hidden != 0);
}
void QWebEngineView_Show(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "show");
}
void QWebEngineView_ShowDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::show();
}
void QWebEngineView_ShowFullScreen(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "showFullScreen");
}
void QWebEngineView_ShowFullScreenDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::showFullScreen();
}
void QWebEngineView_ShowMaximized(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "showMaximized");
}
void QWebEngineView_ShowMaximizedDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::showMaximized();
}
void QWebEngineView_ShowMinimized(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "showMinimized");
}
void QWebEngineView_ShowMinimizedDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::showMinimized();
}
void QWebEngineView_ShowNormal(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "showNormal");
}
void QWebEngineView_ShowNormalDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::showNormal();
}
void QWebEngineView_TabletEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->tabletEvent(static_cast<QTabletEvent*>(event));
}
void QWebEngineView_TabletEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::tabletEvent(static_cast<QTabletEvent*>(event));
}
void QWebEngineView_Update(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "update");
}
void QWebEngineView_UpdateDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::update();
}
void QWebEngineView_UpdateMicroFocus(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "updateMicroFocus");
}
void QWebEngineView_UpdateMicroFocusDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::updateMicroFocus();
}
void QWebEngineView_WheelEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->wheelEvent(static_cast<QWheelEvent*>(event));
}
void QWebEngineView_WheelEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::wheelEvent(static_cast<QWheelEvent*>(event));
}
void QWebEngineView_TimerEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineView_TimerEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::timerEvent(static_cast<QTimerEvent*>(event));
}
void QWebEngineView_ChildEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineView_ChildEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::childEvent(static_cast<QChildEvent*>(event));
}
void QWebEngineView_ConnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineView*>(ptr)->connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineView_ConnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::connectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineView_CustomEvent(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->customEvent(static_cast<QEvent*>(event));
}
void QWebEngineView_CustomEventDefault(void* ptr, void* event)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::customEvent(static_cast<QEvent*>(event));
}
void QWebEngineView_DeleteLater(void* ptr)
{
QMetaObject::invokeMethod(static_cast<QWebEngineView*>(ptr), "deleteLater");
}
void QWebEngineView_DeleteLaterDefault(void* ptr)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::deleteLater();
}
void QWebEngineView_DisconnectNotify(void* ptr, void* sign)
{
static_cast<QWebEngineView*>(ptr)->disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
void QWebEngineView_DisconnectNotifyDefault(void* ptr, void* sign)
{
static_cast<QWebEngineView*>(ptr)->QWebEngineView::disconnectNotify(*static_cast<QMetaMethod*>(sign));
}
char QWebEngineView_EventFilter(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
char QWebEngineView_EventFilterDefault(void* ptr, void* watched, void* event)
2016-05-11 16:33:24 +03:00
{
return static_cast<QWebEngineView*>(ptr)->QWebEngineView::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
}
void* QWebEngineView_MetaObject(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineView*>(ptr)->metaObject());
}
void* QWebEngineView_MetaObjectDefault(void* ptr)
{
return const_cast<QMetaObject*>(static_cast<QWebEngineView*>(ptr)->QWebEngineView::metaObject());
}