summaryrefslogtreecommitdiffstats
path: root/kdirstat/ktreemaptile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:19 -0600
commitc71ade2e373d85acf1357494b42202293dd771d2 (patch)
tree76c8495d353757024fe915f12a1c7131403d9b5a /kdirstat/ktreemaptile.cpp
parentc3b1da745f458ff94caeca961a7d432fa6ae703b (diff)
downloadkdirstat-c71ade2e373d85acf1357494b42202293dd771d2.tar.gz
kdirstat-c71ade2e373d85acf1357494b42202293dd771d2.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdirstat/ktreemaptile.cpp')
-rw-r--r--kdirstat/ktreemaptile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdirstat/ktreemaptile.cpp b/kdirstat/ktreemaptile.cpp
index 5826eb0..6efed77 100644
--- a/kdirstat/ktreemaptile.cpp
+++ b/kdirstat/ktreemaptile.cpp
@@ -79,7 +79,7 @@ KTreemapTile::init()
// Set up height (z coordinate) - one level higher than the parent so this
// will be closer to the foreground.
//
- // Note that this must happen before any tqchildren are created.
+ // Note that this must happen before any children are created.
// I found that out the hard way. ;-)
setZ( _parentTile ? ( _parentTile->z() + 1.0 ) : 0.0 );
@@ -184,12 +184,12 @@ KTreemapTile::createSquarifiedChildren( const TQRect & rect )
#endif
KFileInfoSortedBySizeIterator it( _orig, minSize, KDotEntryAsSubDir );
- TQRect tqchildrenRect = rect;
+ TQRect childrenRect = rect;
while ( *it )
{
- KFileInfoList row = squarify( tqchildrenRect, scale, it );
- tqchildrenRect = layoutRow( tqchildrenRect, scale, row );
+ KFileInfoList row = squarify( childrenRect, scale, it );
+ childrenRect = layoutRow( childrenRect, scale, row );
}
}
@@ -287,7 +287,7 @@ KTreemapTile::layoutRow( const TQRect & rect,
return rect;
- // Set up a cushion surface for this tqlayout row:
+ // Set up a cushion surface for this layout row:
// Add another ridge perpendicular to the row's direction
// that optically groups this row's tiles together.