finished qt4qt5 move
added some breaks and replaces