{33.0, 5500000.0}
};
+#ifdef Q_WS_MAEMO_5
QTM_USE_NAMESPACE
+#endif
Location::Location( const QString &x, const QString &y, const QString &label ) :
m_label(label),
m_valid(true)
{
}
-
+#ifdef Q_WS_MAEMO_5
Location::Location(const QGeoPositionInfo &positionInfo, const QString &label) :
m_label(label),
m_address(QString()),
- m_x(0),
- m_y(0),
+ m_x("0"),
+ m_y("0"),
m_valid(false)
{
setLocation(positionInfo);
emit(becomeValid());
//qDebug() << "Location set";
}
+#endif
void Location::setPosition(const QString &x, const QString &y)
{
Location::Location(const QString &label) :
m_label(label),
m_address(QString()),
- m_x(0),
- m_y(0),
+ m_x("0"),
+ m_y("0"),
m_valid(false)
{
}