miqt/qt/webengine/gen_qwebenginefullscreenrequest.cpp

40 lines
979 B
C++

#include <QUrl>
#include <QWebEngineFullScreenRequest>
#include <qwebenginefullscreenrequest.h>
#include "gen_qwebenginefullscreenrequest.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
QWebEngineFullScreenRequest* QWebEngineFullScreenRequest_new(QWebEngineFullScreenRequest* param1) {
return new QWebEngineFullScreenRequest(*param1);
}
void QWebEngineFullScreenRequest_Reject(QWebEngineFullScreenRequest* self) {
self->reject();
}
void QWebEngineFullScreenRequest_Accept(QWebEngineFullScreenRequest* self) {
self->accept();
}
bool QWebEngineFullScreenRequest_ToggleOn(const QWebEngineFullScreenRequest* self) {
return self->toggleOn();
}
QUrl* QWebEngineFullScreenRequest_Origin(const QWebEngineFullScreenRequest* self) {
const QUrl& _ret = self->origin();
// Cast returned reference into pointer
return const_cast<QUrl*>(&_ret);
}
void QWebEngineFullScreenRequest_Delete(QWebEngineFullScreenRequest* self) {
delete self;
}