GSoC/GCI Archive
Google Code-in 2014 KDE

Create separate files for separate classes in Marble

completed by: Ilya Kowalewski

mentors: Dennis Nienhüser, Sanjiban Bairagya

- Please build the Marble source code by following the instruction given in the following page: 

- Please open the files src/lib/marble/TourWidget.{h,cpp}. These files contain the declarations and definitions of the TourWidget class, along with that of 5 more classes as well. (We prefer to use some decent IDE like KDevelop or QtCreator, to browse through the code, rather than a normal text editor)

- Your task is to identify these 5 classes, and create separate .h and .cpp files for each of those 5 classes (so, 5 * 2 = 10 new files in total), rather than keeping them all in that single file, inside the folder src/lib/marble/ , so that it is more convenient to view the code.

- Now in order to get the code to compile, you need to get the compiler to identify these new files first. So just add the names of the new files, to the CMakeLists.txt file, among other changes if necessary. Try to compile the code.

- Once you are done, and the code is running fine, please create a patch using "git diff" and send it to under the group 'marble' for review.

- Feel free to ask your doubts in IRC in the channel #marble so that we can help you in case you get stuck anywhere.