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

List:       kde-devel
Subject:    [PATCH]Clarify using InputMethod in KDE
From:       Kazuki Ohta <mover () hct ! zaq ! ne ! jp>
Date:       2004-05-31 15:17:48
Message-ID: 200406010017.48715.mover () hct ! zaq ! ne ! jp
[Download RAW message or body]

Hi.

I created the patch to clarify using the input method on kate part and 
konsole's TEWidget.
If your application is using the original widget for inputting text, please 
add the line setInputMethodEnabled(true) to the widget's constructor.
I also want to commit this patch to KDE_3_2_BRANCH.

Can I apply this patch?
-- 
cheers.

Kazuki Ohta : mover@hct.zaq.ne.jp

["kde-clarify-using-inputmethod.diff" (text/x-diff)]

Index: kdelibs/kate/part/kateviewinternal.cpp
===================================================================
RCS file: /home/kde/kdelibs/kate/part/kateviewinternal.cpp,v
retrieving revision 1.295
diff -u -r1.295 kateviewinternal.cpp
--- kdelibs/kate/part/kateviewinternal.cpp	26 May 2004 22:17:46 -0000	1.295
+++ kdelibs/kate/part/kateviewinternal.cpp	31 May 2004 15:12:25 -0000
@@ -163,6 +163,9 @@
   // event filter
   installEventFilter(this);
 
+  // im
+  setInputMethodEnabled(true);
+
   // set cursor
   setCursor( KCursor::ibeamCursor() );
 
Index: kdebase/konsole/konsole/TEWidget.cpp
===================================================================
RCS file: /home/kde/kdebase/konsole/konsole/TEWidget.cpp,v
retrieving revision 1.215
diff -u -r1.215 TEWidget.cpp
--- kdebase/konsole/konsole/TEWidget.cpp	24 May 2004 11:12:45 -0000	1.215
+++ kdebase/konsole/konsole/TEWidget.cpp	31 May 2004 15:12:26 -0000
@@ -401,6 +401,9 @@
   dragInfo.state = diNone;
 
   setFocusPolicy( WheelFocus );
+
+  // im
+  setInputMethodEnabled(true);  
   
   if (!argb_visual)
   {


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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