From kde-devel Mon May 31 15:17:48 2004 From: Kazuki Ohta Date: Mon, 31 May 2004 15:17:48 +0000 To: kde-devel Subject: [PATCH]Clarify using InputMethod in KDE Message-Id: <200406010017.48715.mover () hct ! zaq ! ne ! jp> X-MARC-Message: https://marc.info/?l=kde-devel&m=108601671600691 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_cy0uA3VzOnYjmWs" --Boundary-00=_cy0uA3VzOnYjmWs Content-Type: text/plain; charset="us-ascii"; boundary="" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_cy0uA3VzOnYjmWs Content-Type: text/x-diff; charset="us-ascii"; name="kde-clarify-using-inputmethod.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kde-clarify-using-inputmethod.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) { --Boundary-00=_cy0uA3VzOnYjmWs Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --Boundary-00=_cy0uA3VzOnYjmWs--