Yes, I am using something similar in my code and it is still working with Qt 4.7.1. I'll double check this example tomorrow after work and let you know if I made any changes.