diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
| commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
| tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/plugins/src/inputmethods | |
| parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
| download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/plugins/src/inputmethods')
| -rw-r--r-- | tqtinterface/qt4/plugins/src/inputmethods/imsw-multi/tqmultiinputcontext.cpp | 2 | ||||
| -rw-r--r-- | tqtinterface/qt4/plugins/src/inputmethods/xim/tqximinputcontext_x11.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/plugins/src/inputmethods/imsw-multi/tqmultiinputcontext.cpp b/tqtinterface/qt4/plugins/src/inputmethods/imsw-multi/tqmultiinputcontext.cpp index a3caede..721bd6d 100644 --- a/tqtinterface/qt4/plugins/src/inputmethods/imsw-multi/tqmultiinputcontext.cpp +++ b/tqtinterface/qt4/plugins/src/inputmethods/imsw-multi/tqmultiinputcontext.cpp @@ -372,7 +372,7 @@ TQPopupMenu *TQMultiInputContext::createImSelPopup() void TQMultiInputContext::changeInputMethodWithMenuId( int menuid ) { - TQString *key = keyDict.tqfind( (long)menuid ); + TQString *key = keyDict.find( (long)menuid ); changeInputMethod( (*key) ); } diff --git a/tqtinterface/qt4/plugins/src/inputmethods/xim/tqximinputcontext_x11.cpp b/tqtinterface/qt4/plugins/src/inputmethods/xim/tqximinputcontext_x11.cpp index 412ece8..f0d746c 100644 --- a/tqtinterface/qt4/plugins/src/inputmethods/xim/tqximinputcontext_x11.cpp +++ b/tqtinterface/qt4/plugins/src/inputmethods/xim/tqximinputcontext_x11.cpp @@ -254,9 +254,9 @@ extern "C" { delete [] str; if (drawstruct->chg_length < 0) - qic->composingText.tqreplace(drawstruct->chg_first, UINT_MAX, s); + qic->composingText.replace(drawstruct->chg_first, UINT_MAX, s); else - qic->composingText.tqreplace(drawstruct->chg_first, drawstruct->chg_length, s); + qic->composingText.replace(drawstruct->chg_first, drawstruct->chg_length, s); if ( qic->selectedChars.size() < qic->composingText.length() ) { // expand the selectedChars array if the compose string is longer @@ -619,7 +619,7 @@ bool TQXIMInputContext::x11FilterEvent( TQWidget *keywidget, XEvent *event ) * event into a filtered KeyPress event, in which case our * keywidget is still zero. */ - TQETWidget *widget = (TQETWidget*)TQWidget::tqfind( (WId)event->xany.window ); + TQETWidget *widget = (TQETWidget*)TQWidget::find( (WId)event->xany.window ); if ( ! keywidget ) { keywidget = (TQETWidget*)TQWidget::keyboardGrabber(); if ( keywidget ) { |
