summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp')
-rw-r--r--tqtinterface/qt4/plugins/src/accessible/widgets/qaccessiblemenu.cpp18
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;