qt bindings refactor