qt4: input method