summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/filelistviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnfrontend/filelistviewitem.cpp')
-rw-r--r--src/svnfrontend/filelistviewitem.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/svnfrontend/filelistviewitem.cpp b/src/svnfrontend/filelistviewitem.cpp
index ba7ce12..4747bfd 100644
--- a/src/svnfrontend/filelistviewitem.cpp
+++ b/src/svnfrontend/filelistviewitem.cpp
@@ -46,21 +46,21 @@ const int FileListViewItem::COL_IS_LOCKED = 5;
//const int FileListViewItem::COL_CURRENT_REV = 5;
-FileListViewItem::FileListViewItem(kdesvnfilelist*_tqparent,const svn::StatusPtr&_stat)
- : KListViewItem(_tqparent),SvnItem(_stat),
+FileListViewItem::FileListViewItem(kdesvnfilelist*_parent,const svn::StatusPtr&_stat)
+ : KListViewItem(_parent),SvnItem(_stat),
sortChar(0),
- m_Ksvnfilelist(_tqparent)
+ m_Ksvnfilelist(_parent)
{
- m_SvnWrapper = _tqparent->m_SvnWrapper;
+ m_SvnWrapper = _parent->m_SvnWrapper;
init();
}
-FileListViewItem::FileListViewItem(kdesvnfilelist*_tqparent,FileListViewItem*_parentItem,const svn::StatusPtr&_stat)
+FileListViewItem::FileListViewItem(kdesvnfilelist*_parent,FileListViewItem*_parentItem,const svn::StatusPtr&_stat)
: KListViewItem(_parentItem),SvnItem(_stat),
sortChar(0),
- m_Ksvnfilelist(_tqparent)
+ m_Ksvnfilelist(_parent)
{
- m_SvnWrapper = _tqparent->m_SvnWrapper;
+ m_SvnWrapper = _parent->m_SvnWrapper;
init();
}
@@ -130,7 +130,7 @@ void FileListViewItem::refreshtqStatus(bool childs,TQPtrList<SvnItem>*exclude,bo
if (!isValid()) {
return;
}
- it = static_cast<FileListViewItem*>(tqparent());
+ it = static_cast<FileListViewItem*>(parent());
if (!childs) {
if (it && (!exclude || exclude->find(it)==-1)) {
it->refreshtqStatus(false,exclude);
@@ -174,7 +174,7 @@ bool FileListViewItem::isParent(TQListViewItem*which)
{
if (!which) return false;
TQListViewItem*item = this;
- while ( (item=item->tqparent())) {
+ while ( (item=item->parent())) {
if (item==which) {
return true;
}
@@ -235,7 +235,7 @@ void FileListViewItem::updatetqStatus(const svn::StatusPtr&s)
SvnItem* FileListViewItem::getParentItem()const
{
- return static_cast<FileListViewItem*>(tqparent());
+ return static_cast<FileListViewItem*>(parent());
}
/*!
\fn FileListViewItem::getParentDir()const