miqt/qt6/gen_qdrag.h

89 lines
3.2 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QDRAG_H
#define MIQT_QT6_GEN_QDRAG_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 QDrag;
2024-11-19 06:29:06 +00:00
class QEvent;
class QMetaMethod;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QMimeData;
class QObject;
class QPixmap;
class QPoint;
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 QDrag QDrag;
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 QMimeData QMimeData;
typedef struct QObject QObject;
typedef struct QPixmap QPixmap;
typedef struct QPoint QPoint;
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
QDrag* QDrag_new(QObject* dragSource);
void QDrag_virtbase(QDrag* src, QObject** outptr_QObject);
2024-10-20 05:21:03 +00:00
QMetaObject* QDrag_MetaObject(const QDrag* self);
void* QDrag_Metacast(QDrag* self, const char* param1);
struct miqt_string QDrag_Tr(const char* s);
void QDrag_SetMimeData(QDrag* self, QMimeData* data);
QMimeData* QDrag_MimeData(const QDrag* self);
void QDrag_SetPixmap(QDrag* self, QPixmap* pixmap);
QPixmap* QDrag_Pixmap(const QDrag* self);
void QDrag_SetHotSpot(QDrag* self, QPoint* hotspot);
QPoint* QDrag_HotSpot(const QDrag* self);
QObject* QDrag_Source(const QDrag* self);
QObject* QDrag_Target(const QDrag* self);
int QDrag_Exec(QDrag* self);
int QDrag_Exec2(QDrag* self, int supportedActions, int defaultAction);
void QDrag_SetDragCursor(QDrag* self, QPixmap* cursor, int action);
QPixmap* QDrag_DragCursor(const QDrag* self, int action);
int QDrag_SupportedActions(const QDrag* self);
int QDrag_DefaultAction(const QDrag* self);
void QDrag_Cancel();
void QDrag_ActionChanged(QDrag* self, int action);
void QDrag_connect_ActionChanged(QDrag* self, intptr_t slot);
void QDrag_TargetChanged(QDrag* self, QObject* newTarget);
void QDrag_connect_TargetChanged(QDrag* self, intptr_t slot);
struct miqt_string QDrag_Tr2(const char* s, const char* c);
struct miqt_string QDrag_Tr3(const char* s, const char* c, int n);
int QDrag_Exec1(QDrag* self, int supportedActions);
2024-11-19 06:29:06 +00:00
void QDrag_override_virtual_Event(void* self, intptr_t slot);
bool QDrag_virtualbase_Event(void* self, QEvent* event);
void QDrag_override_virtual_EventFilter(void* self, intptr_t slot);
bool QDrag_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QDrag_override_virtual_TimerEvent(void* self, intptr_t slot);
void QDrag_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QDrag_override_virtual_ChildEvent(void* self, intptr_t slot);
void QDrag_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QDrag_override_virtual_CustomEvent(void* self, intptr_t slot);
void QDrag_virtualbase_CustomEvent(void* self, QEvent* event);
void QDrag_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QDrag_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QDrag_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QDrag_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QDrag_Delete(QDrag* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif