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 | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
| tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /kdevdesigner/designer/mainwindowactions.cpp | |
| parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
| download | tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/mainwindowactions.cpp')
| -rw-r--r-- | kdevdesigner/designer/mainwindowactions.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/kdevdesigner/designer/mainwindowactions.cpp b/kdevdesigner/designer/mainwindowactions.cpp index 2bf3c798..f701f046 100644 --- a/kdevdesigner/designer/mainwindowactions.cpp +++ b/kdevdesigner/designer/mainwindowactions.cpp @@ -1246,16 +1246,16 @@ void MainWindow::fileOpen( const TQString &filter, const TQString &extension, co  	    if ( !filename.isEmpty() ) {  		TQFileInfo fi( filename ); -		if ( fi.extension( FALSE ) == "pro" && ( extension.isEmpty() || extension.tqfind( ";pro" ) != -1 ) ) { +		if ( fi.extension( FALSE ) == "pro" && ( extension.isEmpty() || extension.find( ";pro" ) != -1 ) ) {  		    addRecentlyOpened( filename, recentlyProjects );  		    openProject( filename ); -		} else if ( fi.extension( FALSE ) == "ui" && ( extension.isEmpty() || extension.tqfind( ";ui" ) != -1 ) ) { +		} else if ( fi.extension( FALSE ) == "ui" && ( extension.isEmpty() || extension.find( ";ui" ) != -1 ) ) {  		    if ( !inProject )  			setCurrentProject( eProject );  		    openFormWindow( filename );  		    addRecentlyOpened( filename, recentlyFiles ); -		} else if ( !extension.isEmpty() && extension.tqfind( ";" + fi.extension( FALSE ) ) != -1 || -			    additionalSources.tqfind( fi.extension( FALSE ) ) != additionalSources.end() ) { +		} else if ( !extension.isEmpty() && extension.find( ";" + fi.extension( FALSE ) ) != -1 || +			    additionalSources.find( fi.extension( FALSE ) ) != additionalSources.end() ) {  		    SourceFile *sf = project->findSourceFile( project->makeRelative( filename ) );  		    if ( !sf )  			sf = new SourceFile( project->makeRelative( filename ), FALSE, project ); @@ -1263,7 +1263,7 @@ void MainWindow::fileOpen( const TQString &filter, const TQString &extension, co  		} else if ( extension.isEmpty() ) {  		    TQString filter;  		    for ( TQStringList::Iterator it2 = filterlist.begin(); it2 != filterlist.end(); ++it2 ) { -			if ( (*it2).tqcontains( "." + fi.extension( FALSE ), FALSE ) ) { +			if ( (*it2).contains( "." + fi.extension( FALSE ), FALSE ) ) {  			    filter = *it2;  			    break;  			} @@ -1986,7 +1986,7 @@ void MainWindow::searchIncremetalFind()  	 !::tqqt_cast<SourceEditor*>(qWorkspace()->activeWindow()) )  	 return; -    ( (SourceEditor*)qWorkspace()->activeWindow() )->editorInterface()->tqfind( incrementalSearch->text(), +    ( (SourceEditor*)qWorkspace()->activeWindow() )->editorInterface()->find( incrementalSearch->text(),  									     FALSE, FALSE, TRUE, FALSE );  } @@ -1996,7 +1996,7 @@ void MainWindow::searchIncremetalFindNext()  	 !::tqqt_cast<SourceEditor*>(qWorkspace()->activeWindow()) )  	 return; -    ( (SourceEditor*)qWorkspace()->activeWindow() )->editorInterface()->tqfind( incrementalSearch->text(), +    ( (SourceEditor*)qWorkspace()->activeWindow() )->editorInterface()->find( incrementalSearch->text(),  									     FALSE, FALSE, TRUE, TRUE );  } | 
