X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgui%2FDownloadView.h;h=cb300ba4c63dfbe026513cbd5cb221163481cd01;hb=d3d85653bf84dadcf6c2890cc2ddf9f629ee7619;hp=6fadb922316c761e7357d00c86202b09d2a46df7;hpb=f576091800144d69317250a69d40c711505a4f34;p=qtrapids diff --git a/src/gui/DownloadView.h b/src/gui/DownloadView.h index 6fadb92..cb300ba 100644 --- a/src/gui/DownloadView.h +++ b/src/gui/DownloadView.h @@ -43,10 +43,10 @@ Q_OBJECT ~DownloadView(); - void newItem(QTorrentHandle handle); - void updateItem(QTorrentHandle handle); - QTorrentHandle removeSelected(); - void removeItem(QTorrentHandle handle); + void newItem(qtrapids::QTorrentHandle handle); + void updateItem(qtrapids::QTorrentHandle handle); + qtrapids::QTorrentHandle removeSelected(); + void removeItem(qtrapids::QTorrentHandle handle); void setRefreshInterval(int msec); private slots: @@ -56,12 +56,12 @@ Q_OBJECT private: // Maps torrent to downloadview item. // Key: SHA1 info hash of torrent. Data: View item corresponding to torrent. - std::map items_; + std::map items_; QTimer *timer_; // Private functions. - QString GetStatusString(QTorrentHandle::State const& status) const; - QColor GetStatusColor(QTorrentHandle::State const& status) const; + QString GetStatusString(qtrapids::QTorrentHandle::State const& status) const; + QColor GetStatusColor(qtrapids::QTorrentHandle::State const& status) const; void UpdateView();