diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-01-01 22:10:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-01 22:10:56 +0100 |
| commit | 523cb203ce5da9d70cafe9d00e3e48d62c066755 (patch) | |
| tree | 2d255de69f5c09b4ede269f16adec2bfcc7821d5 /src/downloadlist.h | |
| parent | 619a0887d8ce109f384690317adbd253e3ad6ae6 (diff) | |
| parent | 6fa416fc52f21ddb3eebcd1568baf8394e89ef6b (diff) | |
Merge pull request #606 from przester/download-tab
Revamp the downloads tab, fix some UI bugs
Diffstat (limited to 'src/downloadlist.h')
| -rw-r--r-- | src/downloadlist.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/downloadlist.h b/src/downloadlist.h index e8833f0f..bf0cdc37 100644 --- a/src/downloadlist.h +++ b/src/downloadlist.h @@ -22,7 +22,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QAbstractTableModel>
-
class DownloadManager;
@@ -38,9 +37,9 @@ public: enum EColumn {
COL_NAME = 0,
- COL_FILETIME,
COL_STATUS,
- COL_SIZE
+ COL_SIZE,
+ COL_FILETIME
};
public:
@@ -53,6 +52,8 @@ public: **/
explicit DownloadList(DownloadManager *manager, QObject *parent = 0);
+ void setMetaDisplay(bool metaDisplay);
+
/**
* @brief retrieve the number of rows to display. Invoked by Qt
*
@@ -91,7 +92,9 @@ public slots: private:
DownloadManager *m_Manager;
+ bool m_MetaDisplay;
+ QString sizeFormat(quint64 size) const;
};
#endif // DOWNLOADLIST_H
|
