summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/projecttreeview.cpp
diff options
context:
space:
mode:
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);
}