mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
59 lines
2.2 KiB
C
59 lines
2.2 KiB
C
|
#ifndef GEN_QINPUTDEVICE_H
|
||
|
#define GEN_QINPUTDEVICE_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
|
||
|
class QInputDevice;
|
||
|
class QMetaObject;
|
||
|
class QObject;
|
||
|
class QRect;
|
||
|
#else
|
||
|
typedef struct QInputDevice QInputDevice;
|
||
|
typedef struct QMetaObject QMetaObject;
|
||
|
typedef struct QObject QObject;
|
||
|
typedef struct QRect QRect;
|
||
|
#endif
|
||
|
|
||
|
QInputDevice* QInputDevice_new();
|
||
|
QInputDevice* QInputDevice_new2(struct miqt_string name, long long systemId, int typeVal);
|
||
|
QInputDevice* QInputDevice_new3(QObject* parent);
|
||
|
QInputDevice* QInputDevice_new4(struct miqt_string name, long long systemId, int typeVal, struct miqt_string seatName);
|
||
|
QInputDevice* QInputDevice_new5(struct miqt_string name, long long systemId, int typeVal, struct miqt_string seatName, QObject* parent);
|
||
|
QMetaObject* QInputDevice_MetaObject(const QInputDevice* self);
|
||
|
void* QInputDevice_Metacast(QInputDevice* self, const char* param1);
|
||
|
struct miqt_string QInputDevice_Tr(const char* s);
|
||
|
struct miqt_string QInputDevice_Name(const QInputDevice* self);
|
||
|
int QInputDevice_Type(const QInputDevice* self);
|
||
|
int QInputDevice_Capabilities(const QInputDevice* self);
|
||
|
bool QInputDevice_HasCapability(const QInputDevice* self, int cap);
|
||
|
long long QInputDevice_SystemId(const QInputDevice* self);
|
||
|
struct miqt_string QInputDevice_SeatName(const QInputDevice* self);
|
||
|
QRect* QInputDevice_AvailableVirtualGeometry(const QInputDevice* self);
|
||
|
struct miqt_array* QInputDevice_SeatNames();
|
||
|
struct miqt_array* QInputDevice_Devices();
|
||
|
QInputDevice* QInputDevice_PrimaryKeyboard();
|
||
|
bool QInputDevice_OperatorEqual(const QInputDevice* self, QInputDevice* other);
|
||
|
void QInputDevice_AvailableVirtualGeometryChanged(QInputDevice* self, QRect* area);
|
||
|
void QInputDevice_connect_AvailableVirtualGeometryChanged(QInputDevice* self, intptr_t slot);
|
||
|
struct miqt_string QInputDevice_Tr2(const char* s, const char* c);
|
||
|
struct miqt_string QInputDevice_Tr3(const char* s, const char* c, int n);
|
||
|
QInputDevice* QInputDevice_PrimaryKeyboard1(struct miqt_string seatName);
|
||
|
void QInputDevice_Delete(QInputDevice* self);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|