summaryrefslogtreecommitdiffstats
path: root/src/part/radialMap/segmentTip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:39 -0600
commit5f20b2e679037af4b18ac901bdf78a08e5c0da39 (patch)
tree85503439e6090826541332cbdd806bd7da85312a /src/part/radialMap/segmentTip.cpp
parent8752fee06412044074a3e96e74d1fbe28fcd41ba (diff)
downloadfilelight-5f20b2e679037af4b18ac901bdf78a08e5c0da39.tar.gz
filelight-5f20b2e679037af4b18ac901bdf78a08e5c0da39.zip
Rename a number of old tq methods that are no longer tq specific
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 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();