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 /buildtools/autotools/removetargetdlg.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 'buildtools/autotools/removetargetdlg.cpp')
| -rw-r--r-- | buildtools/autotools/removetargetdlg.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/buildtools/autotools/removetargetdlg.cpp b/buildtools/autotools/removetargetdlg.cpp index 962a386c..f40452c9 100644 --- a/buildtools/autotools/removetargetdlg.cpp +++ b/buildtools/autotools/removetargetdlg.cpp @@ -96,8 +96,8 @@ void RemoveTargetDialog::init()  			{  				TQString canonname = AutoProjectTool::canonicalize ( titem->name ); -				if ( spitem->variables[canonname + "_LIBADD"].tqcontains ( m_titem->name ) > 0 || -					spitem->variables[canonname + "_LDADD"].tqcontains ( m_titem->name ) > 0 ) +				if ( spitem->variables[canonname + "_LIBADD"].contains ( m_titem->name ) > 0 || +					spitem->variables[canonname + "_LDADD"].contains ( m_titem->name ) > 0 )  				{  					dependencyListBox->insertItem ( SmallIcon ( "target_kdevelop" ), spitem->path + " (" + titem->name + ")" ); @@ -136,7 +136,7 @@ void RemoveTargetDialog::accept ()  			TQString curCanonname = AutoProjectTool::canonicalize ( titem->name );  			TQStringList dependencies; -			if ( spitem->variables[curCanonname + "_LIBADD"].tqcontains ( m_titem->name ) ) +			if ( spitem->variables[curCanonname + "_LIBADD"].contains ( m_titem->name ) )  				curVarname = curCanonname + "_LIBADD";  			else  				curVarname = curCanonname + "_LDADD"; @@ -148,7 +148,7 @@ void RemoveTargetDialog::accept ()  			for ( uint i = 0; i < dependencies.size(); ++i )  			{  				TQString s = dependencies[i]; -				if ( s.tqcontains ( m_titem->name ) > 0 ) +				if ( s.contains ( m_titem->name ) > 0 )  					dependencies.remove ( s );  			} @@ -250,7 +250,7 @@ void RemoveTargetDialog::accept ()  			// before removing the files, check if they are mentioned in "noinst_HEADERS = blabla1.h blabla2.h"  			TQStringList noInstHeaders = TQStringList::split ( TQRegExp ( "[ \t\n]" ), m_spitem->variables["noinst_HEADERS"] ); -			if ( noInstHeaders.tqcontains ( fitem->name ) ) +			if ( noInstHeaders.contains ( fitem->name ) )  			{  				noInstHeaders.remove ( fitem->name ); | 
