diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2010-12-16 15:51:24 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2010-12-16 15:51:24 +1000 |
commit | 4b2ca71aeee105c5735d204c67923ee8e7a5967b (patch) | |
tree | 24e546fb3d7aadf70c9718a21cca2ae47973ce9c /examples/sysinfo/dialog.cpp | |
parent | a333f0d349ed05ac347c946ea071bfd67e757f1d (diff) |
remove startCurrentMeasurement function.
This can be still be done using connectNotify on Symbian or systems
where this can be a cpu intensive process.
Diffstat (limited to 'examples/sysinfo/dialog.cpp')
-rw-r--r-- | examples/sysinfo/dialog.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/examples/sysinfo/dialog.cpp b/examples/sysinfo/dialog.cpp index ba540158e9..928da1e5a0 100644 --- a/examples/sysinfo/dialog.cpp +++ b/examples/sysinfo/dialog.cpp @@ -913,9 +913,6 @@ void Dialog::setupBattery() connect(bi,SIGNAL(chargerTypeChanged(QSystemBatteryInfo::ChargerType)), this,SLOT(chargerTypeChanged(QSystemBatteryInfo::ChargerType))); - connect(startMeasurementPushButton,SIGNAL(clicked()), - this,SLOT(startCurrentPushed())); - connect(bi,SIGNAL(nominalCapacityChanged(int)), NominalCaplcdNumber,SLOT(display(int))); connect(bi,SIGNAL(remainingCapacityChanged(int)), @@ -989,7 +986,4 @@ void Dialog::chargerTypeChanged(QSystemBatteryInfo::ChargerType chargerType) currentChargerType = chargerType; } -void Dialog::startCurrentPushed() -{ - bi->startCurrentMeasurement(currentMeasurementSpinBox->value()); -} + |