2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_GEN_QMOVIE_H
|
|
|
|
#define MIQT_QT6_GEN_QMOVIE_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 QColor;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QIODevice;
|
|
|
|
class QImage;
|
2024-11-19 06:29:06 +00:00
|
|
|
class QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
class QMetaObject;
|
|
|
|
class QMovie;
|
|
|
|
class QObject;
|
|
|
|
class QPixmap;
|
|
|
|
class QRect;
|
|
|
|
class QSize;
|
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 QColor QColor;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QEvent QEvent;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QIODevice QIODevice;
|
|
|
|
typedef struct QImage QImage;
|
2024-11-19 06:29:06 +00:00
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-10-20 05:21:03 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QMovie QMovie;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QPixmap QPixmap;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
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
|
|
|
QMovie* QMovie_new();
|
|
|
|
QMovie* QMovie_new2(QIODevice* device);
|
|
|
|
QMovie* QMovie_new3(struct miqt_string fileName);
|
|
|
|
QMovie* QMovie_new4(QObject* parent);
|
|
|
|
QMovie* QMovie_new5(QIODevice* device, struct miqt_string format);
|
|
|
|
QMovie* QMovie_new6(QIODevice* device, struct miqt_string format, QObject* parent);
|
|
|
|
QMovie* QMovie_new7(struct miqt_string fileName, struct miqt_string format);
|
|
|
|
QMovie* QMovie_new8(struct miqt_string fileName, struct miqt_string format, QObject* parent);
|
|
|
|
void QMovie_virtbase(QMovie* src, QObject** outptr_QObject);
|
2024-10-20 05:21:03 +00:00
|
|
|
QMetaObject* QMovie_MetaObject(const QMovie* self);
|
|
|
|
void* QMovie_Metacast(QMovie* self, const char* param1);
|
|
|
|
struct miqt_string QMovie_Tr(const char* s);
|
2024-11-17 06:21:37 +00:00
|
|
|
struct miqt_array /* of struct miqt_string */ QMovie_SupportedFormats();
|
2024-10-20 05:21:03 +00:00
|
|
|
void QMovie_SetDevice(QMovie* self, QIODevice* device);
|
|
|
|
QIODevice* QMovie_Device(const QMovie* self);
|
|
|
|
void QMovie_SetFileName(QMovie* self, struct miqt_string fileName);
|
|
|
|
struct miqt_string QMovie_FileName(const QMovie* self);
|
|
|
|
void QMovie_SetFormat(QMovie* self, struct miqt_string format);
|
|
|
|
struct miqt_string QMovie_Format(const QMovie* self);
|
|
|
|
void QMovie_SetBackgroundColor(QMovie* self, QColor* color);
|
|
|
|
QColor* QMovie_BackgroundColor(const QMovie* self);
|
|
|
|
int QMovie_State(const QMovie* self);
|
|
|
|
QRect* QMovie_FrameRect(const QMovie* self);
|
|
|
|
QImage* QMovie_CurrentImage(const QMovie* self);
|
|
|
|
QPixmap* QMovie_CurrentPixmap(const QMovie* self);
|
|
|
|
bool QMovie_IsValid(const QMovie* self);
|
|
|
|
int QMovie_LastError(const QMovie* self);
|
|
|
|
struct miqt_string QMovie_LastErrorString(const QMovie* self);
|
|
|
|
bool QMovie_JumpToFrame(QMovie* self, int frameNumber);
|
|
|
|
int QMovie_LoopCount(const QMovie* self);
|
|
|
|
int QMovie_FrameCount(const QMovie* self);
|
|
|
|
int QMovie_NextFrameDelay(const QMovie* self);
|
|
|
|
int QMovie_CurrentFrameNumber(const QMovie* self);
|
|
|
|
int QMovie_Speed(const QMovie* self);
|
|
|
|
QSize* QMovie_ScaledSize(QMovie* self);
|
|
|
|
void QMovie_SetScaledSize(QMovie* self, QSize* size);
|
|
|
|
int QMovie_CacheMode(const QMovie* self);
|
|
|
|
void QMovie_SetCacheMode(QMovie* self, int mode);
|
|
|
|
void QMovie_Started(QMovie* self);
|
|
|
|
void QMovie_connect_Started(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_Resized(QMovie* self, QSize* size);
|
|
|
|
void QMovie_connect_Resized(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_Updated(QMovie* self, QRect* rect);
|
|
|
|
void QMovie_connect_Updated(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_StateChanged(QMovie* self, int state);
|
|
|
|
void QMovie_connect_StateChanged(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_Error(QMovie* self, int error);
|
|
|
|
void QMovie_connect_Error(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_Finished(QMovie* self);
|
|
|
|
void QMovie_connect_Finished(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_FrameChanged(QMovie* self, int frameNumber);
|
|
|
|
void QMovie_connect_FrameChanged(QMovie* self, intptr_t slot);
|
|
|
|
void QMovie_Start(QMovie* self);
|
|
|
|
bool QMovie_JumpToNextFrame(QMovie* self);
|
|
|
|
void QMovie_SetPaused(QMovie* self, bool paused);
|
|
|
|
void QMovie_Stop(QMovie* self);
|
|
|
|
void QMovie_SetSpeed(QMovie* self, int percentSpeed);
|
|
|
|
struct miqt_string QMovie_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QMovie_Tr3(const char* s, const char* c, int n);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QMovie_override_virtual_Event(void* self, intptr_t slot);
|
|
|
|
bool QMovie_virtualbase_Event(void* self, QEvent* event);
|
|
|
|
void QMovie_override_virtual_EventFilter(void* self, intptr_t slot);
|
|
|
|
bool QMovie_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
void QMovie_override_virtual_TimerEvent(void* self, intptr_t slot);
|
|
|
|
void QMovie_virtualbase_TimerEvent(void* self, QTimerEvent* event);
|
|
|
|
void QMovie_override_virtual_ChildEvent(void* self, intptr_t slot);
|
|
|
|
void QMovie_virtualbase_ChildEvent(void* self, QChildEvent* event);
|
|
|
|
void QMovie_override_virtual_CustomEvent(void* self, intptr_t slot);
|
|
|
|
void QMovie_virtualbase_CustomEvent(void* self, QEvent* event);
|
|
|
|
void QMovie_override_virtual_ConnectNotify(void* self, intptr_t slot);
|
|
|
|
void QMovie_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QMovie_override_virtual_DisconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QMovie_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QMovie_Delete(QMovie* self, bool isSubclass);
|
2024-10-20 05:21:03 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|