summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview_items.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
commit22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch)
treebabc4a761925023e16fa94633959f35d1c251887 /cervisia/updateview_items.cpp
parent0813b39aed2cf4c84157a22c4c9594336d93d412 (diff)
downloadtdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz
tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/updateview_items.cpp')
-rw-r--r--cervisia/updateview_items.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/cervisia/updateview_items.cpp b/cervisia/updateview_items.cpp
index a29ca153..4e07c1ab 100644
--- a/cervisia/updateview_items.cpp
+++ b/cervisia/updateview_items.cpp
@@ -51,10 +51,10 @@ TQString UpdateItem::dirPath() const
{
TQString path;
- const UpdateItem* item = static_cast<UpdateItem*>(tqparent());
+ const UpdateItem* item = static_cast<UpdateItem*>(parent());
while (item)
{
- const UpdateItem* parentItem = static_cast<UpdateItem*>(item->tqparent());
+ const UpdateItem* parentItem = static_cast<UpdateItem*>(item->parent());
if (parentItem)
{
path.prepend(item->m_entry.m_name + TQDir::separator());
@@ -70,7 +70,7 @@ TQString UpdateItem::dirPath() const
TQString UpdateItem::filePath() const
{
// the filePath of the root item is '.'
- return tqparent() ? dirPath() + m_entry.m_name : TQChar('.');
+ return parent() ? dirPath() + m_entry.m_name : TQChar('.');
}
@@ -79,9 +79,9 @@ TQString UpdateItem::filePath() const
// ------------------------------------------------------------------------------
-UpdateDirItem::UpdateDirItem(UpdateDirItem* tqparent,
+UpdateDirItem::UpdateDirItem(UpdateDirItem* parent,
const Entry& entry)
- : UpdateItem(tqparent, entry),
+ : UpdateItem(parent, entry),
m_opened(false)
{
setExpandable(true);
@@ -89,9 +89,9 @@ UpdateDirItem::UpdateDirItem(UpdateDirItem* tqparent,
}
-UpdateDirItem::UpdateDirItem(UpdateView* tqparent,
+UpdateDirItem::UpdateDirItem(UpdateView* parent,
const Entry& entry)
- : UpdateItem(tqparent, entry),
+ : UpdateItem(parent, entry),
m_opened(false)
{
setExpandable(true);
@@ -494,8 +494,8 @@ TQString UpdateDirItem::text(int column) const
// ------------------------------------------------------------------------------
-UpdateFileItem::UpdateFileItem(UpdateDirItem* tqparent, const Entry& entry)
- : UpdateItem(tqparent, entry),
+UpdateFileItem::UpdateFileItem(UpdateDirItem* parent, const Entry& entry)
+ : UpdateItem(parent, entry),
m_undefined(false)
{
}