KGuiAddons and QGestures like tap/click-and-hold to open context menu?

David Faure faure at kde.org
Wed Mar 15 08:07:48 UTC 2017


On dimanche 12 mars 2017 23:40:29 CET René J.V. Bertin wrote:
> Proof of concept:
> 
> https://commits.kde.org/scratch/rjvbb/osx-integration/1260a608db98cfd3d75bf1
> 5917945b59c81b1182

" storing all grabbed QObjects is potentially dangerous "

Definitely. But there's another solution: QObject::setProperty,
which supports dynamic properties so you can store anything you want in there.

(this could also be used to replace m_grabbing, using a different property of 
course)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list