2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QINPUTMETHOD_H
|
|
|
|
#define GEN_QINPUTMETHOD_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 QInputMethod;
|
|
|
|
class QLocale;
|
|
|
|
class QMetaObject;
|
|
|
|
class QRectF;
|
|
|
|
class QTransform;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QVariant;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QInputMethod QInputMethod;
|
|
|
|
typedef struct QLocale QLocale;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QRectF QRectF;
|
|
|
|
typedef struct QTransform QTransform;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QVariant QVariant;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QInputMethod_MetaObject(const QInputMethod* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QInputMethod_Tr(const char* s);
|
|
|
|
struct miqt_string* QInputMethod_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTransform* QInputMethod_InputItemTransform(const QInputMethod* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QInputMethod_SetInputItemTransform(QInputMethod* self, QTransform* transform);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRectF* QInputMethod_InputItemRectangle(const QInputMethod* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QInputMethod_SetInputItemRectangle(QInputMethod* self, QRectF* rect);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRectF* QInputMethod_CursorRectangle(const QInputMethod* self);
|
|
|
|
QRectF* QInputMethod_AnchorRectangle(const QInputMethod* self);
|
|
|
|
QRectF* QInputMethod_KeyboardRectangle(const QInputMethod* self);
|
|
|
|
QRectF* QInputMethod_InputItemClipRectangle(const QInputMethod* self);
|
|
|
|
bool QInputMethod_IsVisible(const QInputMethod* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QInputMethod_SetVisible(QInputMethod* self, bool visible);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QInputMethod_IsAnimating(const QInputMethod* self);
|
|
|
|
QLocale* QInputMethod_Locale(const QInputMethod* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QInputMethod_InputDirection(const QInputMethod* self);
|
|
|
|
QVariant* QInputMethod_QueryFocusObject(int query, QVariant* argument);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QInputMethod_Show(QInputMethod* self);
|
|
|
|
void QInputMethod_Hide(QInputMethod* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QInputMethod_Update(QInputMethod* self, int queries);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QInputMethod_Reset(QInputMethod* self);
|
|
|
|
void QInputMethod_Commit(QInputMethod* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QInputMethod_InvokeAction(QInputMethod* self, int a, int cursorPosition);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QInputMethod_CursorRectangleChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_CursorRectangleChanged(QInputMethod* self, void* slot);
|
|
|
|
void QInputMethod_AnchorRectangleChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_AnchorRectangleChanged(QInputMethod* self, void* slot);
|
|
|
|
void QInputMethod_KeyboardRectangleChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_KeyboardRectangleChanged(QInputMethod* self, void* slot);
|
|
|
|
void QInputMethod_InputItemClipRectangleChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_InputItemClipRectangleChanged(QInputMethod* self, void* slot);
|
|
|
|
void QInputMethod_VisibleChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_VisibleChanged(QInputMethod* self, void* slot);
|
|
|
|
void QInputMethod_AnimatingChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_AnimatingChanged(QInputMethod* self, void* slot);
|
|
|
|
void QInputMethod_LocaleChanged(QInputMethod* self);
|
|
|
|
void QInputMethod_connect_LocaleChanged(QInputMethod* self, void* slot);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QInputMethod_InputDirectionChanged(QInputMethod* self, int newDirection);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QInputMethod_connect_InputDirectionChanged(QInputMethod* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QInputMethod_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QInputMethod_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QInputMethod_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QInputMethod_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|