C++/Qt4 sport logger