diff options
Diffstat (limited to 'src/downloadmanager.h')
| -rw-r--r-- | src/downloadmanager.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h index 27b5c526..e0cc20bd 100644 --- a/src/downloadmanager.h +++ b/src/downloadmanager.h @@ -72,8 +72,6 @@ private: QTime m_StartTime; qint64 m_PreResumeSize; int m_Progress; - int m_ModID; - int m_FileID; DownloadState m_State; int m_CurrentUrl; QStringList m_Urls; @@ -219,6 +217,14 @@ public: QString getFilePath(int index) const; /** + * @brief retrieve a descriptive name of the download specified by index + * + * @param index index of the file to look up + * @return display name of the file + **/ + QString getDisplayName(int index) const; + + /** * @brief retrieve the filename of the download specified by index * * @param index index of the file to look up @@ -450,6 +456,8 @@ private: void removePending(int modID, int fileID); + static QString getFileTypeString(int fileType); + private: static const int AUTOMATIC_RETRIES = 3; |
