[immodule-qt] Current Qt 4 status
Daisuke Kameda
kaminmat at cc.rim.or.jp
Sun Jan 2 15:59:31 EET 2005
Lars Knoll <lars at trolltech.com> wrote:
> > I found cursorPositionChanged signal, but I couldn't find the code which
> > has connected this signal to the slot.
> >
> > Is your solution using this signal?
> >
> > If the answer is yes, are you going to leave connection with this signal
> > to the developer of IM? I think that it should be realized inside Qt.
>
> The method you need to call in an input widget is called
> QWidget::updateMicroFocus(). The main difference to before is that the method
> does not taka an argument. Instead the input method (or the accessibility
> framework) can query all the need to know with inputMethodQuery() afterwards.
>
> QWidget::updateMicroFocus() calss QInputContext::update() automatically, which
> you can reimplement in your input method.
I am sorry. I found the code just now.
Thank you for a reply in holiday.
BTW, this function is called only in src/gui/widgets/qtextedit.cpp.
Please add the code which calls this function to other widget.
--
Daisuke Kameda <kaminmat at cc.rim.or.jp>
More information about the immodule-qt
mailing list