summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/addexistingdirectoriesdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /buildtools/autotools/addexistingdirectoriesdlg.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-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/addexistingdirectoriesdlg.cpp')
-rw-r--r--buildtools/autotools/addexistingdirectoriesdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/buildtools/autotools/addexistingdirectoriesdlg.cpp b/buildtools/autotools/addexistingdirectoriesdlg.cpp
index 19d400fb..eaca2161 100644
--- a/buildtools/autotools/addexistingdirectoriesdlg.cpp
+++ b/buildtools/autotools/addexistingdirectoriesdlg.cpp
@@ -186,7 +186,7 @@ void AddExistingDirectoriesDialog::slotOk()
TQString name = *it;
// Adjust SUBDIRS variable in containing Makefile.am
- if (m_spitem->variables["SUBDIRS"].tqfind("$(TOPSUBDIRS)") != -1)
+ if (m_spitem->variables["SUBDIRS"].find("$(TOPSUBDIRS)") != -1)
{
TQFile subdirsfile( m_spitem->path + "/subdirs" );
if ( subdirsfile.open( IO_WriteOnly | IO_Append ) )
@@ -196,7 +196,7 @@ void AddExistingDirectoriesDialog::slotOk()
subdirsfile.close();
}
}
- else if (m_spitem->variables["SUBDIRS"].tqfind("$(AUTODIRS)") != -1)
+ else if (m_spitem->variables["SUBDIRS"].find("$(AUTODIRS)") != -1)
{
}
else
@@ -243,7 +243,7 @@ void AddExistingDirectoriesDialog::slotOk()
if ( !m_part->isKDE() ) {
TQString projroot = m_part->projectDirectory() + "/";
TQString subdirectory = dir.path();
- TQString relpath = subdirectory.tqreplace(0, projroot.length(),"");
+ TQString relpath = subdirectory.replace(0, projroot.length(),"");
TQString configureFile = m_part->getAutoConfFile(projroot);
@@ -270,7 +270,7 @@ void AddExistingDirectoriesDialog::slotAddSelected()
TQString relPath = URLUtil::extractPathNameRelative(m_part->projectDirectory(), ( *it )->url());
if (relPath[relPath.length()-1] == '/')
relPath = relPath.left(relPath.length()-1);
- if ( (relPath.isEmpty()) || (! m_widget->allSubprojects().tqcontains( relPath )) )
+ if ( (relPath.isEmpty()) || (! m_widget->allSubprojects().contains( relPath )) )
{
m_importList.append ( ( *it ) );
}
@@ -288,7 +288,7 @@ void AddExistingDirectoriesDialog::slotAddAll()
TQString relPath = URLUtil::extractPathNameRelative(m_part->projectDirectory(), ( *it )->url());
if (relPath[relPath.length()-1] == '/')
relPath = relPath.left(relPath.length()-1);
- if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().tqcontains( relPath )) )
+ if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().contains( relPath )) )
{
m_importList.append ( ( *it ) );
}
@@ -363,7 +363,7 @@ void AddExistingDirectoriesDialog::slotDropped ( TQDropEvent* ev )
TQString relPath = URLUtil::extractPathNameRelative(m_part->projectDirectory(), *it);
if (relPath[relPath.length()-1] == '/')
relPath = relPath.left(relPath.length()-1);
- if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().tqcontains( relPath )) )
+ if ( (relPath.isEmpty()) || ( ! m_widget->allSubprojects().contains( relPath )) )
{
type = KMimeType::findByURL ( ( *it ) );