Searched refs:Formatter (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/qt/
H A Dformatter.h24 class Formatter: public QObject class in inherits:QObject
30 Formatter( ) { } function in class:Formatter
31 virtual ~Formatter( ) { }
H A Dstats-dialog.cc88 myCurrentUp->setText( Formatter::sizeToString( current.uploadedBytes ) );
89 myCurrentDown->setText( Formatter::sizeToString( current.downloadedBytes ) );
90 myCurrentRatio->setText( Formatter::ratioToString( current.ratio ) );
91 myCurrentDuration->setText( Formatter::timeToString( current.secondsActive ) );
93 myTotalUp->setText( Formatter::sizeToString( total.uploadedBytes ) );
94 myTotalDown->setText( Formatter::sizeToString( total.downloadedBytes ) );
95 myTotalRatio->setText( Formatter::ratioToString( total.ratio ) );
96 myTotalDuration->setText( Formatter::timeToString( total.secondsActive ) );
H A Dformatter.cc32 QString Formatter::unitStrings[3][5];
35 Formatter :: initUnits( )
95 Formatter :: memToString( int64_t bytes )
109 Formatter :: sizeToString( int64_t bytes )
123 Formatter :: speedToString( const Speed& speed )
135 Formatter :: percentToString( double x )
142 Formatter :: ratioToString( double ratio )
149 Formatter :: timeToString( int seconds )
H A Dtorrent-delegate.cc87 .arg( Formatter::percentToString( tor.metadataPercentDone() * 100.0 ) );
94 str = tr( "%1 of %2 (%3%)" ).arg( Formatter::sizeToString( haveTotal ) )
95 .arg( Formatter::sizeToString( tor.sizeWhenDone( ) ) )
96 .arg( Formatter::percentToString( tor.percentDone( ) * 100.0 ) );
109 .arg( Formatter::sizeToString( haveTotal ) )
110 .arg( Formatter::sizeToString( tor.totalSize( ) ) )
111 .arg( Formatter::percentToString( tor.percentComplete( ) * 100.0 ) )
112 .arg( Formatter::sizeToString( tor.uploadedEver( ) ) )
113 .arg( Formatter::ratioToString( tor.ratio( ) ) )
114 .arg( Formatter
[all...]
H A Ddetails.cc264 return Formatter::timeToString ( seconds );
411 QString pct = Formatter::percentToString( d );
416 .arg( Formatter::sizeToString( haveVerified ) );
421 .arg( Formatter::sizeToString( haveVerified ) )
422 .arg( Formatter::sizeToString( sizeWhenDone ) )
428 .arg( Formatter::sizeToString( haveVerified + haveUnverified ) )
429 .arg( Formatter::sizeToString( sizeWhenDone ) )
431 .arg( Formatter::sizeToString( haveUnverified ) );
444 string = QString( "%1%" ).arg( Formatter::percentToString( ( 100.0 * available ) / sizeWhenDone ) );
458 const QString dstr = Formatter
[all...]
H A Dmainwin.cc440 const int minimumSpeedWidth = l->fontMetrics().width( Formatter::speedToString(Speed::fromKBps(999.99)));
483 a = myDlimitOnAction = sub->addAction( tr( "Limited at %1" ).arg( Formatter::speedToString( Speed::fromKBps( currentVal ) ) ) );
490 a = sub->addAction( Formatter::speedToString( Speed::fromKBps( i ) ) );
503 a = myUlimitOnAction = sub->addAction( tr( "Limited at %1" ).arg( Formatter::speedToString( Speed::fromKBps( currentVal ) ) ) );
510 a = sub->addAction( Formatter::speedToString( Speed::fromKBps( i ) ) );
525 a = myRatioOnAction = sub->addAction( tr( "Stop at Ratio (%1)" ).arg( Formatter::ratioToString( d ) ) );
532 a = sub->addAction( Formatter::ratioToString( i ) );
722 .arg( u.isZero() ? idle : Formatter::speedToString( u ) )
723 .arg( d.isZero() ? idle : Formatter::speedToString( d ) ) );
731 myUploadSpeedLabel->setText( Formatter
[all...]
H A Dmake-dialog.cc304 .arg( Formatter::sizeToString( myBuilder->totalSize ) )
307 .arg( Formatter::sizeToString( myBuilder->pieceSize ) );
H A Dtracker-delegate.cc125 return Formatter::timeToString ( seconds );
H A Dprefs-dialog.cc219 const QString speed_K_str = Formatter::unitStr( Formatter::SPEED, Formatter::KB );
H A Dapp.cc103 Formatter::initUnits( );
H A Dfile-tree.cc154 str = QString( name() + " (%1)" ).arg( Formatter::sizeToString( total ) );

Completed in 79 milliseconds