updated stuff for qt4