|
|
@ -65,11 +65,12 @@ Battery::Battery( TQString _udi ) {
|
|
|
|
if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl;
|
|
|
|
if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl;
|
|
|
|
|
|
|
|
|
|
|
|
m_hwdevices = TDEGlobal::hardwareDevices();
|
|
|
|
m_hwdevices = TDEGlobal::hardwareDevices();
|
|
|
|
|
|
|
|
m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true);
|
|
|
|
|
|
|
|
|
|
|
|
udi = _udi;
|
|
|
|
udi = _udi;
|
|
|
|
|
|
|
|
|
|
|
|
connect(m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(updateProperty(TDEGenericDevice*)));
|
|
|
|
connect(m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(updateProperty(TDEGenericDevice*)));
|
|
|
|
|
|
|
|
|
|
|
|
initialized = false;
|
|
|
|
initialized = false;
|
|
|
|
|
|
|
|
|
|
|
|
initDefault();
|
|
|
|
initDefault();
|
|
|
|