summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h')
-rw-r--r--tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h b/tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h
index bd3c218..208c628 100644
--- a/tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h
+++ b/tqtinterface/qt4/tools/designer/examples/addressbook/addressbook.ui.h
@@ -129,7 +129,7 @@ void AddressBook::searchAddress( const TQString &expr )
TQListViewItemIterator it( addressView );
while ( it.current() ) {
for ( int i = 0; i < 7; ++i ) {
- if ( it.current()->text( i ).tqfind( expr ) != -1 )
+ if ( it.current()->text( i ).find( expr ) != -1 )
addressView->setSelected( it.current(), TRUE );
}
++it;