diff options
| author | Elvis Angelaccio <[email protected]> | 2017-06-11 19:33:36 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-06-11 19:33:36 +0200 |
| commit | 96eff55e75bfd0f1e3f866b4af14f3778e9002b3 (patch) | |
| tree | 22fe4883d7925aa7c919a6364a0d84ee78aea1e4 /src/kitemviews/kitemmodelbase.h | |
| parent | a2f9e005a5e281b5c4938e86b4a5a85ede63c4b9 (diff) | |
| parent | ec9f4ed17c9c71078eac838060024aef5ca8b2c3 (diff) | |
Merge branch 'Applications/17.04'
* Applications/17.04:
Change in "Open in new tab" feature in Dolphin
Ignore drops-onto-items from invalid places items
Revert "Increase smooth scrolling animation duration from 100 to 300 ms and set easing curve to InOutQuart"
Diffstat (limited to 'src/kitemviews/kitemmodelbase.h')
| -rw-r--r-- | src/kitemviews/kitemmodelbase.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kitemviews/kitemmodelbase.h b/src/kitemviews/kitemmodelbase.h index bd5ca1d65..45ad1f61a 100644 --- a/src/kitemviews/kitemmodelbase.h +++ b/src/kitemviews/kitemmodelbase.h @@ -172,6 +172,16 @@ public: // decision whether it accepts the drop? virtual bool supportsDropping(int index) const; + /** + * @return An internal mimetype to signal that an itemDropEvent() should be rejected by + * the receiving model. + * + * This mimeType can be used in createMimeData() to notify that the + * drop-onto-items events should be ignored, while the drop-between-items + * ones should be still accepted. + */ + QString blacklistItemDropEventMimeType() const; + signals: /** * Is emitted if one or more items have been inserted. Each item-range consists |
