summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/doc/src')
-rw-r--r--src/widgets/doc/src/model-view-programming.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/doc/src/model-view-programming.qdoc b/src/widgets/doc/src/model-view-programming.qdoc
index 8978efa1e3..ada0460689 100644
--- a/src/widgets/doc/src/model-view-programming.qdoc
+++ b/src/widgets/doc/src/model-view-programming.qdoc
@@ -1769,6 +1769,9 @@
dropped onto existing items separately to data dropped into the top level
of the model (i.e., onto an invalid item).
+ Models can forbid dropping on certain items, or depending on the dropped data,
+ by reimplementing QAbstractItemModel::canDropMimeData().
+
The model first has to make sure that the operation should be acted on,
the data supplied is in a format that can be used, and that its destination
within the model is valid: