mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00

Modify project to pass the REUSE check Log: Modify project to pass the REUSE check Task: https://pms.uniontech.com/task-view-185215.html Change-Id: Ie954cf985f16c1a243bfc912aa7458c6e85ce9de
36 lines
783 B
C++
36 lines
783 B
C++
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "indicatortraywidget.h"
|
|
|
|
#include <QObject>
|
|
#include <QScopedPointer>
|
|
|
|
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<IndicatorTrayPrivate> d_ptr;
|
|
Q_DECLARE_PRIVATE_D(qGetPtrHelper(d_ptr), IndicatorTray)
|
|
};
|