diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:04 -0600 |
commit | a327682a10bf292b58ea4f2b5d47509f3150a5c6 (patch) | |
tree | 0d195090492524b7a80f499453d2d29f024a1ff6 /kdirstat/kdirtreeiterators.cpp | |
parent | c71ade2e373d85acf1357494b42202293dd771d2 (diff) | |
download | kdirstat-a327682a10bf292b58ea4f2b5d47509f3150a5c6.tar.gz kdirstat-a327682a10bf292b58ea4f2b5d47509f3150a5c6.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c71ade2e373d85acf1357494b42202293dd771d2.
Diffstat (limited to 'kdirstat/kdirtreeiterators.cpp')
-rw-r--r-- | kdirstat/kdirtreeiterators.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kdirstat/kdirtreeiterators.cpp b/kdirstat/kdirtreeiterators.cpp index aac4a90..4508e8f 100644 --- a/kdirstat/kdirtreeiterators.cpp +++ b/kdirstat/kdirtreeiterators.cpp @@ -60,7 +60,7 @@ void KFileInfoIterator::next() { if ( ! _directChildrenProcessed ) { - // Process direct children + // Process direct tqchildren _current = _current ? _current->next() : _parent->firstChild(); @@ -98,7 +98,7 @@ void KFileInfoIterator::next() { if ( _policy == KDotEntryTransparent ) { - // Process dot entry children + // Process dot entry tqchildren _current = _current ? _current->next() : @@ -129,7 +129,7 @@ KFileInfoIterator::count() { int cnt = 0; - // Count direct children + // Count direct tqchildren KFileInfo *child = _parent->firstChild(); @@ -144,7 +144,7 @@ KFileInfoIterator::count() switch ( _policy ) { - case KDotEntryTransparent: // Count the dot entry's children as well. + case KDotEntryTransparent: // Count the dot entry's tqchildren as well. if ( _parent->dotEntry() ) { child = _parent->dotEntry()->firstChild(); @@ -183,7 +183,7 @@ KFileInfoSortedIterator::KFileInfoSortedIterator( KFileInfo * parent, _sortOrder = sortOrder; _ascending = ascending; _initComplete = false; - _childrenList = 0; + _tqchildrenList = 0; _current = 0; } @@ -191,8 +191,8 @@ KFileInfoSortedIterator::KFileInfoSortedIterator( KFileInfo * parent, void KFileInfoSortedIterator::delayedInit() { - _childrenList = new KFileInfoList( _sortOrder, _ascending ); - CHECK_PTR( _childrenList ); + _tqchildrenList = new KFileInfoList( _sortOrder, _ascending ); + CHECK_PTR( _tqchildrenList ); if ( _sortOrder == KSortByName ) { @@ -203,45 +203,45 @@ KFileInfoSortedIterator::delayedInit() makeChildrenList(); } - _current = _childrenList->first(); + _current = _tqchildrenList->first(); _initComplete = true; } KFileInfoSortedIterator::~KFileInfoSortedIterator() { - if ( _childrenList ) - delete _childrenList; + if ( _tqchildrenList ) + delete _tqchildrenList; } void KFileInfoSortedIterator::makeDefaultOrderChildrenList() { - // Fill children list with direct children + // Fill tqchildren list with direct tqchildren KFileInfo *child = _parent->firstChild(); while ( child ) { - _childrenList->append( child ); + _tqchildrenList->append( child ); child = child->next(); } - _childrenList->sort(); + _tqchildrenList->sort(); if ( _policy == KDotEntryAsSubDir && _parent->dotEntry() ) { - // Append dot entry to the children list + // Append dot entry to the tqchildren list - _childrenList->append( _parent->dotEntry() ); + _tqchildrenList->append( _parent->dotEntry() ); } - // Append the dot entry's children to the children list + // Append the dot entry's tqchildren to the tqchildren list if ( _policy == KDotEntryTransparent && _parent->dotEntry() ) { - // Create a temporary list for the dot entry children + // Create a temporary list for the dot entry tqchildren KFileInfoList dotEntryChildrenList( _sortOrder, _ascending ); child = _parent->dotEntry()->firstChild(); @@ -255,13 +255,13 @@ void KFileInfoSortedIterator::makeDefaultOrderChildrenList() dotEntryChildrenList.sort(); - // Now append all of this dot entry children list to the children list + // Now append all of this dot entry tqchildren list to the tqchildren list child = dotEntryChildrenList.first(); while ( child ) { - _childrenList->append( child ); + _tqchildrenList->append( child ); child = dotEntryChildrenList.next(); } } @@ -275,11 +275,11 @@ KFileInfoSortedIterator::makeChildrenList() while ( *it ) { - _childrenList->append( *it ); + _tqchildrenList->append( *it ); ++it; } - _childrenList->sort(); + _tqchildrenList->sort(); } @@ -298,7 +298,7 @@ void KFileInfoSortedIterator::next() if ( ! _initComplete ) delayedInit(); - _current = _childrenList->next(); + _current = _tqchildrenList->next(); } @@ -334,12 +334,12 @@ KFileInfoSortedBySizeIterator::makeChildrenList() while ( *it ) { if ( (*it)->totalSize() >= _minSize ) - _childrenList->append( *it ); + _tqchildrenList->append( *it ); ++it; } - _childrenList->sort(); + _tqchildrenList->sort(); } |