mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
Add public getter for DownloadJob's track.
This commit is contained in:
@@ -53,6 +53,7 @@ public:
|
|||||||
TrackState state() const { return m_state; }
|
TrackState state() const { return m_state; }
|
||||||
unsigned int retries() const { return m_retries; }
|
unsigned int retries() const { return m_retries; }
|
||||||
|
|
||||||
|
Tomahawk::track_ptr track() const { return m_track; }
|
||||||
int progressPercentage() const;
|
int progressPercentage() const;
|
||||||
long receivedSize() const { return m_rcvdSize; }
|
long receivedSize() const { return m_rcvdSize; }
|
||||||
long fileSize() const { return m_fileSize; }
|
long fileSize() const { return m_fileSize; }
|
||||||
@@ -85,7 +86,6 @@ private slots:
|
|||||||
void onDownloadProgress( qint64, qint64 );
|
void onDownloadProgress( qint64, qint64 );
|
||||||
void onDownloadFinished();
|
void onDownloadFinished();
|
||||||
|
|
||||||
|
|
||||||
void onUrlRetrieved( const QVariantMap& data );
|
void onUrlRetrieved( const QVariantMap& data );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user