miqt/qt6/gen_qrunnable.cpp
2024-10-21 19:10:31 +13:00

22 lines
394 B
C++

#include <QRunnable>
#include <qrunnable.h>
#include "gen_qrunnable.h"
#include "_cgo_export.h"
void QRunnable_Run(QRunnable* self) {
self->run();
}
bool QRunnable_AutoDelete(const QRunnable* self) {
return self->autoDelete();
}
void QRunnable_SetAutoDelete(QRunnable* self, bool autoDelete) {
self->setAutoDelete(autoDelete);
}
void QRunnable_Delete(QRunnable* self) {
delete self;
}