summaryrefslogtreecommitdiffstats
path: root/parts/fileview/filetreewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileview/filetreewidget.cpp')
-rw-r--r--parts/fileview/filetreewidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index a21ba427..958e756e 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -234,7 +234,7 @@ TQString FileTreeWidget::projectDirectory()
*/
bool FileTreeWidget::isInProject(const TQString &fileName) const
{
- return m_projectFiles.tqcontains(fileName);
+ return m_projectFiles.contains(fileName);
}
///////////////////////////////////////////////////////////////////////////////
@@ -262,7 +262,7 @@ void FileTreeWidget::addProjectFiles( TQStringList const & fileList, bool constr
continue;
kdDebug(9017) << "adding file: " << *it << endl;
const TQString file = projectDirectory() + "/" + ( *it );
- if ( !m_projectFiles.tqcontains( file ) )
+ if ( !m_projectFiles.contains( file ) )
{
// We got a new file to add to this project.
// Ensure all the tqparent directories are part of the project set, too.
@@ -276,7 +276,7 @@ void FileTreeWidget::addProjectFiles( TQStringList const & fileList, bool constr
// we may stop adding, because its tqparent directories were already added -
// in some previous addition.
TQString joinedPaths = paths.join("/");
- if( m_projectFiles.tqcontains( joinedPaths ) )
+ if( m_projectFiles.contains( joinedPaths ) )
break;
m_projectFiles.insert( projectDirectory() + "/" + joinedPaths, true );
paths.pop_back();