2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QFONTDIALOG_H
|
|
|
|
#define GEN_QFONTDIALOG_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QFont;
|
|
|
|
class QFontDialog;
|
|
|
|
class QMetaObject;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QFont QFont;
|
|
|
|
typedef struct QFontDialog QFontDialog;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QFontDialog* QFontDialog_new();
|
|
|
|
QFontDialog* QFontDialog_new2(QFont* initial);
|
|
|
|
QFontDialog* QFontDialog_new3(QWidget* parent);
|
|
|
|
QFontDialog* QFontDialog_new4(QFont* initial, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QFontDialog_MetaObject(const QFontDialog* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QFontDialog_Metacast(QFontDialog* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QFontDialog_Tr(const char* s);
|
|
|
|
struct miqt_string* QFontDialog_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_SetCurrentFont(QFontDialog* self, QFont* font);
|
2024-09-11 05:41:09 +00:00
|
|
|
QFont* QFontDialog_CurrentFont(const QFontDialog* self);
|
|
|
|
QFont* QFontDialog_SelectedFont(const QFontDialog* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QFontDialog_SetOption(QFontDialog* self, int option);
|
|
|
|
bool QFontDialog_TestOption(const QFontDialog* self, int option);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QFontDialog_SetOptions(QFontDialog* self, int options);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QFontDialog_Options(const QFontDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_SetVisible(QFontDialog* self, bool visible);
|
|
|
|
QFont* QFontDialog_GetFont(bool* ok);
|
2024-08-29 07:01:51 +00:00
|
|
|
QFont* QFontDialog_GetFont2(bool* ok, QFont* initial);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_CurrentFontChanged(QFontDialog* self, QFont* font);
|
|
|
|
void QFontDialog_connect_CurrentFontChanged(QFontDialog* self, void* slot);
|
|
|
|
void QFontDialog_FontSelected(QFontDialog* self, QFont* font);
|
|
|
|
void QFontDialog_connect_FontSelected(QFontDialog* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QFontDialog_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QFontDialog_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QFontDialog_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QFontDialog_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QFontDialog_SetOption2(QFontDialog* self, int option, bool on);
|
2024-08-29 07:01:51 +00:00
|
|
|
QFont* QFontDialog_GetFont22(bool* ok, QWidget* parent);
|
|
|
|
QFont* QFontDialog_GetFont3(bool* ok, QFont* initial, QWidget* parent);
|
2024-09-14 22:29:05 +00:00
|
|
|
QFont* QFontDialog_GetFont4(bool* ok, QFont* initial, QWidget* parent, struct miqt_string* title);
|
|
|
|
QFont* QFontDialog_GetFont5(bool* ok, QFont* initial, QWidget* parent, struct miqt_string* title, int options);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QFontDialog_Delete(QFontDialog* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|