miqt/qt/webengine/gen_qwebenginefindtextresult.cpp

38 lines
996 B
C++
Raw Permalink Normal View History

2024-11-27 05:16:48 +00:00
#include <QWebEngineFindTextResult>
#include <qwebenginefindtextresult.h>
#include "gen_qwebenginefindtextresult.h"
#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
QWebEngineFindTextResult* QWebEngineFindTextResult_new() {
return new QWebEngineFindTextResult();
2024-11-27 05:16:48 +00:00
}
2024-12-07 04:15:57 +00:00
QWebEngineFindTextResult* QWebEngineFindTextResult_new2(QWebEngineFindTextResult* other) {
return new QWebEngineFindTextResult(*other);
2024-11-27 05:16:48 +00:00
}
int QWebEngineFindTextResult_NumberOfMatches(const QWebEngineFindTextResult* self) {
return self->numberOfMatches();
}
int QWebEngineFindTextResult_ActiveMatch(const QWebEngineFindTextResult* self) {
return self->activeMatch();
}
void QWebEngineFindTextResult_OperatorAssign(QWebEngineFindTextResult* self, QWebEngineFindTextResult* other) {
self->operator=(*other);
}
void QWebEngineFindTextResult_Delete(QWebEngineFindTextResult* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QWebEngineFindTextResult*>( self );
} else {
delete self;
}
}