Notify the user if anything goes wrong during route synchronization
completed by: Eric Newberry
mentors: Utku Aydın, Torsten Rahn, Dennis Nienhüser
Marble is a virtual globe and world atlas — your Swiss army knife for maps. Find your way and explore the world!
Route synchronization methods below interact with the Marble ownCloud app's API which is able to return friendly error messages if anything goes wrong. Add ability to Marble's desktop version to notify the user if anything goes wrong.
- downloadRouteList (OwncloudSyncBackend)
- downloadRoute (OwncloudSyncBackend)
- uploadRoute (OwncloudSyncBackend)
- deleteRoute (OwncloudSyncBackend)
- preview (CloudRouteModel)
Beware, you are not supposed to raise dialogs and display any other GUI stuff in cloudsync classes since it wouldn't work on mobile devices. Instead, emit a signal and connect it to a slot in the desktop code (marble_part.h/cpp and QtMainWindow.h/cpp).
Getting help: Visit the #marble IRC channel in freenode, watch out for Earthwings and utku.