summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/propertychangehandler_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixes includes to comply with coding conventions for Src/CoreRobert Brock2017-03-311-6/+5
| | | | | | | | Reordering the header includes to comply with Qt coding conventions Task-number: QTBUG-56185 Change-Id: I3943678c183c4ef46d403e0fff878c3cad964dfa Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Q_NULLPTR -> nullptrSean Harmer2016-05-011-2/+2
| | | | | | Task-number: QTBUG-52736 Change-Id: I58f9cbcdf018e7b672d33dd865067485412b79fe Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Introduce a non-template base class for PropertyChangeHandler.Volker Krause2016-02-081-38/+19
| | | | | | | | | | While my main intention was to get PropertyChangeHandler a meta object so its instances can be identified in GammaRay, this turned out to also help with minimizing template code, as half the methods don't actually depend on the template argument. Change-Id: I302a305db8ed0c864338d90c9795bf54155c790b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Unify license header usageAntti Kokko2016-01-261-11/+14
| | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I8eac0cd6bbc276a56df487249cc459c0d4fab165 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Move Qt3DCore into Qt3DCore namespaceSean Harmer2015-10-131-1/+1
| | | | | | | Update other aspects, tests and examples accordingly. Change-Id: Ib1bcf0bdf4f5aec4422dc0c80bfc32b27fb1a317 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add "We mean it" warnings to private headersSean Harmer2015-10-131-0/+11
| | | | | Change-Id: Ic4a69123255c33990765ea3601e01914c2d8cb70 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* License header change.Mika Salmela2015-02-261-10/+13
| | | | | | | | | License header update for propertychangehandler_p.h. Apparently the script managed to skip this one. Change-Id: Iabc190c5b85b250ec4efd0abd44d104e2006d438 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Fix license headerSergio Ahumada2015-02-161-5/+5
| | | | | Change-Id: I391a3e48378579130ec7e18958389775b022843f Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Improve forwarding of property changes in QNodePrivate.Milian Wolff2014-11-041-0/+134
Instead of using a hash and the slow senderSignalIndex() to map slot invocations to property indices, we now use a dedicated PropertyChangeHandler class to connect to the notify signals of properties. This one uses a trick similar to QSignalSpy and the SignalHandler in Qt WebChannel for efficient mapping of slot invocations to any other integer index. Here, we chose the property index. Note that for now, we change the QScenePropertyChange to use a const char* instead of a QByteArray for the property name. Otherwise we'd incur a conversion penalty for every property change event, as QMetaProperty stores the name as a const char*. To fix this odd API, we should eventually refactor the other abuses of QScenePropertyChange to use dedicated change classes. Then we can use QMetaProperty directly. Change-Id: I9257a48e3852f29427006a7f761bca272d5c4f4e Reviewed-by: Sean Harmer <sean.harmer@kdab.com>