Updated for QtCreator 3.0 and added implementation in source