summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectlist.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
commit36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (patch)
tree629d3942958745660e36c30b0d6139af9459c0f8 /quanta/project/projectlist.cpp
parent929d7ae4f69d62b8f1f6d3506adf75f017753935 (diff)
downloadtdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.tar.gz
tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/project/projectlist.cpp')
-rw-r--r--quanta/project/projectlist.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/quanta/project/projectlist.cpp b/quanta/project/projectlist.cpp
index 26c3da8a..01416c41 100644
--- a/quanta/project/projectlist.cpp
+++ b/quanta/project/projectlist.cpp
@@ -72,7 +72,7 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL,
url = QExtFileInfo::toAbsolute(url, baseURL);
if ( el.nodeName() == "item" )
{
- if (excludeRx.exactMatch(path) || tqfind(url.url(-1)))
+ if (excludeRx.exactMatch(path) || find(url.url(-1)))
{
el.parentNode().removeChild(el);
modified = true;
@@ -106,7 +106,7 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL,
}
progressBar->advance(1);
}
- ProjectURL *proUrl = tqfind(baseURL);
+ ProjectURL *proUrl = find(baseURL);
if (!proUrl)
{
el = dom.createElement("item");
@@ -126,7 +126,7 @@ bool ProjectList::readFromXML(TQDomDocument &dom, const KURL &baseURL,
bool ProjectList::removeFromListAndXML(const KURL &url)
{
- ProjectURL *p = tqfind(url);
+ ProjectURL *p = find(url);
if (p) {
TQDomElement el = p->domElement;
el.parentNode().removeChild(el);
@@ -137,15 +137,15 @@ bool ProjectList::removeFromListAndXML(const KURL &url)
}
-bool ProjectList::tqcontains(const KURL &url) const
+bool ProjectList::contains(const KURL &url) const
{
- return ProjectUrlList::tqfind(url.url(-1));
+ return ProjectUrlList::find(url.url(-1));
}
-ProjectURL * ProjectList::tqfind(const KURL &url) const
+ProjectURL * ProjectList::find(const KURL &url) const
{
- return ProjectUrlList::tqfind(url.url(-1));
+ return ProjectUrlList::find(url.url(-1));
}
@@ -157,7 +157,7 @@ void ProjectList::insert(ProjectURL *url)
bool ProjectList::isFolder(const KURL &url) const
{
- ProjectURL *p = tqfind(url);
+ ProjectURL *p = find(url);
return ( p && url.url(-1) != (*p).url() );
}
@@ -168,9 +168,9 @@ void ProjectList::insert(const TQString & key, const ProjectURL * item)
}
-ProjectURL * ProjectList::tqfind ( const TQString & key ) const
+ProjectURL * ProjectList::find ( const TQString & key ) const
{
- return ProjectUrlList::tqfind(key);
+ return ProjectUrlList::find(key);
}
@@ -180,8 +180,8 @@ bool ProjectList::remove ( const TQString & key )
}
-void ProjectList::tqreplace(const TQString & key, const ProjectURL * item)
+void ProjectList::replace(const TQString & key, const ProjectURL * item)
{
- ProjectUrlList::tqreplace(key, item);
+ ProjectUrlList::replace(key, item);
}