2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QVALIDATOR_H
|
|
|
|
#define MIQT_QT6_GEN_QVALIDATOR_H
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-23 06:34:52 +00:00
|
|
|
class QChildEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QDoubleValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QIntValidator;
|
|
|
|
class QLocale;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QRegularExpression;
|
|
|
|
class QRegularExpressionValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
class QTimerEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QValidator;
|
|
|
|
#else
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QDoubleValidator QDoubleValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QEvent QEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QIntValidator QIntValidator;
|
|
|
|
typedef struct QLocale QLocale;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QRegularExpression QRegularExpression;
|
|
|
|
typedef struct QRegularExpressionValidator QRegularExpressionValidator;
|
2024-11-23 06:34:52 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-10-20 05:21:03 +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-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QValidator_MetaObject(const QValidator* self);
|
|
|
|
void* QValidator_Metacast(QValidator* self, const char* param1);
|
|
|
|
struct miqt_string QValidator_Tr(const char* s);
|
|
|
|
void QValidator_SetLocale(QValidator* self, QLocale* locale);
|
|
|
|
QLocale* QValidator_Locale(const QValidator* self);
|
|
|
|
int QValidator_Validate(const QValidator* self, struct miqt_string param1, int* param2);
|
|
|
|
void QValidator_Fixup(const QValidator* self, struct miqt_string param1);
|
|
|
|
void QValidator_Changed(QValidator* self);
|
|
|
|
void QValidator_connect_Changed(QValidator* self, intptr_t slot);
|
|
|
|
struct miqt_string QValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QValidator_Tr3(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-10-20 05:21:03 +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-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QIntValidator_MetaObject(const QIntValidator* self);
|
|
|
|
void* QIntValidator_Metacast(QIntValidator* self, const char* param1);
|
|
|
|
struct miqt_string QIntValidator_Tr(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);
|
|
|
|
void QIntValidator_SetBottom(QIntValidator* self, int bottom);
|
|
|
|
void QIntValidator_SetTop(QIntValidator* self, int top);
|
|
|
|
void QIntValidator_SetRange(QIntValidator* self, int bottom, int top);
|
|
|
|
int QIntValidator_Bottom(const QIntValidator* self);
|
|
|
|
int QIntValidator_Top(const QIntValidator* self);
|
|
|
|
void QIntValidator_BottomChanged(QIntValidator* self, int bottom);
|
|
|
|
void QIntValidator_connect_BottomChanged(QIntValidator* self, intptr_t slot);
|
|
|
|
void QIntValidator_TopChanged(QIntValidator* self, int top);
|
|
|
|
void QIntValidator_connect_TopChanged(QIntValidator* self, intptr_t slot);
|
|
|
|
struct miqt_string QIntValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QIntValidator_Tr3(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_Delete(QIntValidator* self, bool isSubclass);
|
2024-10-20 05:21:03 +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-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QDoubleValidator_MetaObject(const QDoubleValidator* self);
|
|
|
|
void* QDoubleValidator_Metacast(QDoubleValidator* self, const char* param1);
|
|
|
|
struct miqt_string QDoubleValidator_Tr(const char* s);
|
|
|
|
int QDoubleValidator_Validate(const QDoubleValidator* self, struct miqt_string param1, int* param2);
|
|
|
|
void QDoubleValidator_Fixup(const QDoubleValidator* self, struct miqt_string input);
|
|
|
|
void QDoubleValidator_SetRange(QDoubleValidator* self, double bottom, double top, int decimals);
|
|
|
|
void QDoubleValidator_SetRange2(QDoubleValidator* self, double bottom, double top);
|
|
|
|
void QDoubleValidator_SetBottom(QDoubleValidator* self, double bottom);
|
|
|
|
void QDoubleValidator_SetTop(QDoubleValidator* self, double top);
|
|
|
|
void QDoubleValidator_SetDecimals(QDoubleValidator* self, int decimals);
|
|
|
|
void QDoubleValidator_SetNotation(QDoubleValidator* self, int notation);
|
|
|
|
double QDoubleValidator_Bottom(const QDoubleValidator* self);
|
|
|
|
double QDoubleValidator_Top(const QDoubleValidator* self);
|
|
|
|
int QDoubleValidator_Decimals(const QDoubleValidator* self);
|
|
|
|
int QDoubleValidator_Notation(const QDoubleValidator* self);
|
|
|
|
void QDoubleValidator_BottomChanged(QDoubleValidator* self, double bottom);
|
|
|
|
void QDoubleValidator_connect_BottomChanged(QDoubleValidator* self, intptr_t slot);
|
|
|
|
void QDoubleValidator_TopChanged(QDoubleValidator* self, double top);
|
|
|
|
void QDoubleValidator_connect_TopChanged(QDoubleValidator* self, intptr_t slot);
|
|
|
|
void QDoubleValidator_DecimalsChanged(QDoubleValidator* self, int decimals);
|
|
|
|
void QDoubleValidator_connect_DecimalsChanged(QDoubleValidator* self, intptr_t slot);
|
|
|
|
void QDoubleValidator_NotationChanged(QDoubleValidator* self, int notation);
|
|
|
|
void QDoubleValidator_connect_NotationChanged(QDoubleValidator* self, intptr_t slot);
|
|
|
|
struct miqt_string QDoubleValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QDoubleValidator_Tr3(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_Fixup(void* self, intptr_t slot);
|
|
|
|
void QDoubleValidator_virtualbase_Fixup(const void* self, struct miqt_string input);
|
|
|
|
void QDoubleValidator_Delete(QDoubleValidator* self, bool isSubclass);
|
2024-10-20 05:21:03 +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-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QRegularExpressionValidator_MetaObject(const QRegularExpressionValidator* self);
|
|
|
|
void* QRegularExpressionValidator_Metacast(QRegularExpressionValidator* self, const char* param1);
|
|
|
|
struct miqt_string QRegularExpressionValidator_Tr(const char* s);
|
|
|
|
int QRegularExpressionValidator_Validate(const QRegularExpressionValidator* self, struct miqt_string input, int* pos);
|
|
|
|
QRegularExpression* QRegularExpressionValidator_RegularExpression(const QRegularExpressionValidator* self);
|
|
|
|
void QRegularExpressionValidator_SetRegularExpression(QRegularExpressionValidator* self, QRegularExpression* re);
|
|
|
|
void QRegularExpressionValidator_RegularExpressionChanged(QRegularExpressionValidator* self, QRegularExpression* re);
|
|
|
|
void QRegularExpressionValidator_connect_RegularExpressionChanged(QRegularExpressionValidator* self, intptr_t slot);
|
|
|
|
struct miqt_string QRegularExpressionValidator_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QRegularExpressionValidator_Tr3(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-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|