}
void LatitudeGUI::set() {
-#ifdef Q_WS_MAEMO_5
- QMaemo5InformationBox::information(this, "new position...", 1000);
-#else
- qDebug() << "new position...";
-#endif
+ qDebug() << "LatitudeGUI: set";
glatitude->login(setting->value("user","my_username").toString(),
setting->value("pass","my_password").toString());
glatitude->set(gps->get_lat(),
}
void LatitudeGUI::latitude_OK() {
-#ifdef Q_WS_MAEMO_5
- QMaemo5InformationBox::information(this, "...location Sent!", 1000);
-#else
- qDebug() << "...location Sent!";
-#endif
+ qDebug() << "LatitudeGUI: send";
}
void LatitudeGUI::latitude_ERROR() {
#ifdef Q_WS_MAEMO_5
- QMaemo5InformationBox::information(this, "Error in Authentification !", 3000);
-#else
- qDebug() << "Error in Authentification !";
+ QString error_message = tr("<b>Error in Authentification!</b><br><br>") +
+ tr("Plese verify your login details<br>");
+ QMaemo5InformationBox::information(this, error_message,
+ QMaemo5InformationBox::NoTimeout);
#endif
+ qDebug() << "LatitudeGUI: no auth";
}
void LatitudeGUI::save_user(QString _user) {