miqt/qt6/gen_qsystemtrayicon.h

95 lines
4.4 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QSYSTEMTRAYICON_H
#define MIQT_QT6_GEN_QSYSTEMTRAYICON_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;
class QEvent;
2024-10-20 05:21:03 +00:00
class QIcon;
class QMenu;
2024-11-19 06:29:06 +00:00
class QMetaMethod;
2024-10-20 05:21:03 +00:00
class QMetaObject;
class QObject;
class QRect;
class QSystemTrayIcon;
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;
typedef struct QEvent QEvent;
2024-10-20 05:21:03 +00:00
typedef struct QIcon QIcon;
typedef struct QMenu QMenu;
2024-11-19 06:29:06 +00:00
typedef struct QMetaMethod QMetaMethod;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
typedef struct QObject QObject;
typedef struct QRect QRect;
typedef struct QSystemTrayIcon QSystemTrayIcon;
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
QSystemTrayIcon* QSystemTrayIcon_new();
QSystemTrayIcon* QSystemTrayIcon_new2(QIcon* icon);
QSystemTrayIcon* QSystemTrayIcon_new3(QObject* parent);
QSystemTrayIcon* QSystemTrayIcon_new4(QIcon* icon, QObject* parent);
void QSystemTrayIcon_virtbase(QSystemTrayIcon* src, QObject** outptr_QObject);
2024-10-20 05:21:03 +00:00
QMetaObject* QSystemTrayIcon_MetaObject(const QSystemTrayIcon* self);
void* QSystemTrayIcon_Metacast(QSystemTrayIcon* self, const char* param1);
struct miqt_string QSystemTrayIcon_Tr(const char* s);
void QSystemTrayIcon_SetContextMenu(QSystemTrayIcon* self, QMenu* menu);
QMenu* QSystemTrayIcon_ContextMenu(const QSystemTrayIcon* self);
QIcon* QSystemTrayIcon_Icon(const QSystemTrayIcon* self);
void QSystemTrayIcon_SetIcon(QSystemTrayIcon* self, QIcon* icon);
struct miqt_string QSystemTrayIcon_ToolTip(const QSystemTrayIcon* self);
void QSystemTrayIcon_SetToolTip(QSystemTrayIcon* self, struct miqt_string tip);
bool QSystemTrayIcon_IsSystemTrayAvailable();
bool QSystemTrayIcon_SupportsMessages();
QRect* QSystemTrayIcon_Geometry(const QSystemTrayIcon* self);
bool QSystemTrayIcon_IsVisible(const QSystemTrayIcon* self);
void QSystemTrayIcon_SetVisible(QSystemTrayIcon* self, bool visible);
void QSystemTrayIcon_Show(QSystemTrayIcon* self);
void QSystemTrayIcon_Hide(QSystemTrayIcon* self);
void QSystemTrayIcon_ShowMessage(QSystemTrayIcon* self, struct miqt_string title, struct miqt_string msg, QIcon* icon);
void QSystemTrayIcon_ShowMessage2(QSystemTrayIcon* self, struct miqt_string title, struct miqt_string msg);
void QSystemTrayIcon_Activated(QSystemTrayIcon* self, int reason);
void QSystemTrayIcon_connect_Activated(QSystemTrayIcon* self, intptr_t slot);
void QSystemTrayIcon_MessageClicked(QSystemTrayIcon* self);
void QSystemTrayIcon_connect_MessageClicked(QSystemTrayIcon* self, intptr_t slot);
2024-11-19 06:29:06 +00:00
bool QSystemTrayIcon_Event(QSystemTrayIcon* self, QEvent* event);
2024-10-20 05:21:03 +00:00
struct miqt_string QSystemTrayIcon_Tr2(const char* s, const char* c);
struct miqt_string QSystemTrayIcon_Tr3(const char* s, const char* c, int n);
void QSystemTrayIcon_ShowMessage4(QSystemTrayIcon* self, struct miqt_string title, struct miqt_string msg, QIcon* icon, int msecs);
void QSystemTrayIcon_ShowMessage3(QSystemTrayIcon* self, struct miqt_string title, struct miqt_string msg, int icon);
void QSystemTrayIcon_ShowMessage42(QSystemTrayIcon* self, struct miqt_string title, struct miqt_string msg, int icon, int msecs);
2024-11-19 06:29:06 +00:00
void QSystemTrayIcon_override_virtual_Event(void* self, intptr_t slot);
bool QSystemTrayIcon_virtualbase_Event(void* self, QEvent* event);
void QSystemTrayIcon_override_virtual_EventFilter(void* self, intptr_t slot);
bool QSystemTrayIcon_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void QSystemTrayIcon_override_virtual_TimerEvent(void* self, intptr_t slot);
void QSystemTrayIcon_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void QSystemTrayIcon_override_virtual_ChildEvent(void* self, intptr_t slot);
void QSystemTrayIcon_virtualbase_ChildEvent(void* self, QChildEvent* event);
void QSystemTrayIcon_override_virtual_CustomEvent(void* self, intptr_t slot);
void QSystemTrayIcon_virtualbase_CustomEvent(void* self, QEvent* event);
void QSystemTrayIcon_override_virtual_ConnectNotify(void* self, intptr_t slot);
void QSystemTrayIcon_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void QSystemTrayIcon_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void QSystemTrayIcon_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void QSystemTrayIcon_Delete(QSystemTrayIcon* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif