summaryrefslogtreecommitdiffstats
path: root/parts/fileview/stdfiletreewidgetimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/fileview/stdfiletreewidgetimpl.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/fileview/stdfiletreewidgetimpl.cpp')
-rw-r--r--parts/fileview/stdfiletreewidgetimpl.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/parts/fileview/stdfiletreewidgetimpl.cpp b/parts/fileview/stdfiletreewidgetimpl.cpp
index 943f8850..3766973d 100644
--- a/parts/fileview/stdfiletreewidgetimpl.cpp
+++ b/parts/fileview/stdfiletreewidgetimpl.cpp
@@ -23,10 +23,10 @@
class StdFileTreeViewItem : public filetreeview::FileTreeViewItem
{
public:
- StdFileTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* item, KFileTreeBranch* branch, bool pf )
- : FileTreeViewItem( tqparent, item, branch, pf ) {}
- StdFileTreeViewItem( KFileTreeView* tqparent, KFileItem* item, KFileTreeBranch* branch )
- : FileTreeViewItem( tqparent, item, branch ) {}
+ StdFileTreeViewItem( KFileTreeViewItem* parent, KFileItem* item, KFileTreeBranch* branch, bool pf )
+ : FileTreeViewItem( parent, item, branch, pf ) {}
+ StdFileTreeViewItem( KFileTreeView* parent, KFileItem* item, KFileTreeBranch* branch )
+ : FileTreeViewItem( parent, item, branch ) {}
};
///////////////////////////////////////////////////////////////////////////////
@@ -39,22 +39,22 @@ public:
StdFileTreeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix )
: FileTreeBranchItem( view, url, name, pix ) {}
virtual ~StdFileTreeBranchItem() {}
- virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* fileItem );
+ virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem );
};
///////////////////////////////////////////////////////////////////////////////
-KFileTreeViewItem* StdFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* tqparent, KFileItem* fileItem )
+KFileTreeViewItem* StdFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem )
{
- if (!tqparent || !fileItem)
+ if (!parent || !fileItem)
return 0;
- FileTreeWidget *lv = static_cast<StdFileTreeViewItem*>( tqparent )->listView();
+ FileTreeWidget *lv = static_cast<StdFileTreeViewItem*>( parent )->listView();
const KURL fileURL = fileItem->url();
const bool isDirectory = lv->isInProject( fileURL.path() );
- return new StdFileTreeViewItem( tqparent, fileItem, this, isDirectory );
+ return new StdFileTreeViewItem( parent, fileItem, this, isDirectory );
}
///////////////////////////////////////////////////////////////////////////////
@@ -74,14 +74,14 @@ public:
// class StdFileTreeWidgetImpl
///////////////////////////////////////////////////////////////////////////////
-StdFileTreeWidgetImpl::StdFileTreeWidgetImpl( FileTreeWidget *tqparent )
- : FileTreeViewWidgetImpl( tqparent, "stdfiletreewidgetimpl" )
+StdFileTreeWidgetImpl::StdFileTreeWidgetImpl( FileTreeWidget *parent )
+ : FileTreeViewWidgetImpl( parent, "stdfiletreewidgetimpl" )
{
kdDebug(9017) << "StdFileTreeWidgetImpl::StdFileTreeWidgetImpl()" << endl;
setBranchItemFactory( new StdBranchItemFactory );
- tqparent->addColumn( TQString() );
+ parent->addColumn( TQString() );
header()->hide();
}