diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:29 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-07-05 09:19:56 +0200 |
commit | 77dd1aa464dc84178cfdc13f4aa10a2c0e9c1d16 (patch) | |
tree | 420ef803313a8ba2f30d7f9948d1d46672b6c900 /src/part/radialMap/segmentTip.cpp | |
parent | a659b8d7f9dab069ef8549c22a86c0a0748980eb (diff) | |
download | filelight-77dd1aa464dc84178cfdc13f4aa10a2c0e9c1d16.tar.gz filelight-77dd1aa464dc84178cfdc13f4aa10a2c0e9c1d16.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit d96d16a5d7133f94b2006b78d1e100c0dba81d3b)
Diffstat (limited to 'src/part/radialMap/segmentTip.cpp')
-rw-r--r-- | src/part/radialMap/segmentTip.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/part/radialMap/segmentTip.cpp b/src/part/radialMap/segmentTip.cpp index 9a87d68..3fb5d34 100644 --- a/src/part/radialMap/segmentTip.cpp +++ b/src/part/radialMap/segmentTip.cpp @@ -113,7 +113,7 @@ SegmentTip::updateTip( const File* const file, const Directory* const root ) uint maxw = 0; uint h = fontMetrics().height()*2 + 2*MARGIN; - if( pc > 0 ) s2 += TQString( " (%1%)" ).tqarg( loc->formatNumber( pc, 0 ) ); + if( pc > 0 ) s2 += TQString( " (%1%)" ).arg( loc->formatNumber( pc, 0 ) ); m_text = s1; m_text += '\n'; @@ -121,11 +121,11 @@ SegmentTip::updateTip( const File* const file, const Directory* const root ) if( file->isDirectory() ) { - double files = static_cast<const Directory*>(file)->tqchildren(); - const uint pc = uint((100 * files) / (double)root->tqchildren()); - TQString s3 = i18n( "Files: %1" ).tqarg( loc->formatNumber( files, 0 ) ); + double files = static_cast<const Directory*>(file)->children(); + const uint pc = uint((100 * files) / (double)root->children()); + TQString s3 = i18n( "Files: %1" ).arg( loc->formatNumber( files, 0 ) ); - if( pc > 0 ) s3 += TQString( " (%1%)" ).tqarg( loc->formatNumber( pc, 0 ) ); + if( pc > 0 ) s3 += TQString( " (%1%)" ).arg( loc->formatNumber( pc, 0 ) ); maxw = fontMetrics().width( s3 ); h += fontMetrics().height(); |