Qt4: pass input items rather than ID through IMevent