diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 93910780efc46524d0f2c6693784b3fa10d26985 (patch) | |
tree | e44cc42ad795bb8399c6558bf8af3887c966fd49 /kdat/Archive.cpp | |
parent | 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (diff) | |
download | tdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.tar.gz tdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/Archive.cpp')
-rw-r--r-- | kdat/Archive.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdat/Archive.cpp b/kdat/Archive.cpp index a6869ad..ad66dbd 100644 --- a/kdat/Archive.cpp +++ b/kdat/Archive.cpp @@ -289,40 +289,40 @@ File* Archive::addFile( int size, int mtime, int startRecord, int endRecord, con //path.remove(path.first()); path.remove(path.begin()); TQPtrListIterator<File> i( getChildren() ); - File* tqparent = 0; + File* parent = 0; for ( ; i.current() ; ++i ) { if ( i.current()->getName() == dir ) { - tqparent = i.current(); + parent = i.current(); break; } } - if ( tqparent == 0 ) { - tqparent = new File( 0, 0, 0, startRecord, endRecord, dir ); - addChild( tqparent ); + if ( parent == 0 ) { + parent = new File( 0, 0, 0, startRecord, endRecord, dir ); + addChild( parent ); } for ( TQStringList::Iterator j = path.begin(); j != path.end(); ++j ) { TQString dir = *j; - File* ptqparent = tqparent; - TQPtrListIterator<File> i( ptqparent->getChildren() ); - for ( tqparent = 0; i.current() ; ++i ) { + File* pparent = parent; + TQPtrListIterator<File> i( pparent->getChildren() ); + for ( parent = 0; i.current() ; ++i ) { if ( i.current()->getName() == dir ) { - tqparent = i.current(); + parent = i.current(); break; } } - if ( tqparent == 0 ) { - tqparent = new File( ptqparent, 0, 0, 0, 0, dir ); - ptqparent->addChild( tqparent ); + if ( parent == 0 ) { + parent = new File( pparent, 0, 0, 0, 0, dir ); + pparent->addChild( parent ); } } - file = new File( tqparent, size, mtime, startRecord, endRecord, fn ); - tqparent->addChild( file ); + file = new File( parent, size, mtime, startRecord, endRecord, fn ); + parent->addChild( file ); return file; } |