miqt/qt/gen_qrubberband.h

53 lines
1.7 KiB
C
Raw Normal View History

#ifndef GEN_QRUBBERBAND_H
#define GEN_QRUBBERBAND_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QMetaObject;
class QPoint;
class QRect;
class QRubberBand;
class QSize;
2024-08-29 07:01:51 +00:00
class QWidget;
#else
typedef struct QMetaObject QMetaObject;
typedef struct QPoint QPoint;
typedef struct QRect QRect;
typedef struct QRubberBand QRubberBand;
typedef struct QSize QSize;
2024-08-29 07:01:51 +00:00
typedef struct QWidget QWidget;
#endif
2024-08-29 07:01:51 +00:00
QRubberBand* QRubberBand_new(uintptr_t param1);
QRubberBand* QRubberBand_new2(uintptr_t param1, QWidget* param2);
QMetaObject* QRubberBand_MetaObject(QRubberBand* self);
2024-08-29 07:01:51 +00:00
void QRubberBand_Tr(const char* s, char** _out, int* _out_Strlen);
void QRubberBand_TrUtf8(const char* s, char** _out, int* _out_Strlen);
uintptr_t QRubberBand_Shape(QRubberBand* self);
void QRubberBand_SetGeometry(QRubberBand* self, QRect* r);
void QRubberBand_SetGeometry2(QRubberBand* self, int x, int y, int w, int h);
void QRubberBand_Move(QRubberBand* self, int x, int y);
void QRubberBand_MoveWithQPoint(QRubberBand* self, QPoint* p);
void QRubberBand_Resize(QRubberBand* self, int w, int h);
void QRubberBand_ResizeWithQSize(QRubberBand* self, QSize* s);
2024-08-29 07:01:51 +00:00
void QRubberBand_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
void QRubberBand_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QRubberBand_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
void QRubberBand_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QRubberBand_Delete(QRubberBand* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif