qtmobility/tests/auto/qnmeapositioninfosource/tst_dummynmeapositioninfosource.cpp
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    81 {
    81 {
    82     Q_UNUSED(data);
    82     Q_UNUSED(data);
    83     Q_UNUSED(size);
    83     Q_UNUSED(size);
    84 
    84 
    85     posInfo->setCoordinate(QGeoCoordinate(callCount * 1.0, callCount * 1.0, callCount * 1.0));
    85     posInfo->setCoordinate(QGeoCoordinate(callCount * 1.0, callCount * 1.0, callCount * 1.0));
    86     posInfo->setDateTime(QDateTime::currentDateTime().toUTC());
    86     posInfo->setTimestamp(QDateTime::currentDateTime().toUTC());
    87     *hasFix = true;
    87     *hasFix = true;
    88     ++callCount;
    88     ++callCount;
    89 
    89 
    90     return true;
    90     return true;
    91 }
    91 }