Changeset 12607 for trunk/qt/session.cc


Ignore:
Timestamp:
Aug 1, 2011, 10:24:24 PM (11 years ago)
Author:
jordan
Message:

(trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/session.cc

    r12461 r12607  
    152152        case Prefs :: DHT_ENABLED:
    153153        case Prefs :: DOWNLOAD_DIR:
     154        case Prefs :: DOWNLOAD_QUEUE_ENABLED:
     155        case Prefs :: DOWNLOAD_QUEUE_SIZE:
    154156        case Prefs :: DSPEED:
    155157        case Prefs :: DSPEED_ENABLED:
     
    537539}
    538540
    539 void
    540 Session :: pauseTorrents( const QSet<int>& ids )
    541 {
    542     sendTorrentRequest( "torrent-stop", ids );
    543 }
    544 
    545 void
    546 Session :: startTorrents( const QSet<int>& ids )
    547 {
    548     sendTorrentRequest( "torrent-start", ids );
    549 }
     541void Session :: pauseTorrents    ( const QSet<int>& ids ) { sendTorrentRequest( "torrent-stop", ids ); }
     542void Session :: startTorrents    ( const QSet<int>& ids ) { sendTorrentRequest( "torrent-start", ids ); }
     543void Session :: startTorrentsNow ( const QSet<int>& ids ) { sendTorrentRequest( "torrent-start-now", ids ); }
     544void Session :: queueMoveTop     ( const QSet<int>& ids ) { sendTorrentRequest( "queue-move-top", ids ); }
     545void Session :: queueMoveUp      ( const QSet<int>& ids ) { sendTorrentRequest( "queue-move-up", ids ); }
     546void Session :: queueMoveDown    ( const QSet<int>& ids ) { sendTorrentRequest( "queue-move-down", ids ); }
     547void Session :: queueMoveBottom  ( const QSet<int>& ids ) { sendTorrentRequest( "queue-move-bottom", ids ); }
    550548
    551549void
Note: See TracChangeset for help on using the changeset viewer.