diff options
| author | Tannin <devnull@localhost> | 2014-12-14 18:25:26 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-12-14 18:25:26 +0100 |
| commit | ebfeb2fbf95df4a2246ff2ef1cd6b48f373b70f3 (patch) | |
| tree | c0aae4337a991993c802ad5feff71a5b099b013a /src/qtgroupingproxy.h | |
| parent | f666e3d835147de3f044431474f92ec84fd8b801 (diff) | |
- mod-list can now be re-ordered with drag&drop while grouping is active
- drag&drop is not disabled when ordering by other columns than priority. MO will notify using messagedialog that it's impossible instead.
Diffstat (limited to 'src/qtgroupingproxy.h')
| -rw-r--r-- | src/qtgroupingproxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qtgroupingproxy.h b/src/qtgroupingproxy.h index 7df069f7..6567cb0e 100644 --- a/src/qtgroupingproxy.h +++ b/src/qtgroupingproxy.h @@ -73,6 +73,7 @@ public: virtual bool canFetchMore( const QModelIndex &parent ) const;
virtual void fetchMore( const QModelIndex &parent );
virtual bool hasChildren( const QModelIndex &parent = QModelIndex() ) const;
+ virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
/* QtGroupingProxy methods */
virtual QModelIndex addEmptyGroup( const RowData &data );
@@ -162,6 +163,7 @@ private: int m_groupedRole;
int m_aggregateRole;
+
};
#endif //GROUPINGPROXY_H
|
