2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QDATETIMEEDIT_H
|
|
|
|
#define GEN_QDATETIMEEDIT_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QCalendar;
|
|
|
|
class QCalendarWidget;
|
|
|
|
class QDate;
|
|
|
|
class QDateEdit;
|
|
|
|
class QDateTime;
|
|
|
|
class QDateTimeEdit;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QTime;
|
|
|
|
class QTimeEdit;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QCalendar QCalendar;
|
|
|
|
typedef struct QCalendarWidget QCalendarWidget;
|
|
|
|
typedef struct QDate QDate;
|
|
|
|
typedef struct QDateEdit QDateEdit;
|
|
|
|
typedef struct QDateTime QDateTime;
|
|
|
|
typedef struct QDateTimeEdit QDateTimeEdit;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QTime QTime;
|
|
|
|
typedef struct QTimeEdit QTimeEdit;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new();
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new2(QDateTime* dt);
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new3(QDate* d);
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new4(QTime* t);
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new5(QWidget* parent);
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new6(QDateTime* dt, QWidget* parent);
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new7(QDate* d, QWidget* parent);
|
|
|
|
QDateTimeEdit* QDateTimeEdit_new8(QTime* t, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDateTimeEdit_MetaObject(const QDateTimeEdit* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateTimeEdit_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QDateTimeEdit_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
QDateTime* QDateTimeEdit_DateTime(const QDateTimeEdit* self);
|
|
|
|
QDate* QDateTimeEdit_Date(const QDateTimeEdit* self);
|
|
|
|
QTime* QDateTimeEdit_Time(const QDateTimeEdit* self);
|
|
|
|
QCalendar* QDateTimeEdit_Calendar(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetCalendar(QDateTimeEdit* self, QCalendar* calendar);
|
2024-09-11 05:41:09 +00:00
|
|
|
QDateTime* QDateTimeEdit_MinimumDateTime(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_ClearMinimumDateTime(QDateTimeEdit* self);
|
|
|
|
void QDateTimeEdit_SetMinimumDateTime(QDateTimeEdit* self, QDateTime* dt);
|
2024-09-11 05:41:09 +00:00
|
|
|
QDateTime* QDateTimeEdit_MaximumDateTime(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_ClearMaximumDateTime(QDateTimeEdit* self);
|
|
|
|
void QDateTimeEdit_SetMaximumDateTime(QDateTimeEdit* self, QDateTime* dt);
|
|
|
|
void QDateTimeEdit_SetDateTimeRange(QDateTimeEdit* self, QDateTime* min, QDateTime* max);
|
2024-09-11 05:41:09 +00:00
|
|
|
QDate* QDateTimeEdit_MinimumDate(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetMinimumDate(QDateTimeEdit* self, QDate* min);
|
|
|
|
void QDateTimeEdit_ClearMinimumDate(QDateTimeEdit* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QDate* QDateTimeEdit_MaximumDate(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetMaximumDate(QDateTimeEdit* self, QDate* max);
|
|
|
|
void QDateTimeEdit_ClearMaximumDate(QDateTimeEdit* self);
|
|
|
|
void QDateTimeEdit_SetDateRange(QDateTimeEdit* self, QDate* min, QDate* max);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTime* QDateTimeEdit_MinimumTime(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetMinimumTime(QDateTimeEdit* self, QTime* min);
|
|
|
|
void QDateTimeEdit_ClearMinimumTime(QDateTimeEdit* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTime* QDateTimeEdit_MaximumTime(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetMaximumTime(QDateTimeEdit* self, QTime* max);
|
|
|
|
void QDateTimeEdit_ClearMaximumTime(QDateTimeEdit* self);
|
|
|
|
void QDateTimeEdit_SetTimeRange(QDateTimeEdit* self, QTime* min, QTime* max);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDateTimeEdit_DisplayedSections(const QDateTimeEdit* self);
|
|
|
|
uintptr_t QDateTimeEdit_CurrentSection(const QDateTimeEdit* self);
|
|
|
|
uintptr_t QDateTimeEdit_SectionAt(const QDateTimeEdit* self, int index);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateTimeEdit_SetCurrentSection(QDateTimeEdit* self, uintptr_t section);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDateTimeEdit_CurrentSectionIndex(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetCurrentSectionIndex(QDateTimeEdit* self, int index);
|
2024-09-11 05:41:09 +00:00
|
|
|
QCalendarWidget* QDateTimeEdit_CalendarWidget(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetCalendarWidget(QDateTimeEdit* self, QCalendarWidget* calendarWidget);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QDateTimeEdit_SectionCount(const QDateTimeEdit* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateTimeEdit_SetSelectedSection(QDateTimeEdit* self, uintptr_t section);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QDateTimeEdit_SectionText(const QDateTimeEdit* self, uintptr_t section, char** _out, int* _out_Strlen);
|
|
|
|
void QDateTimeEdit_DisplayFormat(const QDateTimeEdit* self, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetDisplayFormat(QDateTimeEdit* self, const char* format, size_t format_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QDateTimeEdit_CalendarPopup(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_SetCalendarPopup(QDateTimeEdit* self, bool enable);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QDateTimeEdit_TimeSpec(const QDateTimeEdit* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateTimeEdit_SetTimeSpec(QDateTimeEdit* self, uintptr_t spec);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QDateTimeEdit_SizeHint(const QDateTimeEdit* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_Clear(QDateTimeEdit* self);
|
|
|
|
void QDateTimeEdit_StepBy(QDateTimeEdit* self, int steps);
|
|
|
|
bool QDateTimeEdit_Event(QDateTimeEdit* self, QEvent* event);
|
|
|
|
void QDateTimeEdit_DateTimeChanged(QDateTimeEdit* self, QDateTime* dateTime);
|
|
|
|
void QDateTimeEdit_connect_DateTimeChanged(QDateTimeEdit* self, void* slot);
|
|
|
|
void QDateTimeEdit_TimeChanged(QDateTimeEdit* self, QTime* time);
|
|
|
|
void QDateTimeEdit_connect_TimeChanged(QDateTimeEdit* self, void* slot);
|
|
|
|
void QDateTimeEdit_DateChanged(QDateTimeEdit* self, QDate* date);
|
|
|
|
void QDateTimeEdit_connect_DateChanged(QDateTimeEdit* self, void* slot);
|
|
|
|
void QDateTimeEdit_SetDateTime(QDateTimeEdit* self, QDateTime* dateTime);
|
|
|
|
void QDateTimeEdit_SetDate(QDateTimeEdit* self, QDate* date);
|
|
|
|
void QDateTimeEdit_SetTime(QDateTimeEdit* self, QTime* time);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateTimeEdit_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QDateTimeEdit_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QDateTimeEdit_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QDateTimeEdit_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateTimeEdit_Delete(QDateTimeEdit* self);
|
|
|
|
|
|
|
|
QTimeEdit* QTimeEdit_new();
|
|
|
|
QTimeEdit* QTimeEdit_new2(QTime* time);
|
|
|
|
QTimeEdit* QTimeEdit_new3(QWidget* parent);
|
|
|
|
QTimeEdit* QTimeEdit_new4(QTime* time, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTimeEdit_MetaObject(const QTimeEdit* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTimeEdit_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QTimeEdit_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTimeEdit_UserTimeChanged(QTimeEdit* self, QTime* time);
|
|
|
|
void QTimeEdit_connect_UserTimeChanged(QTimeEdit* self, void* slot);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTimeEdit_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QTimeEdit_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QTimeEdit_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QTimeEdit_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTimeEdit_Delete(QTimeEdit* self);
|
|
|
|
|
|
|
|
QDateEdit* QDateEdit_new();
|
|
|
|
QDateEdit* QDateEdit_new2(QDate* date);
|
|
|
|
QDateEdit* QDateEdit_new3(QWidget* parent);
|
|
|
|
QDateEdit* QDateEdit_new4(QDate* date, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDateEdit_MetaObject(const QDateEdit* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateEdit_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QDateEdit_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateEdit_UserDateChanged(QDateEdit* self, QDate* date);
|
|
|
|
void QDateEdit_connect_UserDateChanged(QDateEdit* self, void* slot);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QDateEdit_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QDateEdit_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QDateEdit_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QDateEdit_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDateEdit_Delete(QDateEdit* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|