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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index f5aa0ff4..a21ba427 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -51,8 +51,8 @@ using namespace filetreeview;
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
-FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider )
- : KFileTreeView( parent, "filetreewidget" ), m_part( part ), m_rootBranch( 0 )
+FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *tqparent, KDevVCSFileInfoProvider *infoProvider )
+ : KFileTreeView( tqparent, "filetreewidget" ), m_part( part ), m_rootBranch( 0 )
{
kdDebug(9017) << "Requested FileTree for: " << projectDirectory() << endl;
if (versionControl() && infoProvider)
@@ -234,7 +234,7 @@ TQString FileTreeWidget::projectDirectory()
*/
bool FileTreeWidget::isInProject(const TQString &fileName) const
{
- return m_projectFiles.contains(fileName);
+ return m_projectFiles.tqcontains(fileName);
}
///////////////////////////////////////////////////////////////////////////////
@@ -262,10 +262,10 @@ void FileTreeWidget::addProjectFiles( TQStringList const & fileList, bool constr
continue;
kdDebug(9017) << "adding file: " << *it << endl;
const TQString file = projectDirectory() + "/" + ( *it );
- if ( !m_projectFiles.contains( file ) )
+ if ( !m_projectFiles.tqcontains( file ) )
{
// We got a new file to add to this project.
- // Ensure all the parent directories are part of the project set, too.
+ // Ensure all the tqparent directories are part of the project set, too.
TQStringList paths = TQStringList::split( "/", *it);
paths.pop_back();
while( !paths.isEmpty() )
@@ -273,10 +273,10 @@ void FileTreeWidget::addProjectFiles( TQStringList const & fileList, bool constr
// We are adding the directories from longest (the one containing our file),
// to the shortest, measured from root directory of our project.
// Whenever we find out that a directory is already recorded as part of our project,
- // we may stop adding, because its parent directories were already added -
+ // we may stop adding, because its tqparent directories were already added -
// in some previous addition.
TQString joinedPaths = paths.join("/");
- if( m_projectFiles.contains( joinedPaths ) )
+ if( m_projectFiles.tqcontains( joinedPaths ) )
break;
m_projectFiles.insert( projectDirectory() + "/" + joinedPaths, true );
paths.pop_back();