~ubuntu-branches/ubuntu/maverick/amarok/maverick-backports

« back to all changes in this revision

Viewing changes to src/playlist/proxymodels/AbstractModel.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-03-03 10:20:39 UTC
  • mfrom: (126.1.8 natty)
  • Revision ID: james.westby@ubuntu.com-20110303102039-a408rug513n4qbin
Tags: 2:2.4.0-0ubuntu4~maverick1
* Source backprt to maverick (LP: #728447)
  - Drop version requirement on libindicate-qt-dev build-dep

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
    virtual void setAllUnplayed() = 0;
239
239
 
240
240
    /**
241
 
     * Adds a row to the playlist queue.
242
 
     * @param row the row to add.
 
241
     * Emit the queueChanged() signal. Call this after changing the queue in PlaylistActions.
243
242
     */
244
 
    virtual void setRowQueued( int row ) = 0;
 
243
    virtual void emitQueueChanged() = 0;
245
244
 
246
245
    /**
247
 
     * Removes a row from the playlist queue.
248
 
     * @param row the row to remove.
 
246
     * Return position of @p row in the playlist queue, zero if not queued.
249
247
     */
250
 
    virtual void setRowDequeued( int row ) = 0;
 
248
    virtual int queuePositionOfRow( int row ) = 0;
251
249
 
252
250
    /**
253
251
     * Decides if FilterProxy or SearchProxy should be used.