/* * SPDX-FileCopyrightText: 2016 Aleix Pol Gonzalez * SPDX-FileCopyrightText: 2020 Piyush Aggarwal * * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #ifndef CONNECTIVITYACTION_H #define CONNECTIVITYACTION_H #include #include #include #include "interfaces/dbusinterfaces.h" #include class ConnectivityAction : public QAction { Q_OBJECT public: ConnectivityAction(DeviceDbusInterface* device); void update(); private Q_SLOTS: void setCellularNetworkStrength(int cellularNetworkStrength); void setCellularNetworkType(QString cellularNetworkType); private: ConnectivityReportDbusInterface m_connectivityiface; QString m_cellularNetworkType; int m_cellularNetworkStrength = -1; }; #endif // CONNECTIVITYACTION_H