[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: KGuiAddons and QGestures like tap/click-and-hold to open context menu?
From:       David Faure <faure () kde ! org>
Date:       2017-03-15 8:07:48
Message-ID: 248268616.DN40cIxeeQ () asterixp50
[Download RAW message or body]

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@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic