bool InputMethod::eventFilter(QObject *obj, QEvent *event) { if(event->type() == QEvent::MouseButtonPress) { emit set_im_objectname(obj->objectName()); show_keyboard(); return true; } else return QObject::eventFilter(obj,event); }
static void connect_show_keyboard(void) { CN_LOGPRINTF("entry"); show_keyboard(FALSE); }