Changeset 8192 for trunk/qt/torrent.h


Ignore:
Timestamp:
Apr 9, 2009, 10:42:55 PM (13 years ago)
Author:
charles
Message:

(trunk qt,gtk) include torrents-being-verified in the "active torrents" filter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/torrent.h

    r8188 r8192  
    272272        tr_torrent_activity getActivity( ) const { return (tr_torrent_activity) getInt( ACTIVITY ); }
    273273        bool isPaused( ) const { return getActivity( ) == TR_STATUS_STOPPED; }
    274         bool isChecking( ) const { return getActivity( ) == TR_STATUS_CHECK || getActivity( ) == TR_STATUS_CHECK_WAIT; }
     274        bool isVerifying( ) const { return getActivity( ) == TR_STATUS_CHECK; }
    275275        bool isDownloading( ) const { return getActivity( ) == TR_STATUS_DOWNLOAD; }
     276        bool isReadyToTransfer( ) const { return getActivity()==TR_STATUS_DOWNLOAD || getActivity()==TR_STATUS_SEED; }
    276277        void notifyComplete( ) const;
    277278
Note: See TracChangeset for help on using the changeset viewer.