23 Q_PROPERTY(
Fact *function READ function CONSTANT)
24 Q_PROPERTY(
Fact *type READ type CONSTANT)
25 Q_PROPERTY(
Fact *temperature READ temperature CONSTANT)
26 Q_PROPERTY(
Fact *voltage READ voltage CONSTANT)
27 Q_PROPERTY(
Fact *current READ current CONSTANT)
28 Q_PROPERTY(
Fact *mahConsumed READ mahConsumed CONSTANT)
29 Q_PROPERTY(
Fact *percentRemaining READ percentRemaining CONSTANT)
30 Q_PROPERTY(
Fact *timeRemaining READ timeRemaining CONSTANT)
31 Q_PROPERTY(
Fact *timeRemainingStr READ timeRemainingStr CONSTANT)
32 Q_PROPERTY(
Fact *chargeState READ chargeState CONSTANT)
33 Q_PROPERTY(
Fact *instantPower READ instantPower CONSTANT)
38 Fact *function() {
return &_batteryFunctionFact; }
39 Fact *type() {
return &_batteryTypeFact; }
40 Fact *voltage() {
return &_voltageFact; }
41 Fact *percentRemaining() {
return &_percentRemainingFact; }
42 Fact *mahConsumed() {
return &_mahConsumedFact; }
43 Fact *current() {
return &_currentFact; }
44 Fact *temperature() {
return &_temperatureFact; }
45 Fact *instantPower() {
return &_instantPowerFact; }
46 Fact *timeRemaining() {
return &_timeRemainingFact; }
47 Fact *timeRemainingStr() {
return &_timeRemainingStrFact; }
48 Fact *chargeState() {
return &_chargeStateFact; }
54 void _timeRemainingChanged(
const QVariant &value);