[Interest] Support for NSDragOperationDelete in Qt Cocoa

Иван Комиссаров abbapoh at gmail.com
Mon Jan 14 10:03:50 CET 2013


Guys, are there any Mac programmers who can help me?)

Иван Комиссаров

10.01.2013, в 12:44, Иван Комиссаров <abbapoh at gmail.com> написал(а):

> 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/20130114/c68bf846/attachment.html>


More information about the Interest mailing list