Qt4: keep input item rather than ID in the manager