~osomon/ubuntu-ui-toolkit/downloadmanager

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/plugin/downloadmanager.h

  • Committer: Olivier Tilloy
  • Date: 2013-09-04 17:28:31 UTC
  • Revision ID: olivier.tilloy@canonical.com-20130904172831-9k201alkkfjhwlkf
Partial implementation of missing methods in DownloadManager.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    int rowCount(const QModelIndex& parent=QModelIndex()) const;
58
58
    QVariant data(const QModelIndex& index, int role) const;
59
59
 
60
 
    const DownloadRequest& requestDownload(const QUrl& uri);
61
 
    const DownloadRequest& getDownloadRequest(const int id) const;
 
60
    DownloadRequest* requestDownload(const QUrl& uri);
 
61
    DownloadRequest* getDownloadRequest(const int id) const;
62
62
    void start(const int id);
63
63
    void pause(const int id);
64
64
    void resume(const int id);