summaryrefslogtreecommitdiffstats
path: root/libk3b/projects/datacd/k3bdataitem.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
commitdf8e67b86696f691708af8592d86282b09bab011 (patch)
treeca90d734c9011d457a42f0a7004a9507b2c2c1bd /libk3b/projects/datacd/k3bdataitem.cpp
parent33881ea4441221b1ca0789a72c4c7249d923a0df (diff)
downloadk3b-df8e67b86696f691708af8592d86282b09bab011.tar.gz
k3b-df8e67b86696f691708af8592d86282b09bab011.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/projects/datacd/k3bdataitem.cpp')
-rw-r--r--libk3b/projects/datacd/k3bdataitem.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libk3b/projects/datacd/k3bdataitem.cpp b/libk3b/projects/datacd/k3bdataitem.cpp
index b2df008..f5ce21d 100644
--- a/libk3b/projects/datacd/k3bdataitem.cpp
+++ b/libk3b/projects/datacd/k3bdataitem.cpp
@@ -29,7 +29,7 @@ public:
};
-K3bDataItem::K3bDataItem( K3bDataDoc* doc, K3bDataItem* tqparent, int flags )
+K3bDataItem::K3bDataItem( K3bDataDoc* doc, K3bDataItem* parent, int flags )
: m_bHideOnRockRidge(false),
m_bHideOnJoliet(false),
m_bRemoveable(true),
@@ -45,8 +45,8 @@ K3bDataItem::K3bDataItem( K3bDataDoc* doc, K3bDataItem* tqparent, int flags )
m_doc = doc;
m_bHideOnRockRidge = m_bHideOnJoliet = false;
- if( tqparent )
- m_parentDir = tqparent->getDirItem();
+ if( parent )
+ m_parentDir = parent->getDirItem();
else
m_parentDir = 0;
}
@@ -121,8 +121,8 @@ void K3bDataItem::setK3bName( const TQString& name ) {
return;
}
- if( tqparent() ) {
- K3bDataItem* item = tqparent()->find( name );
+ if( parent() ) {
+ K3bDataItem* item = parent()->find( name );
if( item && item != this ) {
kdDebug() << "(K3bDataItem) item with that name already exists." << endl;
return;
@@ -143,8 +143,8 @@ const TQString& K3bDataItem::k3bName() const
K3bDataItem* K3bDataItem::take()
{
- if( tqparent() )
- tqparent()->takeDataItem( this );
+ if( parent() )
+ parent()->takeDataItem( this );
return this;
}
@@ -153,7 +153,7 @@ K3bDataItem* K3bDataItem::take()
TQString K3bDataItem::k3bPath() const
{
if( !getParent() )
- return TQString(); // the root item is the only one not having a tqparent
+ return TQString(); // the root item is the only one not having a parent
else if( isDir() )
return getParent()->k3bPath() + k3bName() + "/";
else
@@ -164,7 +164,7 @@ TQString K3bDataItem::k3bPath() const
TQString K3bDataItem::writtenPath() const
{
if( !getParent() )
- return TQString(); // the root item is the only one not having a tqparent
+ return TQString(); // the root item is the only one not having a parent
else if( isDir() )
return getParent()->writtenPath() + writtenName() + "/";
else
@@ -175,7 +175,7 @@ TQString K3bDataItem::writtenPath() const
TQString K3bDataItem::iso9660Path() const
{
if( !getParent() )
- return TQString(); // the root item is the only one not having a tqparent
+ return TQString(); // the root item is the only one not having a parent
else if( isDir() )
return getParent()->iso9660Path() + iso9660Name() + "/";
else
@@ -232,7 +232,7 @@ bool K3bDataItem::hideOnJoliet() const
void K3bDataItem::setHideOnRockRidge( bool b )
{
// there is no use in changing the value if
- // it is already set by the tqparent
+ // it is already set by the parent
if( ( !getParent() || !getParent()->hideOnRockRidge() ) &&
b != m_bHideOnRockRidge ) {
m_bHideOnRockRidge = b;
@@ -245,7 +245,7 @@ void K3bDataItem::setHideOnRockRidge( bool b )
void K3bDataItem::setHideOnJoliet( bool b )
{
// there is no use in changing the value if
- // it is already set by the tqparent
+ // it is already set by the parent
if( ( !getParent() || !getParent()->hideOnJoliet() ) &&
b != m_bHideOnJoliet ) {
m_bHideOnJoliet = b;