miqt/qt6/webengine/gen_qwebenginefullscreenrequest.cpp

46 lines
1.1 KiB
C++
Raw Normal View History

2024-11-27 18:16:48 +13:00
#include <QUrl>
#include <QWebEngineFullScreenRequest>
#include <qwebenginefullscreenrequest.h>
#include "gen_qwebenginefullscreenrequest.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
2024-11-27 18:16:48 +13:00
2024-12-07 17:15:57 +13:00
QWebEngineFullScreenRequest* QWebEngineFullScreenRequest_new(QWebEngineFullScreenRequest* other) {
return new QWebEngineFullScreenRequest(*other);
2024-11-27 18:16:48 +13:00
}
void QWebEngineFullScreenRequest_OperatorAssign(QWebEngineFullScreenRequest* self, QWebEngineFullScreenRequest* other) {
self->operator=(*other);
}
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) {
return new QUrl(self->origin());
}
void QWebEngineFullScreenRequest_Delete(QWebEngineFullScreenRequest* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QWebEngineFullScreenRequest*>( self );
} else {
delete self;
}
}