dde-dock/plugins/airplane-mode/airplanemodeapplet.h
Robert 0427e19b72
chore: adapt license and copyright (#680)
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
2022-09-06 11:36:55 +08:00

33 lines
580 B
C++

// SPDX-FileCopyrightText: 2020 - 2022 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
#ifndef AIRPLANEMODEAPPLET_H
#define AIRPLANEMODEAPPLET_H
#include <QWidget>
namespace Dtk {
namespace Widget {
class DSwitchButton;
}
}
class QLabel;
class AirplaneModeApplet : public QWidget
{
Q_OBJECT
public:
explicit AirplaneModeApplet(QWidget *parent = nullptr);
void setEnabled(bool enable);
signals:
void enableChanged(bool enable);
private:
Dtk::Widget::DSwitchButton *m_switchBtn;
};
#endif // AIRPLANEMODEAPPLET_H