miqt/qt6/gen_qerrormessage.h

44 lines
1.2 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QERRORMESSAGE_H
#define MIQT_QT6_GEN_QERRORMESSAGE_H
2024-10-20 05:21:03 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QErrorMessage;
class QMetaObject;
class QWidget;
#else
typedef struct QErrorMessage QErrorMessage;
typedef struct QMetaObject QMetaObject;
typedef struct QWidget QWidget;
#endif
QErrorMessage* QErrorMessage_new(QWidget* parent);
QErrorMessage* QErrorMessage_new2();
2024-10-20 05:21:03 +00:00
QMetaObject* QErrorMessage_MetaObject(const QErrorMessage* self);
void* QErrorMessage_Metacast(QErrorMessage* self, const char* param1);
struct miqt_string QErrorMessage_Tr(const char* s);
QErrorMessage* QErrorMessage_QtHandler();
void QErrorMessage_ShowMessage(QErrorMessage* self, struct miqt_string message);
void QErrorMessage_ShowMessage2(QErrorMessage* self, struct miqt_string message, struct miqt_string typeVal);
struct miqt_string QErrorMessage_Tr2(const char* s, const char* c);
struct miqt_string QErrorMessage_Tr3(const char* s, const char* c, int n);
void QErrorMessage_Delete(QErrorMessage* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif