summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/projecttreeview.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/treeviews/projecttreeview.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/treeviews/projecttreeview.cpp')
-rw-r--r--quanta/treeviews/projecttreeview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/quanta/treeviews/projecttreeview.cpp b/quanta/treeviews/projecttreeview.cpp
index 21c3f345..8508b452 100644
--- a/quanta/treeviews/projecttreeview.cpp
+++ b/quanta/treeviews/projecttreeview.cpp
@@ -90,7 +90,7 @@ KFileTreeViewItem* ProjectTreeBranch::createTreeViewItem(KFileTreeViewItem *tqpa
// we assume there are childs
tvi->setExpandable(tvi->isDir());
if (urlList) {
- tvi->setVisible(urlList->tqcontains(fileItem->url())); // only listelements
+ tvi->setVisible(urlList->contains(fileItem->url())); // only listelements
}
}
}
@@ -261,7 +261,7 @@ void ProjectTreeView::slotMenu(KListView *listView, TQListViewItem *item, const
m_fileMenu->popup(point);
} else
{
- if (m_documentFolderList.tqcontains(url))
+ if (m_documentFolderList.contains(url))
m_folderMenu->setItemChecked(m_setDocumentRootId, true);
else
m_folderMenu->setItemChecked(m_setDocumentRootId, false);
@@ -345,7 +345,7 @@ void ProjectTreeView::slotReloadTree( ProjectList *fileList, bool buildNewTree,
for ( ; iter.current(); ++iter )
{
item = dynamic_cast <KFileTreeViewItem*> (iter.current());
- item->setVisible(m_projectFiles->tqcontains(item->url()) || item == rootItem);
+ item->setVisible(m_projectFiles->contains(item->url()) || item == rootItem);
}
rootItem->setEnabled(true);
}
@@ -525,7 +525,7 @@ void ProjectTreeView::slotAlwaysUpload()
KURL url = currentURL();
if (kftvi->isDir())
url.adjustPath(+1);
- if (m_projectFiles->tqcontains(url) || url == m_projectBaseURL)
+ if (m_projectFiles->contains(url) || url == m_projectBaseURL)
{
emit changeUploadtqStatus(url, ProjectURL::AlwaysUpload);
}
@@ -539,7 +539,7 @@ void ProjectTreeView::slotNeverUpload()
KURL url = currentURL();
if (kftvi->isDir())
url.adjustPath(+1);
- if (m_projectFiles->tqcontains(url) || url == m_projectBaseURL)
+ if (m_projectFiles->contains(url) || url == m_projectBaseURL)
{
emit changeUploadtqStatus(url, ProjectURL::NeverUpload);
}
@@ -553,7 +553,7 @@ void ProjectTreeView::slotConfirmUpload()
KURL url = currentURL();
if (kftvi->isDir())
url.adjustPath(+1);
- if (m_projectFiles->tqcontains(url) || url == m_projectBaseURL)
+ if (m_projectFiles->contains(url) || url == m_projectBaseURL)
{
emit changeUploadtqStatus(url, ProjectURL::ConfirmUpload);
}
@@ -570,7 +570,7 @@ void ProjectTreeView::slotUploadMenuAboutToShow()
KURL url = currentURL();
if (kftvi->isDir())
url.adjustPath(+1);
- ProjectURL *proUrl = m_projectFiles->tqfind( url );
+ ProjectURL *proUrl = m_projectFiles->find( url );
if (proUrl)
{
switch (proUrl->uploadtqStatus)
@@ -603,7 +603,7 @@ void ProjectTreeView::slotChangeDocumentFoldertqStatus()
KURL url = currentURL();
if (kftvi->isDir())
url.adjustPath(+1);
- if (!m_documentFolderList.tqcontains(currentURL()))
+ if (!m_documentFolderList.contains(currentURL()))
{
m_documentFolderList.append(currentURL());
emit changeUploadtqStatus(url, ProjectURL::AlwaysUpload);
@@ -618,7 +618,7 @@ void ProjectTreeView::slotChangeDocumentFoldertqStatus()
bool ProjectTreeView::isDocumentFolder(const KURL &url)
{
- return (m_documentFolderList.tqcontains(url) > 0);
+ return (m_documentFolderList.contains(url) > 0);
}