2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSYSTEMTRAYICON_H
|
|
|
|
#define GEN_QSYSTEMTRAYICON_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QIcon;
|
|
|
|
class QMenu;
|
|
|
|
class QMetaObject;
|
|
|
|
class QObject;
|
|
|
|
class QRect;
|
|
|
|
class QSystemTrayIcon;
|
|
|
|
#else
|
|
|
|
typedef struct QIcon QIcon;
|
|
|
|
typedef struct QMenu QMenu;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QObject QObject;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSystemTrayIcon QSystemTrayIcon;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QSystemTrayIcon* QSystemTrayIcon_new();
|
|
|
|
QSystemTrayIcon* QSystemTrayIcon_new2(QIcon* icon);
|
|
|
|
QSystemTrayIcon* QSystemTrayIcon_new3(QObject* parent);
|
|
|
|
QSystemTrayIcon* QSystemTrayIcon_new4(QIcon* icon, QObject* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QSystemTrayIcon_MetaObject(const QSystemTrayIcon* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QSystemTrayIcon_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QSystemTrayIcon_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_SetContextMenu(QSystemTrayIcon* self, QMenu* menu);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMenu* QSystemTrayIcon_ContextMenu(const QSystemTrayIcon* self);
|
|
|
|
QIcon* QSystemTrayIcon_Icon(const QSystemTrayIcon* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_SetIcon(QSystemTrayIcon* self, QIcon* icon);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QSystemTrayIcon_ToolTip(const QSystemTrayIcon* self, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_SetToolTip(QSystemTrayIcon* self, const char* tip, size_t tip_Strlen);
|
|
|
|
bool QSystemTrayIcon_IsSystemTrayAvailable();
|
|
|
|
bool QSystemTrayIcon_SupportsMessages();
|
2024-09-11 05:41:09 +00:00
|
|
|
QRect* QSystemTrayIcon_Geometry(const QSystemTrayIcon* self);
|
|
|
|
bool QSystemTrayIcon_IsVisible(const QSystemTrayIcon* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_SetVisible(QSystemTrayIcon* self, bool visible);
|
|
|
|
void QSystemTrayIcon_Show(QSystemTrayIcon* self);
|
|
|
|
void QSystemTrayIcon_Hide(QSystemTrayIcon* self);
|
|
|
|
void QSystemTrayIcon_ShowMessage(QSystemTrayIcon* self, const char* title, size_t title_Strlen, const char* msg, size_t msg_Strlen, QIcon* icon);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QSystemTrayIcon_ShowMessage2(QSystemTrayIcon* self, const char* title, size_t title_Strlen, const char* msg, size_t msg_Strlen);
|
|
|
|
void QSystemTrayIcon_Activated(QSystemTrayIcon* self, uintptr_t reason);
|
|
|
|
void QSystemTrayIcon_connect_Activated(QSystemTrayIcon* self, void* slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_MessageClicked(QSystemTrayIcon* self);
|
|
|
|
void QSystemTrayIcon_connect_MessageClicked(QSystemTrayIcon* self, void* slot);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QSystemTrayIcon_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QSystemTrayIcon_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QSystemTrayIcon_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QSystemTrayIcon_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_ShowMessage4(QSystemTrayIcon* self, const char* title, size_t title_Strlen, const char* msg, size_t msg_Strlen, QIcon* icon, int msecs);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QSystemTrayIcon_ShowMessage3(QSystemTrayIcon* self, const char* title, size_t title_Strlen, const char* msg, size_t msg_Strlen, uintptr_t icon);
|
|
|
|
void QSystemTrayIcon_ShowMessage42(QSystemTrayIcon* self, const char* title, size_t title_Strlen, const char* msg, size_t msg_Strlen, uintptr_t icon, int msecs);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_Delete(QSystemTrayIcon* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|