2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QTIMER_H
|
|
|
|
#define MIQT_QT_GEN_QTIMER_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 19:29:06 +13:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-08-25 16:08:24 +12:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QTimer;
|
2024-11-19 19:29:06 +13:00
|
|
|
class QTimerEvent;
|
2024-08-25 16:08:24 +12:00
|
|
|
#else
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 16:08:24 +12:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QTimer QTimer;
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 16:08:24 +12:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QTimer* QTimer_new();
|
|
|
|
QTimer* QTimer_new2(QObject* parent);
|
|
|
|
void QTimer_virtbase(QTimer* src, QObject** outptr_QObject);
|
2024-09-11 17:41:09 +12:00
|
|
|
QMetaObject* QTimer_MetaObject(const QTimer* self);
|
2024-09-21 10:32:57 +12:00
|
|
|
void* QTimer_Metacast(QTimer* self, const char* param1);
|
2024-10-19 12:53:33 +13:00
|
|
|
struct miqt_string QTimer_Tr(const char* s);
|
|
|
|
struct miqt_string QTimer_TrUtf8(const char* s);
|
2024-09-11 17:41:09 +12:00
|
|
|
bool QTimer_IsActive(const QTimer* self);
|
|
|
|
int QTimer_TimerId(const QTimer* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
void QTimer_SetInterval(QTimer* self, int msec);
|
2024-09-11 17:41:09 +12:00
|
|
|
int QTimer_Interval(const QTimer* self);
|
|
|
|
int QTimer_RemainingTime(const QTimer* self);
|
2024-09-18 12:12:02 +12:00
|
|
|
void QTimer_SetTimerType(QTimer* self, int atype);
|
|
|
|
int QTimer_TimerType(const QTimer* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
void QTimer_SetSingleShot(QTimer* self, bool singleShot);
|
2024-09-11 17:41:09 +12:00
|
|
|
bool QTimer_IsSingleShot(const QTimer* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
void QTimer_Start(QTimer* self, int msec);
|
|
|
|
void QTimer_Start2(QTimer* self);
|
|
|
|
void QTimer_Stop(QTimer* self);
|
2024-11-19 19:29:06 +13:00
|
|
|
void QTimer_TimerEvent(QTimer* self, QTimerEvent* param1);
|
2024-10-19 12:53:33 +13: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);
|
|
|
|
struct miqt_string QTimer_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QTimer_TrUtf83(const char* s, const char* c, int n);
|
2024-11-19 19:29:06 +13: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-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|