2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QTIMER_H
|
|
|
|
#define MIQT_QT6_GEN_QTIMER_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-19 06:29:06 +00:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QTimer;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QTimerEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
#else
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QTimer QTimer;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 04:15:57 +00:00
|
|
|
QTimer* QTimer_new();
|
|
|
|
QTimer* QTimer_new2(QObject* parent);
|
|
|
|
void QTimer_virtbase(QTimer* src, QObject** outptr_QObject);
|
2024-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QTimer_MetaObject(const QTimer* self);
|
|
|
|
void* QTimer_Metacast(QTimer* self, const char* param1);
|
|
|
|
struct miqt_string QTimer_Tr(const char* s);
|
|
|
|
bool QTimer_IsActive(const QTimer* self);
|
|
|
|
int QTimer_TimerId(const QTimer* self);
|
|
|
|
void QTimer_SetInterval(QTimer* self, int msec);
|
|
|
|
int QTimer_Interval(const QTimer* self);
|
|
|
|
int QTimer_RemainingTime(const QTimer* self);
|
|
|
|
void QTimer_SetTimerType(QTimer* self, int atype);
|
|
|
|
int QTimer_TimerType(const QTimer* self);
|
|
|
|
void QTimer_SetSingleShot(QTimer* self, bool singleShot);
|
|
|
|
bool QTimer_IsSingleShot(const QTimer* self);
|
|
|
|
void QTimer_Start(QTimer* self, int msec);
|
|
|
|
void QTimer_Start2(QTimer* self);
|
|
|
|
void QTimer_Stop(QTimer* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTimer_TimerEvent(QTimer* self, QTimerEvent* param1);
|
2024-10-20 05:21:03 +00:00
|
|
|
struct miqt_string QTimer_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QTimer_Tr3(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTimer_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QTimer_virtualbase_TimerEvent(void* self, QTimerEvent* param1);
|
|
|
|
void QTimer_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QTimer_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QTimer_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QTimer_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QTimer_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QTimer_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QTimer_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QTimer_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QTimer_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QTimer_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QTimer_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QTimer_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QTimer_Delete(QTimer* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|