Lines Matching defs:str
524 const char * str;
532 if( tr_bencDictFindStr( child, "name", &str ) )
533 file.filename = QString::fromUtf8( str );
561 const char * str;
566 if( tr_bencDictFindStr( child, "announce", &str )) {
567 dynamic_cast<MyApp*>(QApplication::instance())->favicons.add( QUrl(QString::fromUtf8(str)) );
568 list.append( QString::fromUtf8( str ) );
585 const char * str;
587 if( tr_bencDictFindStr( child, "announce", &str ) ) {
588 trackerStat.announce = QString::fromUtf8( str );
599 if( tr_bencDictFindStr( child, "host", &str ) )
600 trackerStat.host = QString::fromUtf8( str );
607 if( tr_bencDictFindStr( child, "lastAnnounceResult", &str ) )
608 trackerStat.lastAnnounceResult = QString::fromUtf8(str);
617 if( tr_bencDictFindStr( child, "lastScrapeResult", &str ) )
618 trackerStat.lastScrapeResult = QString::fromUtf8( str );
654 const char * str;
656 if( tr_bencDictFindStr( child, "address", &str ) )
657 peer.address = QString::fromUtf8( str );
658 if( tr_bencDictFindStr( child, "clientName", &str ) )
659 peer.clientName = QString::fromUtf8( str );
664 if( tr_bencDictFindStr( child, "flagStr", &str ) )
665 peer.flagStr = QString::fromUtf8( str );
702 QString str;
706 case TR_STATUS_STOPPED: str = isFinished() ? tr( "Finished" ): tr( "Paused" ); break;
707 case TR_STATUS_CHECK_WAIT: str = tr( "Queued for verification" ); break;
708 case TR_STATUS_CHECK: str = tr( "Verifying local data" ); break;
709 case TR_STATUS_DOWNLOAD_WAIT: str = tr( "Queued for download" ); break;
710 case TR_STATUS_DOWNLOAD: str = tr( "Downloading" ); break;
711 case TR_STATUS_SEED_WAIT: str = tr( "Queued for seeding" ); break;
712 case TR_STATUS_SEED: str = tr( "Seeding" ); break;
715 return str;