diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-27 23:23:56 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 15:38:15 +0100 |
| commit | cc5f0c8555fbbcc4b6d0dc29a42b8c7869df1859 (patch) | |
| tree | f274552d9310bce72d4153bae417cdf38f841bb9 /src/downloadlist.h | |
| parent | c46432cc2ef4a108557c1405a0f9c01616bc176e (diff) | |
Drag and drop from download view to install + Expand and scroll to mod on install.
Diffstat (limited to 'src/downloadlist.h')
| -rw-r--r-- | src/downloadlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/downloadlist.h b/src/downloadlist.h index 2171c013..65d03ab9 100644 --- a/src/downloadlist.h +++ b/src/downloadlist.h @@ -68,11 +68,12 @@ public: * @return number of rows to display
**/
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
-
virtual int columnCount(const QModelIndex &parent) const;
QModelIndex index(int row, int column, const QModelIndex &parent) const;
QModelIndex parent(const QModelIndex &child) const;
+ Qt::ItemFlags flags(const QModelIndex& idx) const override;
+ QMimeData* mimeData(const QModelIndexList& indexes) const override;
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
