diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch) | |
tree | 9f699684624f4e78e13e7dd2393a103cc6fa8274 /kdebugdialog | |
parent | 341ad02235b9c85cd31782225181ed475b74eaa3 (diff) | |
download | tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip |
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
Diffstat (limited to 'kdebugdialog')
-rw-r--r-- | kdebugdialog/kdebugdialog.cpp | 2 | ||||
-rw-r--r-- | kdebugdialog/klistdebugdialog.cpp | 8 | ||||
-rw-r--r-- | kdebugdialog/main.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
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 ); |