mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
61 lines
2.2 KiB
C++
61 lines
2.2 KiB
C++
#ifndef GEN_QPUSHBUTTON_H
|
|
#define GEN_QPUSHBUTTON_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QIcon;
|
|
class QMenu;
|
|
class QMetaObject;
|
|
class QPushButton;
|
|
class QSize;
|
|
class QWidget;
|
|
#else
|
|
typedef struct QIcon QIcon;
|
|
typedef struct QMenu QMenu;
|
|
typedef struct QMetaObject QMetaObject;
|
|
typedef struct QPushButton QPushButton;
|
|
typedef struct QSize QSize;
|
|
typedef struct QWidget QWidget;
|
|
#endif
|
|
|
|
QPushButton* QPushButton_new();
|
|
QPushButton* QPushButton_new2(const char* text, size_t text_Strlen);
|
|
QPushButton* QPushButton_new3(QIcon* icon, const char* text, size_t text_Strlen);
|
|
QPushButton* QPushButton_new4(QWidget* parent);
|
|
QPushButton* QPushButton_new5(const char* text, size_t text_Strlen, QWidget* parent);
|
|
QPushButton* QPushButton_new6(QIcon* icon, const char* text, size_t text_Strlen, QWidget* parent);
|
|
QMetaObject* QPushButton_MetaObject(const QPushButton* self);
|
|
void QPushButton_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
void QPushButton_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
|
QSize* QPushButton_SizeHint(const QPushButton* self);
|
|
QSize* QPushButton_MinimumSizeHint(const QPushButton* self);
|
|
bool QPushButton_AutoDefault(const QPushButton* self);
|
|
void QPushButton_SetAutoDefault(QPushButton* self, bool autoDefault);
|
|
bool QPushButton_IsDefault(const QPushButton* self);
|
|
void QPushButton_SetDefault(QPushButton* self, bool defaultVal);
|
|
void QPushButton_SetMenu(QPushButton* self, QMenu* menu);
|
|
QMenu* QPushButton_Menu(const QPushButton* self);
|
|
void QPushButton_SetFlat(QPushButton* self, bool flat);
|
|
bool QPushButton_IsFlat(const QPushButton* self);
|
|
void QPushButton_ShowMenu(QPushButton* self);
|
|
void QPushButton_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QPushButton_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QPushButton_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
void QPushButton_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
void QPushButton_Delete(QPushButton* self);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|