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"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#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-09-20 22:32:57 +00:00
|
|
|
void* QSystemTrayIcon_Metacast(QSystemTrayIcon* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QSystemTrayIcon_Tr(const char* s);
|
|
|
|
struct miqt_string* QSystemTrayIcon_TrUtf8(const char* s);
|
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-14 22:29:05 +00:00
|
|
|
struct miqt_string* QSystemTrayIcon_ToolTip(const QSystemTrayIcon* self);
|
|
|
|
void QSystemTrayIcon_SetToolTip(QSystemTrayIcon* self, struct miqt_string* tip);
|
2024-08-25 04:08:24 +00:00
|
|
|
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);
|
2024-09-14 22:29:05 +00:00
|
|
|
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);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QSystemTrayIcon_Activated(QSystemTrayIcon* self, int reason);
|
2024-08-29 07:01:51 +00:00
|
|
|
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-09-14 22:29:05 +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);
|
|
|
|
struct miqt_string* QSystemTrayIcon_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QSystemTrayIcon_TrUtf83(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);
|
2024-09-18 00:12:02 +00:00
|
|
|
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-08-25 04:08:24 +00:00
|
|
|
void QSystemTrayIcon_Delete(QSystemTrayIcon* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|