x-tools/Source/SystemTrayIcon.h
2024-03-19 18:08:47 +08:00

26 lines
810 B
C++

/***************************************************************************************************
* Copyright 2022-2023 x-tools-author(x-tools@outlook.com). All rights reserved.
*
* The file is encoded using "utf8 with bom", it is a part of xTools project.
*
* xTools is licensed according to the terms in the file LICENCE(GPL V3) in the root of the source
* code directory.
**************************************************************************************************/
#ifndef SYSTEMTRAYICON_H
#define SYSTEMTRAYICON_H
#include <QSystemTrayIcon>
class SystemTrayIcon : public QSystemTrayIcon
{
Q_OBJECT
public:
explicit SystemTrayIcon(QObject *parent = Q_NULLPTR);
~SystemTrayIcon();
signals:
void invokeExit();
void invokeShowMainWindow();
};
#endif // SYSTEMTRAYICON_H