miqt/qt/gen_qlineedit.h

150 lines
6.7 KiB
C
Raw Normal View History

#ifndef GEN_QLINEEDIT_H
#define GEN_QLINEEDIT_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
2024-08-29 07:01:51 +00:00
class QAction;
class QCompleter;
class QEvent;
2024-08-29 07:01:51 +00:00
class QIcon;
class QLineEdit;
class QMargins;
class QMenu;
class QMetaObject;
class QPoint;
class QSize;
class QValidator;
2024-08-29 07:01:51 +00:00
class QVariant;
class QWidget;
#else
2024-08-29 07:01:51 +00:00
typedef struct QAction QAction;
typedef struct QCompleter QCompleter;
typedef struct QEvent QEvent;
2024-08-29 07:01:51 +00:00
typedef struct QIcon QIcon;
typedef struct QLineEdit QLineEdit;
typedef struct QMargins QMargins;
typedef struct QMenu QMenu;
typedef struct QMetaObject QMetaObject;
typedef struct QPoint QPoint;
typedef struct QSize QSize;
typedef struct QValidator QValidator;
2024-08-29 07:01:51 +00:00
typedef struct QVariant QVariant;
typedef struct QWidget QWidget;
#endif
QLineEdit* QLineEdit_new();
QLineEdit* QLineEdit_new2(struct miqt_string* param1);
QLineEdit* QLineEdit_new3(QWidget* parent);
QLineEdit* QLineEdit_new4(struct miqt_string* param1, QWidget* parent);
QMetaObject* QLineEdit_MetaObject(const QLineEdit* self);
struct miqt_string* QLineEdit_Tr(const char* s);
struct miqt_string* QLineEdit_TrUtf8(const char* s);
struct miqt_string* QLineEdit_Text(const QLineEdit* self);
struct miqt_string* QLineEdit_DisplayText(const QLineEdit* self);
struct miqt_string* QLineEdit_PlaceholderText(const QLineEdit* self);
void QLineEdit_SetPlaceholderText(QLineEdit* self, struct miqt_string* placeholderText);
int QLineEdit_MaxLength(const QLineEdit* self);
void QLineEdit_SetMaxLength(QLineEdit* self, int maxLength);
void QLineEdit_SetFrame(QLineEdit* self, bool frame);
bool QLineEdit_HasFrame(const QLineEdit* self);
void QLineEdit_SetClearButtonEnabled(QLineEdit* self, bool enable);
bool QLineEdit_IsClearButtonEnabled(const QLineEdit* self);
uintptr_t QLineEdit_EchoMode(const QLineEdit* self);
2024-08-29 07:01:51 +00:00
void QLineEdit_SetEchoMode(QLineEdit* self, uintptr_t echoMode);
bool QLineEdit_IsReadOnly(const QLineEdit* self);
void QLineEdit_SetReadOnly(QLineEdit* self, bool readOnly);
void QLineEdit_SetValidator(QLineEdit* self, QValidator* validator);
QValidator* QLineEdit_Validator(const QLineEdit* self);
void QLineEdit_SetCompleter(QLineEdit* self, QCompleter* completer);
QCompleter* QLineEdit_Completer(const QLineEdit* self);
QSize* QLineEdit_SizeHint(const QLineEdit* self);
QSize* QLineEdit_MinimumSizeHint(const QLineEdit* self);
int QLineEdit_CursorPosition(const QLineEdit* self);
void QLineEdit_SetCursorPosition(QLineEdit* self, int cursorPosition);
int QLineEdit_CursorPositionAt(QLineEdit* self, QPoint* pos);
2024-08-29 07:01:51 +00:00
void QLineEdit_SetAlignment(QLineEdit* self, int flag);
int QLineEdit_Alignment(const QLineEdit* self);
void QLineEdit_CursorForward(QLineEdit* self, bool mark);
void QLineEdit_CursorBackward(QLineEdit* self, bool mark);
void QLineEdit_CursorWordForward(QLineEdit* self, bool mark);
void QLineEdit_CursorWordBackward(QLineEdit* self, bool mark);
void QLineEdit_Backspace(QLineEdit* self);
void QLineEdit_Del(QLineEdit* self);
void QLineEdit_Home(QLineEdit* self, bool mark);
void QLineEdit_End(QLineEdit* self, bool mark);
bool QLineEdit_IsModified(const QLineEdit* self);
void QLineEdit_SetModified(QLineEdit* self, bool modified);
void QLineEdit_SetSelection(QLineEdit* self, int param1, int param2);
bool QLineEdit_HasSelectedText(const QLineEdit* self);
struct miqt_string* QLineEdit_SelectedText(const QLineEdit* self);
int QLineEdit_SelectionStart(const QLineEdit* self);
int QLineEdit_SelectionEnd(const QLineEdit* self);
int QLineEdit_SelectionLength(const QLineEdit* self);
bool QLineEdit_IsUndoAvailable(const QLineEdit* self);
bool QLineEdit_IsRedoAvailable(const QLineEdit* self);
void QLineEdit_SetDragEnabled(QLineEdit* self, bool b);
bool QLineEdit_DragEnabled(const QLineEdit* self);
2024-08-29 07:01:51 +00:00
void QLineEdit_SetCursorMoveStyle(QLineEdit* self, uintptr_t style);
uintptr_t QLineEdit_CursorMoveStyle(const QLineEdit* self);
struct miqt_string* QLineEdit_InputMask(const QLineEdit* self);
void QLineEdit_SetInputMask(QLineEdit* self, struct miqt_string* inputMask);
bool QLineEdit_HasAcceptableInput(const QLineEdit* self);
void QLineEdit_SetTextMargins(QLineEdit* self, int left, int top, int right, int bottom);
void QLineEdit_SetTextMarginsWithMargins(QLineEdit* self, QMargins* margins);
void QLineEdit_GetTextMargins(const QLineEdit* self, int* left, int* top, int* right, int* bottom);
QMargins* QLineEdit_TextMargins(const QLineEdit* self);
2024-08-29 07:01:51 +00:00
void QLineEdit_AddAction(QLineEdit* self, QAction* action, uintptr_t position);
QAction* QLineEdit_AddAction2(QLineEdit* self, QIcon* icon, uintptr_t position);
void QLineEdit_SetText(QLineEdit* self, struct miqt_string* text);
void QLineEdit_Clear(QLineEdit* self);
void QLineEdit_SelectAll(QLineEdit* self);
void QLineEdit_Undo(QLineEdit* self);
void QLineEdit_Redo(QLineEdit* self);
void QLineEdit_Cut(QLineEdit* self);
void QLineEdit_Copy(const QLineEdit* self);
void QLineEdit_Paste(QLineEdit* self);
void QLineEdit_Deselect(QLineEdit* self);
void QLineEdit_Insert(QLineEdit* self, struct miqt_string* param1);
QMenu* QLineEdit_CreateStandardContextMenu(QLineEdit* self);
void QLineEdit_TextChanged(QLineEdit* self, struct miqt_string* param1);
void QLineEdit_connect_TextChanged(QLineEdit* self, void* slot);
void QLineEdit_TextEdited(QLineEdit* self, struct miqt_string* param1);
void QLineEdit_connect_TextEdited(QLineEdit* self, void* slot);
void QLineEdit_CursorPositionChanged(QLineEdit* self, int param1, int param2);
void QLineEdit_connect_CursorPositionChanged(QLineEdit* self, void* slot);
void QLineEdit_ReturnPressed(QLineEdit* self);
void QLineEdit_connect_ReturnPressed(QLineEdit* self, void* slot);
void QLineEdit_EditingFinished(QLineEdit* self);
void QLineEdit_connect_EditingFinished(QLineEdit* self, void* slot);
void QLineEdit_SelectionChanged(QLineEdit* self);
void QLineEdit_connect_SelectionChanged(QLineEdit* self, void* slot);
void QLineEdit_InputRejected(QLineEdit* self);
void QLineEdit_connect_InputRejected(QLineEdit* self, void* slot);
QVariant* QLineEdit_InputMethodQuery(const QLineEdit* self, uintptr_t param1);
QVariant* QLineEdit_InputMethodQuery2(const QLineEdit* self, uintptr_t property, QVariant* argument);
bool QLineEdit_Event(QLineEdit* self, QEvent* param1);
struct miqt_string* QLineEdit_Tr2(const char* s, const char* c);
struct miqt_string* QLineEdit_Tr3(const char* s, const char* c, int n);
struct miqt_string* QLineEdit_TrUtf82(const char* s, const char* c);
struct miqt_string* QLineEdit_TrUtf83(const char* s, const char* c, int n);
void QLineEdit_CursorForward2(QLineEdit* self, bool mark, int steps);
void QLineEdit_CursorBackward2(QLineEdit* self, bool mark, int steps);
void QLineEdit_Delete(QLineEdit* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif