From eaa7ee2e0bbca40ba3173c4304f81957e8964291 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 9 Aug 2011 22:25:47 -0500 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains --- .../plugins/src/accessible/widgets/qaccessiblemenu.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp') diff --git a/tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp b/tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp index 21a99b1..4a120d9 100644 --- a/tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp +++ b/tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp @@ -81,7 +81,7 @@ TQString TQAccessiblePopup::text( Text t, int control ) const TQMenuItem *item = 0; if ( control ) { id = popupMenu()->idAt( control - 1 ); - item = popupMenu()->tqfindItem( id ); + item = popupMenu()->findItem( id ); } switch ( t ) { @@ -110,7 +110,7 @@ TQAccessible::Role TQAccessiblePopup::role( int control ) const if ( !control ) return PopupMenu; - TQMenuItem *item = popupMenu()->tqfindItem( popupMenu()->idAt( control -1 ) ); + TQMenuItem *item = popupMenu()->findItem( popupMenu()->idAt( control -1 ) ); if ( item && item->isSeparator() ) return Separator; return MenuItem; @@ -123,7 +123,7 @@ TQAccessible::State TQAccessiblePopup::state( int control ) const return (State)s; int id = popupMenu()->idAt( control -1 ); - TQMenuItem *item = popupMenu()->tqfindItem( id ); + TQMenuItem *item = popupMenu()->findItem( id ); if ( !item ) return (State)s; @@ -145,7 +145,7 @@ bool TQAccessiblePopup::doDefaultAction( int control ) return FALSE; int id = popupMenu()->idAt( control -1 ); - TQMenuItem *item = popupMenu()->tqfindItem( id ); + TQMenuItem *item = popupMenu()->findItem( id ); if ( !item || !item->isEnabled() ) return FALSE; @@ -159,7 +159,7 @@ bool TQAccessiblePopup::setFocus( int control ) return FALSE; int id = popupMenu()->idAt( control -1 ); - TQMenuItem *item = popupMenu()->tqfindItem( id ); + TQMenuItem *item = popupMenu()->findItem( id ); if ( !item || !item->isEnabled() ) return FALSE; @@ -268,7 +268,7 @@ TQAccessible::Role TQAccessibleMenuBar::role( int control ) const if ( !control ) return MenuBar; - TQMenuItem *item = menuBar()->tqfindItem( menuBar()->idAt( control -1 ) ); + TQMenuItem *item = menuBar()->findItem( menuBar()->idAt( control -1 ) ); if ( item && item->isSeparator() ) return Separator; return MenuItem; @@ -281,7 +281,7 @@ TQAccessible::State TQAccessibleMenuBar::state( int control ) const return (State)s; int id = menuBar()->idAt( control -1 ); - TQMenuItem *item = menuBar()->tqfindItem( id ); + TQMenuItem *item = menuBar()->findItem( id ); if ( !item ) return (State)s; @@ -301,7 +301,7 @@ bool TQAccessibleMenuBar::doDefaultAction( int control ) return FALSE; int id = menuBar()->idAt( control -1 ); - TQMenuItem *item = menuBar()->tqfindItem( id ); + TQMenuItem *item = menuBar()->findItem( id ); if ( !item || !item->isEnabled() ) return FALSE; @@ -315,7 +315,7 @@ bool TQAccessibleMenuBar::setFocus( int control ) return FALSE; int id = menuBar()->idAt( control -1 ); - TQMenuItem *item = menuBar()->tqfindItem( id ); + TQMenuItem *item = menuBar()->findItem( id ); if ( !item || !item->isEnabled() ) return FALSE; -- cgit v1.2.1