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

23 lines
745 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.
**************************************************************************************************/
#pragma once
#include <QSystemTrayIcon>
class SystemTrayIcon : public QSystemTrayIcon
{
Q_OBJECT
public:
explicit SystemTrayIcon(QObject *parent = Q_NULLPTR);
~SystemTrayIcon();
signals:
void invokeExit();
void invokeShowMainWindow();
};