in the process of swtiching return types to qt types