miqt/qt/gen_qgesturerecognizer.h

49 lines
1.7 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT_GEN_QGESTURERECOGNIZER_H
#define MIQT_QT_GEN_QGESTURERECOGNIZER_H
#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-08-29 07:01:51 +00:00
class QEvent;
class QGesture;
class QGestureRecognizer;
class QObject;
#else
2024-08-29 07:01:51 +00:00
typedef struct QEvent QEvent;
typedef struct QGesture QGesture;
typedef struct QGestureRecognizer QGestureRecognizer;
typedef struct QObject QObject;
#endif
2024-12-07 04:15:57 +00:00
QGestureRecognizer* QGestureRecognizer_new();
QGesture* QGestureRecognizer_Create(QGestureRecognizer* self, QObject* target);
2024-08-29 07:01:51 +00:00
int QGestureRecognizer_Recognize(QGestureRecognizer* self, QGesture* state, QObject* watched, QEvent* event);
void QGestureRecognizer_Reset(QGestureRecognizer* self, QGesture* state);
int QGestureRecognizer_RegisterRecognizer(QGestureRecognizer* recognizer);
void QGestureRecognizer_UnregisterRecognizer(int typeVal);
void QGestureRecognizer_OperatorAssign(QGestureRecognizer* self, QGestureRecognizer* param1);
void QGestureRecognizer_override_virtual_Create(void* self, intptr_t slot);
QGesture* QGestureRecognizer_virtualbase_Create(void* self, QObject* target);
void QGestureRecognizer_override_virtual_Recognize(void* self, intptr_t slot);
int QGestureRecognizer_virtualbase_Recognize(void* self, QGesture* state, QObject* watched, QEvent* event);
void QGestureRecognizer_override_virtual_Reset(void* self, intptr_t slot);
void QGestureRecognizer_virtualbase_Reset(void* self, QGesture* state);
2024-11-19 06:29:06 +00:00
void QGestureRecognizer_Delete(QGestureRecognizer* self, bool isSubclass);
#ifdef __cplusplus
} /* extern C */
#endif
#endif