// SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later #pragma once #include "indicatortraywidget.h" #include #include class IndicatorTrayPrivate; class IndicatorTray : public QObject { Q_OBJECT public: explicit IndicatorTray(const QString &indicatorName, QObject *parent = nullptr); ~IndicatorTray(); IndicatorTrayWidget *widget(); void removeWidget(); signals: void delayLoaded(); void removed(); private slots: void textPropertyChanged(const QDBusMessage &message); void iconPropertyChanged(const QDBusMessage &message); private: QScopedPointer d_ptr; Q_DECLARE_PRIVATE_D(qGetPtrHelper(d_ptr), IndicatorTray) };