Update Qt4 bindings to match the latest API