2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QVALIDATOR_H
|
|
|
|
#define MIQT_QT_GEN_QVALIDATOR_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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
|
2024-11-23 06:34:52 +00:00
|
|
|
class QChildEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QDoubleValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QIntValidator;
|
|
|
|
class QLocale;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QRegExp;
|
|
|
|
class QRegExpValidator;
|
|
|
|
class QRegularExpression;
|
|
|
|
class QRegularExpressionValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QValidator;
|
|
|
|
#else
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QDoubleValidator QDoubleValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QEvent QEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QIntValidator QIntValidator;
|
|
|
|
typedef struct QLocale QLocale;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QRegExp QRegExp;
|
|
|
|
typedef struct QRegExpValidator QRegExpValidator;
|
|
|
|
typedef struct QRegularExpression QRegularExpression;
|
|
|
|
typedef struct QRegularExpressionValidator QRegularExpressionValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QValidator QValidator;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QValidator* QValidator_new();
|
|
|
|
QValidator* QValidator_new2(QObject* parent);
|
|
|
|
void QValidator_virtbase(QValidator* src, QObject** outptr_QObject);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QValidator_MetaObject(const QValidator* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QValidator_Metacast(QValidator* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QValidator_Tr(const char* s);
|
|
|
|
struct miqt_string QValidator_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QValidator_SetLocale(QValidator* self, QLocale* locale);
|
2024-09-11 05:41:09 +00:00
|
|
|
QLocale* QValidator_Locale(const QValidator* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
int QValidator_Validate(const QValidator* self, struct miqt_string param1, int* param2);
|
|
|
|
void QValidator_Fixup(const QValidator* self, struct miqt_string param1);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QValidator_Changed(QValidator* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QValidator_connect_Changed(QValidator* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QValidator_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QValidator_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QValidator_TrUtf83(const char* s, const char* c, int n);
|
2024-11-23 06:34:52 +00:00
|
|
|
void QValidator_override_virtual_Validate(void* self, intptr_t slot);
|
|
|
|
int QValidator_virtualbase_Validate(const void* self, struct miqt_string param1, int* param2);
|
|
|
|
void QValidator_override_virtual_Fixup(void* self, intptr_t slot);
|
|
|
|
void QValidator_virtualbase_Fixup(const void* self, struct miqt_string param1);
|
|
|
|
void QValidator_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QValidator_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QValidator_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QValidator_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QValidator_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QValidator_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QValidator_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QValidator_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QValidator_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QValidator_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QValidator_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QValidator_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QValidator_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QValidator_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QValidator_Delete(QValidator* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QIntValidator* QIntValidator_new();
|
|
|
|
QIntValidator* QIntValidator_new2(int bottom, int top);
|
|
|
|
QIntValidator* QIntValidator_new3(QObject* parent);
|
|
|
|
QIntValidator* QIntValidator_new4(int bottom, int top, QObject* parent);
|
|
|
|
void QIntValidator_virtbase(QIntValidator* src, QValidator** outptr_QValidator);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QIntValidator_MetaObject(const QIntValidator* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QIntValidator_Metacast(QIntValidator* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QIntValidator_Tr(const char* s);
|
|
|
|
struct miqt_string QIntValidator_TrUtf8(const char* s);
|
|
|
|
int QIntValidator_Validate(const QIntValidator* self, struct miqt_string param1, int* param2);
|
|
|
|
void QIntValidator_Fixup(const QIntValidator* self, struct miqt_string input);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QIntValidator_SetBottom(QIntValidator* self, int bottom);
|
|
|
|
void QIntValidator_SetTop(QIntValidator* self, int top);
|
|
|
|
void QIntValidator_SetRange(QIntValidator* self, int bottom, int top);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QIntValidator_Bottom(const QIntValidator* self);
|
|
|
|
int QIntValidator_Top(const QIntValidator* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QIntValidator_BottomChanged(QIntValidator* self, int bottom);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QIntValidator_connect_BottomChanged(QIntValidator* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QIntValidator_TopChanged(QIntValidator* self, int top);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QIntValidator_connect_TopChanged(QIntValidator* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QIntValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QIntValidator_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QIntValidator_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QIntValidator_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QIntValidator_override_virtual_Validate(void* self, intptr_t slot);
|
|
|
|
int QIntValidator_virtualbase_Validate(const void* self, struct miqt_string param1, int* param2);
|
|
|
|
void QIntValidator_override_virtual_Fixup(void* self, intptr_t slot);
|
|
|
|
void QIntValidator_virtualbase_Fixup(const void* self, struct miqt_string input);
|
|
|
|
void QIntValidator_override_virtual_SetRange(void* self, intptr_t slot);
|
|
|
|
void QIntValidator_virtualbase_SetRange(void* self, int bottom, int top);
|
|
|
|
void QIntValidator_Delete(QIntValidator* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QDoubleValidator* QDoubleValidator_new();
|
|
|
|
QDoubleValidator* QDoubleValidator_new2(double bottom, double top, int decimals);
|
|
|
|
QDoubleValidator* QDoubleValidator_new3(QObject* parent);
|
|
|
|
QDoubleValidator* QDoubleValidator_new4(double bottom, double top, int decimals, QObject* parent);
|
|
|
|
void QDoubleValidator_virtbase(QDoubleValidator* src, QValidator** outptr_QValidator);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDoubleValidator_MetaObject(const QDoubleValidator* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QDoubleValidator_Metacast(QDoubleValidator* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDoubleValidator_Tr(const char* s);
|
|
|
|
struct miqt_string QDoubleValidator_TrUtf8(const char* s);
|
|
|
|
int QDoubleValidator_Validate(const QDoubleValidator* self, struct miqt_string param1, int* param2);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDoubleValidator_SetRange(QDoubleValidator* self, double bottom, double top, int decimals);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDoubleValidator_SetBottom(QDoubleValidator* self, double bottom);
|
|
|
|
void QDoubleValidator_SetTop(QDoubleValidator* self, double top);
|
|
|
|
void QDoubleValidator_SetDecimals(QDoubleValidator* self, int decimals);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDoubleValidator_SetNotation(QDoubleValidator* self, int notation);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QDoubleValidator_Bottom(const QDoubleValidator* self);
|
|
|
|
double QDoubleValidator_Top(const QDoubleValidator* self);
|
|
|
|
int QDoubleValidator_Decimals(const QDoubleValidator* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QDoubleValidator_Notation(const QDoubleValidator* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDoubleValidator_BottomChanged(QDoubleValidator* self, double bottom);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDoubleValidator_connect_BottomChanged(QDoubleValidator* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDoubleValidator_TopChanged(QDoubleValidator* self, double top);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDoubleValidator_connect_TopChanged(QDoubleValidator* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDoubleValidator_DecimalsChanged(QDoubleValidator* self, int decimals);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDoubleValidator_connect_DecimalsChanged(QDoubleValidator* self, intptr_t slot);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QDoubleValidator_NotationChanged(QDoubleValidator* self, int notation);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QDoubleValidator_connect_NotationChanged(QDoubleValidator* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDoubleValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QDoubleValidator_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QDoubleValidator_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QDoubleValidator_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QDoubleValidator_override_virtual_Validate(void* self, intptr_t slot);
|
|
|
|
int QDoubleValidator_virtualbase_Validate(const void* self, struct miqt_string param1, int* param2);
|
|
|
|
void QDoubleValidator_override_virtual_SetRange(void* self, intptr_t slot);
|
|
|
|
void QDoubleValidator_virtualbase_SetRange(void* self, double bottom, double top, int decimals);
|
|
|
|
void QDoubleValidator_override_virtual_Fixup(void* self, intptr_t slot);
|
|
|
|
void QDoubleValidator_virtualbase_Fixup(const void* self, struct miqt_string param1);
|
|
|
|
void QDoubleValidator_Delete(QDoubleValidator* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QRegExpValidator* QRegExpValidator_new();
|
|
|
|
QRegExpValidator* QRegExpValidator_new2(QRegExp* rx);
|
|
|
|
QRegExpValidator* QRegExpValidator_new3(QObject* parent);
|
|
|
|
QRegExpValidator* QRegExpValidator_new4(QRegExp* rx, QObject* parent);
|
|
|
|
void QRegExpValidator_virtbase(QRegExpValidator* src, QValidator** outptr_QValidator);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QRegExpValidator_MetaObject(const QRegExpValidator* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QRegExpValidator_Metacast(QRegExpValidator* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QRegExpValidator_Tr(const char* s);
|
|
|
|
struct miqt_string QRegExpValidator_TrUtf8(const char* s);
|
|
|
|
int QRegExpValidator_Validate(const QRegExpValidator* self, struct miqt_string input, int* pos);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QRegExpValidator_SetRegExp(QRegExpValidator* self, QRegExp* rx);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRegExp* QRegExpValidator_RegExp(const QRegExpValidator* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QRegExpValidator_RegExpChanged(QRegExpValidator* self, QRegExp* regExp);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QRegExpValidator_connect_RegExpChanged(QRegExpValidator* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QRegExpValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QRegExpValidator_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QRegExpValidator_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QRegExpValidator_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QRegExpValidator_override_virtual_Validate(void* self, intptr_t slot);
|
|
|
|
int QRegExpValidator_virtualbase_Validate(const void* self, struct miqt_string input, int* pos);
|
|
|
|
void QRegExpValidator_override_virtual_Fixup(void* self, intptr_t slot);
|
|
|
|
void QRegExpValidator_virtualbase_Fixup(const void* self, struct miqt_string param1);
|
|
|
|
void QRegExpValidator_Delete(QRegExpValidator* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QRegularExpressionValidator* QRegularExpressionValidator_new();
|
|
|
|
QRegularExpressionValidator* QRegularExpressionValidator_new2(QRegularExpression* re);
|
|
|
|
QRegularExpressionValidator* QRegularExpressionValidator_new3(QObject* parent);
|
|
|
|
QRegularExpressionValidator* QRegularExpressionValidator_new4(QRegularExpression* re, QObject* parent);
|
|
|
|
void QRegularExpressionValidator_virtbase(QRegularExpressionValidator* src, QValidator** outptr_QValidator);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QRegularExpressionValidator_MetaObject(const QRegularExpressionValidator* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QRegularExpressionValidator_Metacast(QRegularExpressionValidator* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QRegularExpressionValidator_Tr(const char* s);
|
|
|
|
struct miqt_string QRegularExpressionValidator_TrUtf8(const char* s);
|
|
|
|
int QRegularExpressionValidator_Validate(const QRegularExpressionValidator* self, struct miqt_string input, int* pos);
|
2024-09-11 05:41:09 +00:00
|
|
|
QRegularExpression* QRegularExpressionValidator_RegularExpression(const QRegularExpressionValidator* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QRegularExpressionValidator_SetRegularExpression(QRegularExpressionValidator* self, QRegularExpression* re);
|
|
|
|
void QRegularExpressionValidator_RegularExpressionChanged(QRegularExpressionValidator* self, QRegularExpression* re);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QRegularExpressionValidator_connect_RegularExpressionChanged(QRegularExpressionValidator* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QRegularExpressionValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QRegularExpressionValidator_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QRegularExpressionValidator_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QRegularExpressionValidator_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QRegularExpressionValidator_override_virtual_Validate(void* self, intptr_t slot);
|
|
|
|
int QRegularExpressionValidator_virtualbase_Validate(const void* self, struct miqt_string input, int* pos);
|
|
|
|
void QRegularExpressionValidator_override_virtual_Fixup(void* self, intptr_t slot);
|
|
|
|
void QRegularExpressionValidator_virtualbase_Fixup(const void* self, struct miqt_string param1);
|
|
|
|
void QRegularExpressionValidator_Delete(QRegularExpressionValidator* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|