[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: access to KWord's keyboard buffer from another application
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-11-30 16:43:09
[Download RAW message or body]

On Friday 30 November 2001 00:16, shaheed wrote:
> So, what is probably needed is some kind of a KDE XIM framework, into 
> which one would plugin the language-specific logic.

Shaheed, Qt has XIM support, and KWord uses it.

kwtextframeset.cc-
kwtextframeset.cc-            //XIM Position
kwtextframeset.cc:            QPoint ximPoint = vPoint;
kwtextframeset.cc-            int line;
kwtextframeset.cc-            cursor->parag()->lineStartOfChar( cursor->index(), 0, \
                &line );
kwtextframeset.cc:            canvas->setXimPosition( ximPoint.x(), ximPoint.y(),
kwtextframeset.cc-                                    0, cursorHeight - \
cursor->parag()->lineSpacing( line ) ); kwtextframeset.cc-        }

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE 3.0: Konquering the Desktops


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic