diff -r f7ac710697a9 -r 06ff229162e9 src/hbcore/decorators/hbbatteryindicator_p.h --- a/src/hbcore/decorators/hbbatteryindicator_p.h Mon May 03 12:48:33 2010 +0300 +++ b/src/hbcore/decorators/hbbatteryindicator_p.h Fri May 14 16:09:54 2010 +0300 @@ -65,7 +65,9 @@ Q_DECLARE_PRIVATE_D(d_ptr, HbBatteryIndicator) Q_DISABLE_COPY(HbBatteryIndicator) - Q_PRIVATE_SLOT(d_func(), void _q_setPowerState(HbSystemDeviceInfo::PowerState)) +#ifdef HB_HAVE_QT_MOBILITY + Q_PRIVATE_SLOT(d_func(), void _q_setPowerState(QSystemDeviceInfo::PowerState)) +#endif // HB_HAVE_QT_MOBILITY }; #endif // HBBATTERYINDICATOR_H