Lines Matching refs:getInt
223 int getInt ( int key ) const;
241 int getBandwidthPriority( ) const { return getInt( BANDWIDTH_PRIORITY ); }
242 int id( ) const { return getInt( ID ); }
265 int pieceCount( ) const { return getInt( PIECE_COUNT ); }
278 int getETA( ) const { return getInt( ETA ); }
285 int peersWeAreDownloadingFrom( ) const { return getInt( PEERS_SENDING_TO_US ); }
286 int webseedsWeAreDownloadingFrom( ) const { return getInt( WEBSEEDS_SENDING_TO_US ); }
287 int peersWeAreUploadingTo( ) const { return getInt( PEERS_GETTING_FROM_US ); }
289 int connectedPeers( ) const { return getInt( PEERS_CONNECTED ); }
290 int connectedPeersAndWebseeds( ) const { return connectedPeers( ) + getInt( WEBSEEDS_SENDING_TO_US ); }
296 Speed uploadLimit( ) const { return Speed::fromKBps( getInt( UP_LIMIT ) ); }
297 Speed downloadLimit( ) const { return Speed::fromKBps( getInt( DOWN_LIMIT ) ); }
301 int peerLimit( ) const { return getInt( PEER_LIMIT ); }
303 tr_ratiolimit seedRatioMode( ) const { return (tr_ratiolimit) getInt( SEED_RATIO_MODE ); }
304 int seedIdleLimit( ) const { return getInt( SEED_IDLE_LIMIT ); }
305 tr_idlelimit seedIdleMode( ) const { return (tr_idlelimit) getInt( SEED_IDLE_MODE ); }
310 int queuePosition( ) const { return getInt( QUEUE_POSITION ); }
315 tr_torrent_activity getActivity( ) const { return (tr_torrent_activity) getInt( ACTIVITY ); }