miqt/qt6/gen_qpointingdevice.h

73 lines
3.5 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QPOINTINGDEVICE_H
#define MIQT_QT6_GEN_QPOINTINGDEVICE_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
class QEventPoint;
2024-11-19 06:29:06 +00:00
class QInputDevice;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QObject;
class QPointerEvent;
class QPointingDevice;
class QPointingDeviceUniqueId;
#else
typedef struct QEventPoint QEventPoint;
2024-11-19 06:29:06 +00:00
typedef struct QInputDevice QInputDevice;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QPointerEvent QPointerEvent;
typedef struct QPointingDevice QPointingDevice;
typedef struct QPointingDeviceUniqueId QPointingDeviceUniqueId;
#endif
2024-12-07 04:15:57 +00:00
QPointingDeviceUniqueId* QPointingDeviceUniqueId_new();
QPointingDeviceUniqueId* QPointingDeviceUniqueId_new2(QPointingDeviceUniqueId* param1);
2024-10-20 05:21:03 +00:00
QPointingDeviceUniqueId* QPointingDeviceUniqueId_FromNumericId(long long id);
bool QPointingDeviceUniqueId_IsValid(const QPointingDeviceUniqueId* self);
long long QPointingDeviceUniqueId_NumericId(const QPointingDeviceUniqueId* self);
2024-11-19 06:29:06 +00:00
void QPointingDeviceUniqueId_Delete(QPointingDeviceUniqueId* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
2024-12-07 04:15:57 +00:00
QPointingDevice* QPointingDevice_new();
QPointingDevice* QPointingDevice_new2(struct miqt_string name, long long systemId, int devType, int pType, int caps, int maxPoints, int buttonCount);
QPointingDevice* QPointingDevice_new3(QObject* parent);
QPointingDevice* QPointingDevice_new4(struct miqt_string name, long long systemId, int devType, int pType, int caps, int maxPoints, int buttonCount, struct miqt_string seatName);
QPointingDevice* QPointingDevice_new5(struct miqt_string name, long long systemId, int devType, int pType, int caps, int maxPoints, int buttonCount, struct miqt_string seatName, QPointingDeviceUniqueId* uniqueId);
QPointingDevice* QPointingDevice_new6(struct miqt_string name, long long systemId, int devType, int pType, int caps, int maxPoints, int buttonCount, struct miqt_string seatName, QPointingDeviceUniqueId* uniqueId, QObject* parent);
void QPointingDevice_virtbase(QPointingDevice* src, QInputDevice** outptr_QInputDevice);
2024-10-20 05:21:03 +00:00
QMetaObject* QPointingDevice_MetaObject(const QPointingDevice* self);
void* QPointingDevice_Metacast(QPointingDevice* self, const char* param1);
struct miqt_string QPointingDevice_Tr(const char* s);
void QPointingDevice_SetType(QPointingDevice* self, int devType);
void QPointingDevice_SetCapabilities(QPointingDevice* self, int caps);
void QPointingDevice_SetMaximumTouchPoints(QPointingDevice* self, int c);
int QPointingDevice_PointerType(const QPointingDevice* self);
int QPointingDevice_MaximumPoints(const QPointingDevice* self);
int QPointingDevice_ButtonCount(const QPointingDevice* self);
QPointingDeviceUniqueId* QPointingDevice_UniqueId(const QPointingDevice* self);
QPointingDevice* QPointingDevice_PrimaryPointingDevice();
bool QPointingDevice_OperatorEqual(const QPointingDevice* self, QPointingDevice* other);
void QPointingDevice_GrabChanged(const QPointingDevice* self, QObject* grabber, int transition, QPointerEvent* event, QEventPoint* point);
void QPointingDevice_connect_GrabChanged(QPointingDevice* self, intptr_t slot);
struct miqt_string QPointingDevice_Tr2(const char* s, const char* c);
struct miqt_string QPointingDevice_Tr3(const char* s, const char* c, int n);
QPointingDevice* QPointingDevice_PrimaryPointingDevice1(struct miqt_string seatName);
2024-11-19 06:29:06 +00:00
void QPointingDevice_Delete(QPointingDevice* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif