qtmobility/tests/auto/qnmeapositioninfosource/tst_dummynmeapositioninfosource.cpp
equal
deleted
inserted
replaced
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 } |