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/accessible/widgets/qaccessiblemenu.cpp | |
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/accessible/widgets/qaccessiblemenu.cpp')
-rw-r--r-- | tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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; |