summaryrefslogtreecommitdiffstats
path: root/src/part/radialMap/segmentTip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:44 -0600
commit9b21afd056f51a1dba015292a5472a146de967bd (patch)
tree0c642c457dea43eb9af17b865bad4dbc43f9fc57 /src/part/radialMap/segmentTip.cpp
parent5f20b2e679037af4b18ac901bdf78a08e5c0da39 (diff)
downloadfilelight-9b21afd056f51a1dba015292a5472a146de967bd.tar.gz
filelight-9b21afd056f51a1dba015292a5472a146de967bd.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 5f20b2e679037af4b18ac901bdf78a08e5c0da39.
Diffstat (limited to 'src/part/radialMap/segmentTip.cpp')
-rw-r--r--src/part/radialMap/segmentTip.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/part/radialMap/segmentTip.cpp b/src/part/radialMap/segmentTip.cpp
index 3fb5d34..9a87d68 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%)" ).arg( loc->formatNumber( pc, 0 ) );
+ if( pc > 0 ) s2 += TQString( " (%1%)" ).tqarg( 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)->children();
- const uint pc = uint((100 * files) / (double)root->children());
- TQString s3 = i18n( "Files: %1" ).arg( loc->formatNumber( files, 0 ) );
+ 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 ) );
- if( pc > 0 ) s3 += TQString( " (%1%)" ).arg( loc->formatNumber( pc, 0 ) );
+ if( pc > 0 ) s3 += TQString( " (%1%)" ).tqarg( loc->formatNumber( pc, 0 ) );
maxw = fontMetrics().width( s3 );
h += fontMetrics().height();