summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qcomponent_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch export macros to standard formKai Koehne2019-04-021-1/+1
| | | | | | | | | | | | Qt expects the export macros to have Q_ prefixes, otherwise the symbol versioning script won't find them and mark them. Also remove non-exising QT3DLOGIC_PRIVATE_EXPORT macro from src/doc/qt3d.qdocconf Task-number: QTBUG-74752 Change-Id: I71b9e85ff09c002fb283824aa51a5a8f50e937f4 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add missing #includeSean Harmer2017-08-061-0/+1
| | | | | | | | In some cases this fails to compile due to not knowing about the QComponent type. Change-Id: I3cff5c72fdbabdb238b5220f7c3bddf841efab21 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Fixes includes to comply with coding conventions for Src/CoreRobert Brock2017-03-311-2/+2
| | | | | | | | 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>
* De-inline Q{Node,Component,Entity}Private dtorsMarc Mutz2016-05-141-0/+1
| | | | | | | | | | | | | | Text size savings on optimized GCC 6.0 Linux AMD64 builds: Core: -256 Logic: 1652 Quick: 1458 Extras: 6992 Input: 3648 Render: 11818 QuickRender: 539 Change-Id: Iab36840a41a4a4f1706cde22d434618ffcd4dc6f 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>
* Qt3DCore::QComponentPrivate: make an explicit private exportAndy Nichols2015-10-301-2/+2
| | | | | Change-Id: Ifcd923dc0637d1029e2f86553c02eee4b5428896 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* QNode: Introduce enabled propertyAndy Nichols2015-10-271-1/+0
| | | | | | | | | | | | | | | | | Previously there was only and enable property for the QNode subclass QComponent, but now all QNode subclasses should also have an enable property. This means that it is now possible to disable a QEntity which would also disable all of its children. This is a bit tricky though because each Aspect needs to now check if the corresponding QEntities are disabled or not before processing. This has been accounted for with RenderEntity in the Renderer already, but will need to be respected in each Aspect. This behavior is similar to the Unity3D GameObject active property which disabled the entity and disables all components. Change-Id: I5233b2b43f04aa5dfa7910eac6a88a9da656a997 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Move Qt3DCore into Qt3DCore namespaceSean Harmer2015-10-131-4/+4
| | | | | | | 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>
* Do not pass `this` to Private c-torKonstantin Ritt2015-05-201-1/+1
| | | | | | | For classes derived from QNodePrivate, it is not used anymore. Change-Id: I9573042500c2c7533687d251e72bac14cb793525 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Copyright header change.Mika Salmela2015-02-091-19/+14
| | | | | | | | As for preparation for Qt5.5 release the copyright header is updated to correspond the current license requirements. Change-Id: I36632918b66f455539453b42c369689fb11298ec Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QComponent: add the enabled propertyPaul Lemire2015-01-241-0/+1
| | | | | | | Also added the doc and a copy method. Change-Id: Icf2d8ae57a75f58e3fd6049e63bfa5761ccaa40c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QComponent: add array of referenced entitiesPaul Lemire2014-11-141-0/+4
| | | | | | | | | | This will allow us to easily check which entities reference a given component. This will make sharing components easier and avoid us having to have RenderEntity like classes in every aspect just to check if a Component is being referenced. Change-Id: Ie6876dba334249c10f93a8f815dc45c31a83c755 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QComponent shareable propertyPaul Lemire2014-10-031-0/+1
| | | | | | Task-number: QTBUG-41524 Change-Id: I3851064c01165e49a872ec568c86337c653e6a86 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QNode refactoringPaul Lemire2014-10-031-2/+0
| | | | | | | | | | | | | | | | Move almost everything to private classes. Assimp loading restored. All examples working. QNode hierachy is now handled through QObject::setParent, addChild, removeChild are part of the private api. Note: commented QChangeArbiter unit tests as they can no longer work with this patch and will restore them when QChangeArbiter will have been made private. Task-number: QTBUG-41470 Task-number: QTBUG-41523 Change-Id: I4430974b3aa7f3744c38714b451b122e0cb4d0c9 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Renamed Component to QComponentPaul Lemire2014-07-051-0/+66
Change-Id: Ifd585f5883e446d0569c38219d26ba581455e857 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>