2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QSOCKETNOTIFIER_H
|
|
|
|
#define MIQT_QT_GEN_QSOCKETNOTIFIER_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +13:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-11-19 19:29:06 +13:00
|
|
|
class QChildEvent;
|
|
|
|
class QEvent;
|
|
|
|
class QMetaMethod;
|
2024-08-25 16:08:24 +12:00
|
|
|
class QMetaObject;
|
2024-08-29 19:01:51 +12:00
|
|
|
class QObject;
|
2024-08-25 16:08:24 +12:00
|
|
|
class QSocketDescriptor;
|
|
|
|
class QSocketNotifier;
|
2024-11-19 19:29:06 +13:00
|
|
|
class QTimerEvent;
|
2024-08-25 16:08:24 +12:00
|
|
|
#else
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QChildEvent QChildEvent;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QMetaMethod QMetaMethod;
|
2024-08-25 16:08:24 +12:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-08-29 19:01:51 +12:00
|
|
|
typedef struct QObject QObject;
|
2024-08-25 16:08:24 +12:00
|
|
|
typedef struct QSocketDescriptor QSocketDescriptor;
|
|
|
|
typedef struct QSocketNotifier QSocketNotifier;
|
2024-11-19 19:29:06 +13:00
|
|
|
typedef struct QTimerEvent QTimerEvent;
|
2024-08-25 16:08:24 +12:00
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QSocketNotifier* QSocketNotifier_new(intptr_t socket, int param2);
|
|
|
|
QSocketNotifier* QSocketNotifier_new2(intptr_t socket, int param2, QObject* parent);
|
|
|
|
void QSocketNotifier_virtbase(QSocketNotifier* src, QObject** outptr_QObject);
|
2025-02-01 13:45:16 +13:00
|
|
|
QMetaObject* QSocketNotifier_metaObject(const QSocketNotifier* self);
|
|
|
|
void* QSocketNotifier_metacast(QSocketNotifier* self, const char* param1);
|
|
|
|
struct miqt_string QSocketNotifier_tr(const char* s);
|
|
|
|
struct miqt_string QSocketNotifier_trUtf8(const char* s);
|
|
|
|
intptr_t QSocketNotifier_socket(const QSocketNotifier* self);
|
|
|
|
int QSocketNotifier_type(const QSocketNotifier* self);
|
|
|
|
bool QSocketNotifier_isEnabled(const QSocketNotifier* self);
|
|
|
|
void QSocketNotifier_setEnabled(QSocketNotifier* self, bool enabled);
|
|
|
|
bool QSocketNotifier_event(QSocketNotifier* self, QEvent* param1);
|
|
|
|
struct miqt_string QSocketNotifier_tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QSocketNotifier_tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QSocketNotifier_trUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QSocketNotifier_trUtf83(const char* s, const char* c, int n);
|
|
|
|
bool QSocketNotifier_override_virtual_event(void* self, intptr_t slot);
|
|
|
|
bool QSocketNotifier_virtualbase_event(void* self, QEvent* param1);
|
|
|
|
bool QSocketNotifier_override_virtual_eventFilter(void* self, intptr_t slot);
|
|
|
|
bool QSocketNotifier_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
|
|
|
|
bool QSocketNotifier_override_virtual_timerEvent(void* self, intptr_t slot);
|
|
|
|
void QSocketNotifier_virtualbase_timerEvent(void* self, QTimerEvent* event);
|
|
|
|
bool QSocketNotifier_override_virtual_childEvent(void* self, intptr_t slot);
|
|
|
|
void QSocketNotifier_virtualbase_childEvent(void* self, QChildEvent* event);
|
|
|
|
bool QSocketNotifier_override_virtual_customEvent(void* self, intptr_t slot);
|
|
|
|
void QSocketNotifier_virtualbase_customEvent(void* self, QEvent* event);
|
|
|
|
bool QSocketNotifier_override_virtual_connectNotify(void* self, intptr_t slot);
|
|
|
|
void QSocketNotifier_virtualbase_connectNotify(void* self, QMetaMethod* signal);
|
|
|
|
bool QSocketNotifier_override_virtual_disconnectNotify(void* self, intptr_t slot);
|
|
|
|
void QSocketNotifier_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
|
|
|
|
void QSocketNotifier_delete(QSocketNotifier* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QSocketDescriptor* QSocketDescriptor_new();
|
|
|
|
QSocketDescriptor* QSocketDescriptor_new2(QSocketDescriptor* param1);
|
|
|
|
QSocketDescriptor* QSocketDescriptor_new3(int descriptor);
|
2025-01-04 12:19:04 +13:00
|
|
|
int QSocketDescriptor_ToInt(const QSocketDescriptor* self);
|
2025-02-01 13:45:16 +13:00
|
|
|
bool QSocketDescriptor_isValid(const QSocketDescriptor* self);
|
|
|
|
void QSocketDescriptor_delete(QSocketDescriptor* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#endif
|