Document trayicon
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
|
||||
#include <QSystemTrayIcon>
|
||||
|
||||
/**
|
||||
* @class TrayIcon
|
||||
*
|
||||
* A class inheriting from QSystemTrayIcon to handle setting the system tray icon.
|
||||
*
|
||||
* Works for Windows, Linux and MacOS.
|
||||
*
|
||||
* @sa QSystemTrayIcon
|
||||
*/
|
||||
class TrayIcon : public QSystemTrayIcon
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -14,5 +23,8 @@ public:
|
||||
TrayIcon(QObject *parent = nullptr);
|
||||
|
||||
Q_SIGNALS:
|
||||
/**
|
||||
* @brief Triggered when the system tray icon is clicked to request NeoChat be shown.
|
||||
*/
|
||||
void showWindow();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user