From 5f20b2e679037af4b18ac901bdf78a08e5c0da39 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:39 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/part/radialMap/segmentTip.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/part/radialMap/segmentTip.cpp') 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(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(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(); -- cgit v1.2.1