summaryrefslogtreecommitdiffstats
path: root/kdebugdialog
diff options
context:
space:
mode:
Diffstat (limited to 'kdebugdialog')
-rw-r--r--kdebugdialog/kdebugdialog.cpp2
-rw-r--r--kdebugdialog/klistdebugdialog.cpp8
-rw-r--r--kdebugdialog/main.cpp2
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 );