Simple diary on Qt4