2024-08-25 04:08:24 +00:00
|
|
|
#include <QAbstractEventDispatcher>
|
|
|
|
#include <QAbstractNativeEventFilter>
|
2024-11-19 06:29:06 +00:00
|
|
|
#include <QChildEvent>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QCoreApplication>
|
|
|
|
#include <QEvent>
|
|
|
|
#include <QList>
|
2024-11-19 06:29:06 +00:00
|
|
|
#include <QMetaMethod>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QMetaObject>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QString>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include <QByteArray>
|
|
|
|
#include <cstring>
|
2024-11-19 06:29:06 +00:00
|
|
|
#include <QTimerEvent>
|
2024-08-25 04:08:24 +00:00
|
|
|
#include <QTranslator>
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qcoreapplication.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qcoreapplication.h"
|
2024-12-11 06:55:47 +00:00
|
|
|
|
|
|
|
#ifndef _Bool
|
|
|
|
#define _Bool bool
|
|
|
|
#endif
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
class MiqtVirtualQCoreApplication : public virtual QCoreApplication {
|
|
|
|
public:
|
|
|
|
|
|
|
|
MiqtVirtualQCoreApplication(int& argc, char** argv): QCoreApplication(argc, argv) {};
|
|
|
|
MiqtVirtualQCoreApplication(int& argc, char** argv, int param3): QCoreApplication(argc, argv, param3) {};
|
|
|
|
|
|
|
|
virtual ~MiqtVirtualQCoreApplication() = default;
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__Notify = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual bool notify(QObject* param1, QEvent* param2) override {
|
|
|
|
if (handle__Notify == 0) {
|
|
|
|
return QCoreApplication::notify(param1, param2);
|
|
|
|
}
|
|
|
|
|
|
|
|
QObject* sigval1 = param1;
|
|
|
|
QEvent* sigval2 = param2;
|
|
|
|
|
|
|
|
bool callback_return_value = miqt_exec_callback_QCoreApplication_Notify(this, handle__Notify, sigval1, sigval2);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
bool virtualbase_Notify(QObject* param1, QEvent* param2) {
|
|
|
|
|
|
|
|
return QCoreApplication::notify(param1, param2);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__Event = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual bool event(QEvent* param1) override {
|
|
|
|
if (handle__Event == 0) {
|
|
|
|
return QCoreApplication::event(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QEvent* sigval1 = param1;
|
|
|
|
|
|
|
|
bool callback_return_value = miqt_exec_callback_QCoreApplication_Event(this, handle__Event, sigval1);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
bool virtualbase_Event(QEvent* param1) {
|
|
|
|
|
|
|
|
return QCoreApplication::event(param1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__EventFilter = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual bool eventFilter(QObject* watched, QEvent* event) override {
|
|
|
|
if (handle__EventFilter == 0) {
|
|
|
|
return QCoreApplication::eventFilter(watched, event);
|
|
|
|
}
|
|
|
|
|
|
|
|
QObject* sigval1 = watched;
|
|
|
|
QEvent* sigval2 = event;
|
|
|
|
|
|
|
|
bool callback_return_value = miqt_exec_callback_QCoreApplication_EventFilter(this, handle__EventFilter, sigval1, sigval2);
|
|
|
|
|
|
|
|
return callback_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
bool virtualbase_EventFilter(QObject* watched, QEvent* event) {
|
|
|
|
|
|
|
|
return QCoreApplication::eventFilter(watched, event);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__TimerEvent = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void timerEvent(QTimerEvent* event) override {
|
|
|
|
if (handle__TimerEvent == 0) {
|
|
|
|
QCoreApplication::timerEvent(event);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTimerEvent* sigval1 = event;
|
|
|
|
|
|
|
|
miqt_exec_callback_QCoreApplication_TimerEvent(this, handle__TimerEvent, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_TimerEvent(QTimerEvent* event) {
|
|
|
|
|
|
|
|
QCoreApplication::timerEvent(event);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__ChildEvent = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void childEvent(QChildEvent* event) override {
|
|
|
|
if (handle__ChildEvent == 0) {
|
|
|
|
QCoreApplication::childEvent(event);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
QChildEvent* sigval1 = event;
|
|
|
|
|
|
|
|
miqt_exec_callback_QCoreApplication_ChildEvent(this, handle__ChildEvent, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_ChildEvent(QChildEvent* event) {
|
|
|
|
|
|
|
|
QCoreApplication::childEvent(event);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__CustomEvent = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void customEvent(QEvent* event) override {
|
|
|
|
if (handle__CustomEvent == 0) {
|
|
|
|
QCoreApplication::customEvent(event);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
QEvent* sigval1 = event;
|
|
|
|
|
|
|
|
miqt_exec_callback_QCoreApplication_CustomEvent(this, handle__CustomEvent, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_CustomEvent(QEvent* event) {
|
|
|
|
|
|
|
|
QCoreApplication::customEvent(event);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__ConnectNotify = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void connectNotify(const QMetaMethod& signal) override {
|
|
|
|
if (handle__ConnectNotify == 0) {
|
|
|
|
QCoreApplication::connectNotify(signal);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QMetaMethod& signal_ret = signal;
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
|
|
|
|
|
|
|
|
miqt_exec_callback_QCoreApplication_ConnectNotify(this, handle__ConnectNotify, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_ConnectNotify(QMetaMethod* signal) {
|
|
|
|
|
|
|
|
QCoreApplication::connectNotify(*signal);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
|
|
intptr_t handle__DisconnectNotify = 0;
|
|
|
|
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
|
|
virtual void disconnectNotify(const QMetaMethod& signal) override {
|
|
|
|
if (handle__DisconnectNotify == 0) {
|
|
|
|
QCoreApplication::disconnectNotify(signal);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
const QMetaMethod& signal_ret = signal;
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
|
|
|
|
|
|
|
|
miqt_exec_callback_QCoreApplication_DisconnectNotify(this, handle__DisconnectNotify, sigval1);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// Wrapper to allow calling protected method
|
|
|
|
void virtualbase_DisconnectNotify(QMetaMethod* signal) {
|
|
|
|
|
|
|
|
QCoreApplication::disconnectNotify(*signal);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QCoreApplication* QCoreApplication_new(int* argc, char** argv) {
|
|
|
|
return new MiqtVirtualQCoreApplication(static_cast<int&>(*argc), argv);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QCoreApplication* QCoreApplication_new2(int* argc, char** argv, int param3) {
|
|
|
|
return new MiqtVirtualQCoreApplication(static_cast<int&>(*argc), argv, static_cast<int>(param3));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_virtbase(QCoreApplication* src, QObject** outptr_QObject) {
|
|
|
|
*outptr_QObject = static_cast<QObject*>(src);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QCoreApplication_MetaObject(const QCoreApplication* self) {
|
|
|
|
return (QMetaObject*) self->metaObject();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QCoreApplication_Metacast(QCoreApplication* self, const char* param1) {
|
|
|
|
return self->qt_metacast(param1);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_Tr(const char* s) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::tr(s);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_TrUtf8(const char* s) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::trUtf8(s);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of struct miqt_string */ QCoreApplication_Arguments() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QStringList _ret = QCoreApplication::arguments();
|
2024-09-17 06:29:11 +00:00
|
|
|
// Convert QList<> from C++ memory to manually-managed C memory
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string* _arr = static_cast<struct miqt_string*>(malloc(sizeof(struct miqt_string) * _ret.length()));
|
2024-09-14 22:29:05 +00:00
|
|
|
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
|
|
|
|
QString _lv_ret = _ret[i];
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _lv_b = _lv_ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _lv_ms;
|
|
|
|
_lv_ms.len = _lv_b.length();
|
|
|
|
_lv_ms.data = static_cast<char*>(malloc(_lv_ms.len));
|
|
|
|
memcpy(_lv_ms.data, _lv_b.data(), _lv_ms.len);
|
|
|
|
_arr[i] = _lv_ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array _out;
|
|
|
|
_out.len = _ret.length();
|
|
|
|
_out.data = static_cast<void*>(_arr);
|
2024-09-14 22:29:05 +00:00
|
|
|
return _out;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
void QCoreApplication_SetAttribute(int attribute) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QCoreApplication::setAttribute(static_cast<Qt::ApplicationAttribute>(attribute));
|
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
bool QCoreApplication_TestAttribute(int attribute) {
|
2024-08-29 07:01:51 +00:00
|
|
|
return QCoreApplication::testAttribute(static_cast<Qt::ApplicationAttribute>(attribute));
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QCoreApplication_SetOrganizationDomain(struct miqt_string orgDomain) {
|
|
|
|
QString orgDomain_QString = QString::fromUtf8(orgDomain.data, orgDomain.len);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCoreApplication::setOrganizationDomain(orgDomain_QString);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_OrganizationDomain() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::organizationDomain();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QCoreApplication_SetOrganizationName(struct miqt_string orgName) {
|
|
|
|
QString orgName_QString = QString::fromUtf8(orgName.data, orgName.len);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCoreApplication::setOrganizationName(orgName_QString);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_OrganizationName() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::organizationName();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QCoreApplication_SetApplicationName(struct miqt_string application) {
|
|
|
|
QString application_QString = QString::fromUtf8(application.data, application.len);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCoreApplication::setApplicationName(application_QString);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_ApplicationName() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::applicationName();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QCoreApplication_SetApplicationVersion(struct miqt_string version) {
|
|
|
|
QString version_QString = QString::fromUtf8(version.data, version.len);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCoreApplication::setApplicationVersion(version_QString);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_ApplicationVersion() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::applicationVersion();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_SetSetuidAllowed(bool allow) {
|
|
|
|
QCoreApplication::setSetuidAllowed(allow);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_IsSetuidAllowed() {
|
|
|
|
return QCoreApplication::isSetuidAllowed();
|
|
|
|
}
|
|
|
|
|
|
|
|
QCoreApplication* QCoreApplication_Instance() {
|
|
|
|
return QCoreApplication::instance();
|
|
|
|
}
|
|
|
|
|
|
|
|
int QCoreApplication_Exec() {
|
|
|
|
return QCoreApplication::exec();
|
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
void QCoreApplication_ProcessEvents() {
|
|
|
|
QCoreApplication::processEvents();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_ProcessEvents2(int flags, int maxtime) {
|
|
|
|
QCoreApplication::processEvents(static_cast<QEventLoop::ProcessEventsFlags>(flags), static_cast<int>(maxtime));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCoreApplication_Exit() {
|
|
|
|
QCoreApplication::exit();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_SendEvent(QObject* receiver, QEvent* event) {
|
|
|
|
return QCoreApplication::sendEvent(receiver, event);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_PostEvent(QObject* receiver, QEvent* event) {
|
|
|
|
QCoreApplication::postEvent(receiver, event);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_SendPostedEvents() {
|
|
|
|
QCoreApplication::sendPostedEvents();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_RemovePostedEvents(QObject* receiver) {
|
|
|
|
QCoreApplication::removePostedEvents(receiver);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_HasPendingEvents() {
|
|
|
|
return QCoreApplication::hasPendingEvents();
|
|
|
|
}
|
|
|
|
|
|
|
|
QAbstractEventDispatcher* QCoreApplication_EventDispatcher() {
|
|
|
|
return QCoreApplication::eventDispatcher();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_SetEventDispatcher(QAbstractEventDispatcher* eventDispatcher) {
|
|
|
|
QCoreApplication::setEventDispatcher(eventDispatcher);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_Notify(QCoreApplication* self, QObject* param1, QEvent* param2) {
|
|
|
|
return self->notify(param1, param2);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_StartingUp() {
|
|
|
|
return QCoreApplication::startingUp();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_ClosingDown() {
|
|
|
|
return QCoreApplication::closingDown();
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_ApplicationDirPath() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::applicationDirPath();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_ApplicationFilePath() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::applicationFilePath();
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
long long QCoreApplication_ApplicationPid() {
|
2024-09-18 00:12:02 +00:00
|
|
|
qint64 _ret = QCoreApplication::applicationPid();
|
|
|
|
return static_cast<long long>(_ret);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-11-17 06:21:37 +00:00
|
|
|
void QCoreApplication_SetLibraryPaths(struct miqt_array /* of struct miqt_string */ libraryPaths) {
|
2024-10-16 05:07:56 +00:00
|
|
|
QStringList libraryPaths_QList;
|
2024-11-04 07:18:27 +00:00
|
|
|
libraryPaths_QList.reserve(libraryPaths.len);
|
|
|
|
struct miqt_string* libraryPaths_arr = static_cast<struct miqt_string*>(libraryPaths.data);
|
|
|
|
for(size_t i = 0; i < libraryPaths.len; ++i) {
|
2024-10-18 23:53:33 +00:00
|
|
|
QString libraryPaths_arr_i_QString = QString::fromUtf8(libraryPaths_arr[i].data, libraryPaths_arr[i].len);
|
2024-09-17 07:43:35 +00:00
|
|
|
libraryPaths_QList.push_back(libraryPaths_arr_i_QString);
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
QCoreApplication::setLibraryPaths(libraryPaths_QList);
|
|
|
|
}
|
|
|
|
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of struct miqt_string */ QCoreApplication_LibraryPaths() {
|
2024-09-14 22:29:05 +00:00
|
|
|
QStringList _ret = QCoreApplication::libraryPaths();
|
2024-09-17 06:29:11 +00:00
|
|
|
// Convert QList<> from C++ memory to manually-managed C memory
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string* _arr = static_cast<struct miqt_string*>(malloc(sizeof(struct miqt_string) * _ret.length()));
|
2024-09-14 22:29:05 +00:00
|
|
|
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
|
|
|
|
QString _lv_ret = _ret[i];
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _lv_b = _lv_ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _lv_ms;
|
|
|
|
_lv_ms.len = _lv_b.length();
|
|
|
|
_lv_ms.data = static_cast<char*>(malloc(_lv_ms.len));
|
|
|
|
memcpy(_lv_ms.data, _lv_b.data(), _lv_ms.len);
|
|
|
|
_arr[i] = _lv_ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
2024-11-04 07:18:27 +00:00
|
|
|
struct miqt_array _out;
|
|
|
|
_out.len = _ret.length();
|
|
|
|
_out.data = static_cast<void*>(_arr);
|
2024-09-14 22:29:05 +00:00
|
|
|
return _out;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QCoreApplication_AddLibraryPath(struct miqt_string param1) {
|
|
|
|
QString param1_QString = QString::fromUtf8(param1.data, param1.len);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCoreApplication::addLibraryPath(param1_QString);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QCoreApplication_RemoveLibraryPath(struct miqt_string param1) {
|
|
|
|
QString param1_QString = QString::fromUtf8(param1.data, param1.len);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCoreApplication::removeLibraryPath(param1_QString);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_InstallTranslator(QTranslator* messageFile) {
|
|
|
|
return QCoreApplication::installTranslator(messageFile);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_RemoveTranslator(QTranslator* messageFile) {
|
|
|
|
return QCoreApplication::removeTranslator(messageFile);
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_Translate(const char* context, const char* key) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::translate(context, key);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_Flush() {
|
|
|
|
QCoreApplication::flush();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_InstallNativeEventFilter(QCoreApplication* self, QAbstractNativeEventFilter* filterObj) {
|
|
|
|
self->installNativeEventFilter(filterObj);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_RemoveNativeEventFilter(QCoreApplication* self, QAbstractNativeEventFilter* filterObj) {
|
|
|
|
self->removeNativeEventFilter(filterObj);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_IsQuitLockEnabled() {
|
|
|
|
return QCoreApplication::isQuitLockEnabled();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_SetQuitLockEnabled(bool enabled) {
|
|
|
|
QCoreApplication::setQuitLockEnabled(enabled);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_Quit() {
|
|
|
|
QCoreApplication::quit();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_OrganizationNameChanged(QCoreApplication* self) {
|
|
|
|
self->organizationNameChanged();
|
|
|
|
}
|
|
|
|
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCoreApplication_connect_OrganizationNameChanged(QCoreApplication* self, intptr_t slot) {
|
2024-11-19 06:29:06 +00:00
|
|
|
MiqtVirtualQCoreApplication::connect(self, static_cast<void (QCoreApplication::*)()>(&QCoreApplication::organizationNameChanged), self, [=]() {
|
2024-09-14 22:29:05 +00:00
|
|
|
miqt_exec_callback_QCoreApplication_OrganizationNameChanged(slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_OrganizationDomainChanged(QCoreApplication* self) {
|
|
|
|
self->organizationDomainChanged();
|
|
|
|
}
|
|
|
|
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCoreApplication_connect_OrganizationDomainChanged(QCoreApplication* self, intptr_t slot) {
|
2024-11-19 06:29:06 +00:00
|
|
|
MiqtVirtualQCoreApplication::connect(self, static_cast<void (QCoreApplication::*)()>(&QCoreApplication::organizationDomainChanged), self, [=]() {
|
2024-09-14 22:29:05 +00:00
|
|
|
miqt_exec_callback_QCoreApplication_OrganizationDomainChanged(slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_ApplicationNameChanged(QCoreApplication* self) {
|
|
|
|
self->applicationNameChanged();
|
|
|
|
}
|
|
|
|
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCoreApplication_connect_ApplicationNameChanged(QCoreApplication* self, intptr_t slot) {
|
2024-11-19 06:29:06 +00:00
|
|
|
MiqtVirtualQCoreApplication::connect(self, static_cast<void (QCoreApplication::*)()>(&QCoreApplication::applicationNameChanged), self, [=]() {
|
2024-09-14 22:29:05 +00:00
|
|
|
miqt_exec_callback_QCoreApplication_ApplicationNameChanged(slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_ApplicationVersionChanged(QCoreApplication* self) {
|
|
|
|
self->applicationVersionChanged();
|
|
|
|
}
|
|
|
|
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCoreApplication_connect_ApplicationVersionChanged(QCoreApplication* self, intptr_t slot) {
|
2024-11-19 06:29:06 +00:00
|
|
|
MiqtVirtualQCoreApplication::connect(self, static_cast<void (QCoreApplication::*)()>(&QCoreApplication::applicationVersionChanged), self, [=]() {
|
2024-09-14 22:29:05 +00:00
|
|
|
miqt_exec_callback_QCoreApplication_ApplicationVersionChanged(slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_Tr2(const char* s, const char* c) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::tr(s, c);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_Tr3(const char* s, const char* c, int n) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::tr(s, c, static_cast<int>(n));
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_TrUtf82(const char* s, const char* c) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::trUtf8(s, c);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_TrUtf83(const char* s, const char* c, int n) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::trUtf8(s, c, static_cast<int>(n));
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
void QCoreApplication_SetAttribute2(int attribute, bool on) {
|
2024-08-29 07:01:51 +00:00
|
|
|
QCoreApplication::setAttribute(static_cast<Qt::ApplicationAttribute>(attribute), on);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_ProcessEvents1(int flags) {
|
|
|
|
QCoreApplication::processEvents(static_cast<QEventLoop::ProcessEventsFlags>(flags));
|
|
|
|
}
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCoreApplication_Exit1(int retcode) {
|
|
|
|
QCoreApplication::exit(static_cast<int>(retcode));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_PostEvent3(QObject* receiver, QEvent* event, int priority) {
|
|
|
|
QCoreApplication::postEvent(receiver, event, static_cast<int>(priority));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_SendPostedEvents1(QObject* receiver) {
|
|
|
|
QCoreApplication::sendPostedEvents(receiver);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_SendPostedEvents2(QObject* receiver, int event_type) {
|
|
|
|
QCoreApplication::sendPostedEvents(receiver, static_cast<int>(event_type));
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_RemovePostedEvents2(QObject* receiver, int eventType) {
|
|
|
|
QCoreApplication::removePostedEvents(receiver, static_cast<int>(eventType));
|
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_Translate3(const char* context, const char* key, const char* disambiguation) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::translate(context, key, disambiguation);
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QCoreApplication_Translate4(const char* context, const char* key, const char* disambiguation, int n) {
|
2024-09-14 22:29:05 +00:00
|
|
|
QString _ret = QCoreApplication::translate(context, key, disambiguation, static_cast<int>(n));
|
2024-08-25 04:08:24 +00:00
|
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
2024-09-14 22:29:05 +00:00
|
|
|
QByteArray _b = _ret.toUtf8();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string _ms;
|
|
|
|
_ms.len = _b.length();
|
|
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
|
|
return _ms;
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QCoreApplication_override_virtual_Notify(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__Notify = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_virtualbase_Notify(void* self, QObject* param1, QEvent* param2) {
|
|
|
|
return ( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_Notify(param1, param2);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_Event(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__Event = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_virtualbase_Event(void* self, QEvent* param1) {
|
|
|
|
return ( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_Event(param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_EventFilter(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__EventFilter = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QCoreApplication_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event) {
|
|
|
|
return ( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_EventFilter(watched, event);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_TimerEvent(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__TimerEvent = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_virtualbase_TimerEvent(void* self, QTimerEvent* event) {
|
|
|
|
( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_TimerEvent(event);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_ChildEvent(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__ChildEvent = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_virtualbase_ChildEvent(void* self, QChildEvent* event) {
|
|
|
|
( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_ChildEvent(event);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_CustomEvent(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__CustomEvent = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_virtualbase_CustomEvent(void* self, QEvent* event) {
|
|
|
|
( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_CustomEvent(event);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_ConnectNotify(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__ConnectNotify = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_virtualbase_ConnectNotify(void* self, QMetaMethod* signal) {
|
|
|
|
( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_ConnectNotify(signal);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_override_virtual_DisconnectNotify(void* self, intptr_t slot) {
|
|
|
|
dynamic_cast<MiqtVirtualQCoreApplication*>( (QCoreApplication*)(self) )->handle__DisconnectNotify = slot;
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal) {
|
|
|
|
( (MiqtVirtualQCoreApplication*)(self) )->virtualbase_DisconnectNotify(signal);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QCoreApplication_Delete(QCoreApplication* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<MiqtVirtualQCoreApplication*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|