summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/autoprojectpart.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/autoprojectpart.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/autoprojectpart.cpp')
-rw-r--r--buildtools/autotools/autoprojectpart.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp
index a2c500a4..15d6bc45 100644
--- a/buildtools/autotools/autoprojectpart.cpp
+++ b/buildtools/autotools/autoprojectpart.cpp
@@ -525,7 +525,7 @@ void AutoProjectPart::addFiles ( const TQStringList& fileList )
for ( it = fileList.begin(); it != fileList.end(); ++it )
{
- int pos = ( *it ).tqfindRev('/');
+ int pos = ( *it ).findRev('/');
if (pos != -1)
{
directory = ( *it ).left(pos);
@@ -597,7 +597,7 @@ TQString AutoProjectPart::currentBuildConfig() const
TQDomDocument &dom = *projectDom();
TQString config = DomUtil::readEntry(dom, "/kdevautoproject/general/useconfiguration");
- if (config.isEmpty() || !allBuildConfigs().tqcontains(config))
+ if (config.isEmpty() || !allBuildConfigs().contains(config))
config = "default";
return config;
@@ -732,13 +732,13 @@ bool AutoProjectPart::queueInternalLibDependenciesBuild(TargetItem* titem, TQStr
// These are the internal libraries
dependency.remove("$(top_builddir)/");
- if( !alreadyScheduledDeps.tqcontains(*l2it) )
+ if( !alreadyScheduledDeps.contains(*l2it) )
{
alreadyScheduledDeps << *l2it;
tdir = buildDirectory();
if (!tdir.endsWith("/") && !tdir.isEmpty())
tdir += "/";
- int pos = dependency.tqfindRev('/');
+ int pos = dependency.findRev('/');
if (pos == -1)
{
tname = dependency;
@@ -782,7 +782,7 @@ bool AutoProjectPart::queueInternalLibDependenciesBuild(TargetItem* titem, TQStr
tdir = buildDirectory();
if (!tdir.endsWith("/") && !tdir.isEmpty())
tdir += "/";
- int pos = dependency.tqfindRev('/');
+ int pos = dependency.findRev('/');
if (pos == -1)
{
tname = dependency;
@@ -1282,7 +1282,7 @@ void AutoProjectPart::slotBuildConfigAboutToShow()
{
TQStringList l = allBuildConfigs();
buildConfigAction->setItems(l);
- buildConfigAction->setCurrentItem(l.tqfindIndex(currentBuildConfig()));
+ buildConfigAction->setCurrentItem(l.findIndex(currentBuildConfig()));
}
void AutoProjectPart::restorePartialProjectSession ( const TQDomElement* el )
@@ -1356,7 +1356,7 @@ bool AutoProjectPart::isDirty()
TQString fileName = *it;
++it;
- TQMap<TQString, TQDateTime>::Iterator it = m_timestamp.tqfind( fileName );
+ TQMap<TQString, TQDateTime>::Iterator it = m_timestamp.find( fileName );
TQDateTime t = TQFileInfo( projectDirectory(), fileName ).lastModified();
if( it == m_timestamp.end() || *it != t ){
return true;
@@ -1386,7 +1386,7 @@ TQStringList recursiveATFind( const TQString &currDir, const TQString &baseDir )
kdDebug(9020) << "Dir " << currDir << endl;
TQStringList fileList;
- if( !currDir.tqcontains( "/..") && !currDir.tqcontains("/.") )
+ if( !currDir.contains( "/..") && !currDir.contains("/.") )
{
TQDir dir(currDir);
TQStringList dirList = dir.entryList(TQDir::Dirs );