2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QTIMELINE_H
|
|
|
|
#define MIQT_QT6_GEN_QTIMELINE_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;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QEasingCurve;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QTimeLine;
|
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;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QEasingCurve QEasingCurve;
|
2024-11-19 06:29:06 +00:00
|
|
|
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 QTimeLine QTimeLine;
|
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
|
|
|
QTimeLine* QTimeLine_new();
|
|
|
|
QTimeLine* QTimeLine_new2(int duration);
|
|
|
|
QTimeLine* QTimeLine_new3(int duration, QObject* parent);
|
|
|
|
void QTimeLine_virtbase(QTimeLine* src, QObject** outptr_QObject);
|
2024-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QTimeLine_MetaObject(const QTimeLine* self);
|
|
|
|
void* QTimeLine_Metacast(QTimeLine* self, const char* param1);
|
|
|
|
struct miqt_string QTimeLine_Tr(const char* s);
|
|
|
|
int QTimeLine_State(const QTimeLine* self);
|
|
|
|
int QTimeLine_LoopCount(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetLoopCount(QTimeLine* self, int count);
|
|
|
|
int QTimeLine_Direction(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetDirection(QTimeLine* self, int direction);
|
|
|
|
int QTimeLine_Duration(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetDuration(QTimeLine* self, int duration);
|
|
|
|
int QTimeLine_StartFrame(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetStartFrame(QTimeLine* self, int frame);
|
|
|
|
int QTimeLine_EndFrame(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetEndFrame(QTimeLine* self, int frame);
|
|
|
|
void QTimeLine_SetFrameRange(QTimeLine* self, int startFrame, int endFrame);
|
|
|
|
int QTimeLine_UpdateInterval(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetUpdateInterval(QTimeLine* self, int interval);
|
|
|
|
QEasingCurve* QTimeLine_EasingCurve(const QTimeLine* self);
|
|
|
|
void QTimeLine_SetEasingCurve(QTimeLine* self, QEasingCurve* curve);
|
|
|
|
int QTimeLine_CurrentTime(const QTimeLine* self);
|
|
|
|
int QTimeLine_CurrentFrame(const QTimeLine* self);
|
|
|
|
double QTimeLine_CurrentValue(const QTimeLine* self);
|
|
|
|
int QTimeLine_FrameForTime(const QTimeLine* self, int msec);
|
|
|
|
double QTimeLine_ValueForTime(const QTimeLine* self, int msec);
|
|
|
|
void QTimeLine_Start(QTimeLine* self);
|
|
|
|
void QTimeLine_Resume(QTimeLine* self);
|
|
|
|
void QTimeLine_Stop(QTimeLine* self);
|
|
|
|
void QTimeLine_SetPaused(QTimeLine* self, bool paused);
|
|
|
|
void QTimeLine_SetCurrentTime(QTimeLine* self, int msec);
|
|
|
|
void QTimeLine_ToggleDirection(QTimeLine* self);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTimeLine_TimerEvent(QTimeLine* self, QTimerEvent* event);
|
2024-10-20 05:21:03 +00:00
|
|
|
struct miqt_string QTimeLine_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QTimeLine_Tr3(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTimeLine_override_virtual_ValueForTime(void* self, intptr_t slot);
|
|
|
|
double QTimeLine_virtualbase_ValueForTime(const void* self, int msec);
|
|
|
|
void QTimeLine_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QTimeLine_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QTimeLine_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QTimeLine_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QTimeLine_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QTimeLine_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QTimeLine_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QTimeLine_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QTimeLine_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QTimeLine_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QTimeLine_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QTimeLine_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QTimeLine_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QTimeLine_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QTimeLine_Delete(QTimeLine* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|