2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QCOMPLETER_H
|
|
|
|
#define GEN_QCOMPLETER_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QAbstractItemModel;
|
|
|
|
class QAbstractItemView;
|
|
|
|
class QCompleter;
|
|
|
|
class QMetaObject;
|
|
|
|
class QModelIndex;
|
|
|
|
class QObject;
|
|
|
|
class QRect;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
|
|
|
typedef struct QAbstractItemView QAbstractItemView;
|
|
|
|
typedef struct QCompleter QCompleter;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QCompleter* QCompleter_new();
|
|
|
|
QCompleter* QCompleter_new2(QAbstractItemModel* model);
|
2024-09-16 07:33:40 +00:00
|
|
|
QCompleter* QCompleter_new3(struct miqt_array* /* of struct miqt_string* */ completions);
|
2024-08-25 04:08:24 +00:00
|
|
|
QCompleter* QCompleter_new4(QObject* parent);
|
|
|
|
QCompleter* QCompleter_new5(QAbstractItemModel* model, QObject* parent);
|
2024-09-16 07:33:40 +00:00
|
|
|
QCompleter* QCompleter_new6(struct miqt_array* /* of struct miqt_string* */ completions, QObject* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QCompleter_MetaObject(const QCompleter* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QCompleter_Metacast(QCompleter* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QCompleter_Tr(const char* s);
|
|
|
|
struct miqt_string* QCompleter_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_SetWidget(QCompleter* self, QWidget* widget);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QCompleter_Widget(const QCompleter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_SetModel(QCompleter* self, QAbstractItemModel* c);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractItemModel* QCompleter_Model(const QCompleter* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QCompleter_SetCompletionMode(QCompleter* self, int mode);
|
|
|
|
int QCompleter_CompletionMode(const QCompleter* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QCompleter_SetFilterMode(QCompleter* self, int filterMode);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QCompleter_FilterMode(const QCompleter* self);
|
|
|
|
QAbstractItemView* QCompleter_Popup(const QCompleter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_SetPopup(QCompleter* self, QAbstractItemView* popup);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QCompleter_SetCaseSensitivity(QCompleter* self, int caseSensitivity);
|
|
|
|
int QCompleter_CaseSensitivity(const QCompleter* self);
|
|
|
|
void QCompleter_SetModelSorting(QCompleter* self, int sorting);
|
|
|
|
int QCompleter_ModelSorting(const QCompleter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_SetCompletionColumn(QCompleter* self, int column);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QCompleter_CompletionColumn(const QCompleter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_SetCompletionRole(QCompleter* self, int role);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QCompleter_CompletionRole(const QCompleter* self);
|
|
|
|
bool QCompleter_WrapAround(const QCompleter* self);
|
|
|
|
int QCompleter_MaxVisibleItems(const QCompleter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_SetMaxVisibleItems(QCompleter* self, int maxItems);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QCompleter_CompletionCount(const QCompleter* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QCompleter_SetCurrentRow(QCompleter* self, int row);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QCompleter_CurrentRow(const QCompleter* self);
|
|
|
|
QModelIndex* QCompleter_CurrentIndex(const QCompleter* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QCompleter_CurrentCompletion(const QCompleter* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractItemModel* QCompleter_CompletionModel(const QCompleter* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QCompleter_CompletionPrefix(const QCompleter* self);
|
|
|
|
void QCompleter_SetCompletionPrefix(QCompleter* self, struct miqt_string* prefix);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_Complete(QCompleter* self);
|
|
|
|
void QCompleter_SetWrapAround(QCompleter* self, bool wrap);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QCompleter_PathFromIndex(const QCompleter* self, QModelIndex* index);
|
|
|
|
struct miqt_array* QCompleter_SplitPath(const QCompleter* self, struct miqt_string* path);
|
|
|
|
void QCompleter_Activated(QCompleter* self, struct miqt_string* text);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCompleter_connect_Activated(QCompleter* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_ActivatedWithIndex(QCompleter* self, QModelIndex* index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCompleter_connect_ActivatedWithIndex(QCompleter* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QCompleter_Highlighted(QCompleter* self, struct miqt_string* text);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCompleter_connect_Highlighted(QCompleter* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_HighlightedWithIndex(QCompleter* self, QModelIndex* index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QCompleter_connect_HighlightedWithIndex(QCompleter* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QCompleter_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QCompleter_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QCompleter_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QCompleter_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QCompleter_Complete1(QCompleter* self, QRect* rect);
|
|
|
|
void QCompleter_Delete(QCompleter* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|