Remove unused properties

This commit is contained in:
Matti Viljanen 2020-06-14 13:09:58 +03:00
parent a8a301cee2
commit 6bb39bde4f
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -31,10 +31,6 @@
class Battery : public QObject
{
Q_OBJECT
Q_PROPERTY(int charge READ getCharge NOTIFY chargeChanged)
Q_PROPERTY(bool chargerConnected READ getChargerConnected NOTIFY chargerConnectedChanged)
Q_PROPERTY(QString state READ getState NOTIFY stateChanged)
Q_PROPERTY(bool chargingEnabled READ getChargingEnabled WRITE setChargingEnabled NOTIFY chargingEnabledChanged)
public:
Battery(Settings *newSettings, QTimer *newUpdater, QTimer *newNotifier, Notification *newNotification, QObject *parent = nullptr);