| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Task-number: QTBUG-52736
Change-Id: I58f9cbcdf018e7b672d33dd865067485412b79fe
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Update old header.LGPL3 to header.LGPL
Change-Id: I8eac0cd6bbc276a56df487249cc459c0d4fab165
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
| |
Update other aspects, tests and examples accordingly.
Change-Id: Ib1bcf0bdf4f5aec4422dc0c80bfc32b27fb1a317
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
| |
Change-Id: Ic4a69123255c33990765ea3601e01914c2d8cb70
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I391a3e48378579130ec7e18958389775b022843f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
|
|
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>
|