Qt case registration