Work/refactoring for qtquick