2024-11-27 05:16:48 +00:00
|
|
|
#include <QUrl>
|
|
|
|
#include <QWebEngineQuotaRequest>
|
|
|
|
#include <qwebenginequotarequest.h>
|
|
|
|
#include "gen_qwebenginequotarequest.h"
|
2024-12-11 06:55:47 +00:00
|
|
|
|
|
|
|
#ifndef _Bool
|
|
|
|
#define _Bool bool
|
|
|
|
#endif
|
2024-11-27 05:16:48 +00:00
|
|
|
#include "_cgo_export.h"
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QWebEngineQuotaRequest* QWebEngineQuotaRequest_new() {
|
|
|
|
return new QWebEngineQuotaRequest();
|
2024-11-27 05:16:48 +00:00
|
|
|
}
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QWebEngineQuotaRequest* QWebEngineQuotaRequest_new2(QWebEngineQuotaRequest* param1) {
|
|
|
|
return new QWebEngineQuotaRequest(*param1);
|
2024-11-27 05:16:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineQuotaRequest_Accept(QWebEngineQuotaRequest* self) {
|
|
|
|
self->accept();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineQuotaRequest_Reject(QWebEngineQuotaRequest* self) {
|
|
|
|
self->reject();
|
|
|
|
}
|
|
|
|
|
|
|
|
QUrl* QWebEngineQuotaRequest_Origin(const QWebEngineQuotaRequest* self) {
|
|
|
|
return new QUrl(self->origin());
|
|
|
|
}
|
|
|
|
|
|
|
|
long long QWebEngineQuotaRequest_RequestedSize(const QWebEngineQuotaRequest* self) {
|
|
|
|
qint64 _ret = self->requestedSize();
|
|
|
|
return static_cast<long long>(_ret);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QWebEngineQuotaRequest_OperatorEqual(const QWebEngineQuotaRequest* self, QWebEngineQuotaRequest* that) {
|
|
|
|
return (*self == *that);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QWebEngineQuotaRequest_OperatorNotEqual(const QWebEngineQuotaRequest* self, QWebEngineQuotaRequest* that) {
|
|
|
|
return (*self != *that);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QWebEngineQuotaRequest_Delete(QWebEngineQuotaRequest* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QWebEngineQuotaRequest*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|