From 9a3f0aacd44fb866833ebcb852df3cd31475cb33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdebugdialog/kdebugdialog.cpp | 2 +- kdebugdialog/klistdebugdialog.cpp | 8 ++++---- kdebugdialog/main.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kdebugdialog') diff --git a/kdebugdialog/kdebugdialog.cpp b/kdebugdialog/kdebugdialog.cpp index 32ac341ac..e626fcb12 100644 --- a/kdebugdialog/kdebugdialog.cpp +++ b/kdebugdialog/kdebugdialog.cpp @@ -200,7 +200,7 @@ void KDebugDialog::slotDebugAreaChanged( const TQString & text ) save(); TQString data = text.simplifyWhiteSpace(); - int space = data.tqfind(" "); + int space = data.find(" "); if (space == -1) kdError() << "No space:" << data << endl; diff --git a/kdebugdialog/klistdebugdialog.cpp b/kdebugdialog/klistdebugdialog.cpp index 1f358e35a..a1b75ee83 100644 --- a/kdebugdialog/klistdebugdialog.cpp +++ b/kdebugdialog/klistdebugdialog.cpp @@ -83,9 +83,9 @@ void KListDebugDialog::generateCheckBoxes( const TQString& filter ) for ( ; it != m_areaList.end() ; ++it ) { TQString data = (*it).simplifyWhiteSpace(); - if ( filter.isEmpty() || data.lower().tqcontains( filter.lower() ) ) + if ( filter.isEmpty() || data.lower().contains( filter.lower() ) ) { - int space = data.tqfind(" "); + int space = data.find(" "); if (space == -1) kdError() << "No space:" << data << endl; @@ -129,7 +129,7 @@ void KListDebugDialog::load() int setting = pConfig->readNumEntry( "InfoOutput", 2 ); // override setting if in m_changes - if( m_changes.tqfind( (*it)->name() ) != m_changes.end() ) { + if( m_changes.find( (*it)->name() ) != m_changes.end() ) { setting = m_changes[ (*it)->name() ]; } @@ -182,7 +182,7 @@ void KListDebugDialog::activateArea( TQCString area, bool activate ) for ( ; it.current() ; ++it ) { if ( area == (*it)->name() // debug area code = cb's name - || (*it)->text().tqfind( TQString::tqfromLatin1(area) ) != -1 ) // area name included in cb text + || (*it)->text().find( TQString::tqfromLatin1(area) ) != -1 ) // area name included in cb text { (*it)->setChecked( activate ); return; diff --git a/kdebugdialog/main.cpp b/kdebugdialog/main.cpp index 4434d8e4f..61d977ee8 100644 --- a/kdebugdialog/main.cpp +++ b/kdebugdialog/main.cpp @@ -50,7 +50,7 @@ TQStringList readAreaList() while (!ts->eof()) { data = ts->readLine().simplifyWhiteSpace(); - int pos = data.tqfind("#"); + int pos = data.find("#"); if ( pos != -1 ) data.truncate( pos ); -- cgit v1.2.3