[immodule-qt] Surrounding text

Anuradha Ratnaweera gnu.slash.linux at gmail.com
Thu Sep 16 07:11:50 EEST 2004


On Thu, 16 Sep 2004 00:53:33 +0900, Daisuke Kameda
<kaminmat at cc.rim.or.jp> wrote:
> > As it turns out (please
> > correct me if I am wrong), QInputContext doesn't store text string,
> > but only the preedit.  Where is it stored?  Is it different for each
> > widget (in which case we will have to implement a function for every
> > widget)?
> 
> Yes. In the present implementation, (commited) text string is stored at
> only each widget. Please refer to QWidget::imEndEvent(),
> QLineEdit::imEndEvent(), and QWidget::imEndEvent().

Thanks.  Saved a lot of time for me!

BTW, I guess you meant QWidget::imEndEvent() and QLineEdit::imEndEvent(). :-)

        Anuradha

-- 

http://www.linux.lk/~anuradha/
http://www.gnu.org/philosophy/no-word-attachments.html



More information about the immodule-qt mailing list