[Interest] Support for NSDragOperationDelete in Qt Cocoa

Иван Комиссаров abbapoh at gmail.com
Thu Jan 10 09:44:49 CET 2013


As i looked into qt code (both qt4 and qt5), it is not possible to enable this flag for a drag and drop.

This flag is needed to allow dropping to a mac trash. Is there some reasons why it's not included into Qt::ActionMask and/or MoveAction enums (what i mean - are there some bugs/ limitations in current code, or this can be done easily?).

What i suggest - keep current Qt enum, but implicitly convert Qt::MoveAction into flag NSDragOperationMove | NSDragOperationDelete instead of NSDragOperationMove.

Иван Комиссаров
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130110/33ca1f6d/attachment.html>


More information about the Interest mailing list