qt5 refactoring ...