Btw, why are you using underscores for function parameters? I don't really like this and the Qt Coding Style doesn't do this either.