diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-05-03 21:32:33 -0500 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-05-03 21:32:33 -0500 |
| commit | 179a73857125ee604f42b0d5c2d765183c86d2c7 (patch) | |
| tree | b9b3f9d62bd5640de839d150a53ab8ef119dab9c /src/downloadlist.h | |
| parent | e2b799bd6b5cfd51969fefd1dab5e5b1b7e5f81c (diff) | |
| parent | 907c5468424b48774f5da2a6b5f96f26590987b0 (diff) | |
Merge pull request #695 from ModOrganizer2/Develop
Stage for Release 2.2.0
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
|
