aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/modeleditor/modelindexer.h
Commit message (Collapse)AuthorAgeFilesLines
* ModelEditor: Do not query all files in the project for their mime typeChristian Kandeler2020-02-071-1/+4
| | | | | | | | | | | | | | Consulting the mime type database is much too expensive to do it for all files in a project, so take a shortcut. Example benchmark: When loading the Qt Creator super project (with all the commercial plugins) on my Linux machine, with this patch the time spent in ModelIndexer::scanProject() goes down from ~8 seconds to under 300 milliseconds. Note that the UI is frozen during that period. Task-number: QTCREATORBUG-18533 Change-Id: Id75d6bbcf37b4f4e41383a089e9e0dc5262cfbae Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
* ModelEditor: Replace 0 with nullptr in pluginJochen Becher2017-08-071-1/+1
| | | | | Change-Id: I38b34213790dd165637d0d5096a4640eb43e8e0c Reviewed-by: André Hartmann <aha_1980@gmx.de>
* ModelEditor: De-slotOrgad Shaneh2017-03-201-1/+1
| | | | | Change-Id: Id0d4f7b3e89a5d201fd26149851031667346381b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Wholesale conversion to #pragma oncehjk2016-03-301-4/+1
| | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-18/+13
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Apply naming convention to gettersJochen Becher2015-11-111-2/+2
| | | | | Change-Id: If9eaaf0dc54e26e4b7e2b8952efd951a9113f104 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Add new ModelEditor plugin.Jochen Becher2015-09-161-0/+95
The plugin is based on the 'modelinglib' library. For features and screenshots see https://wiki.qt.io/ModelEditor Change-Id: I857be0652a852cc69a9729f64e67134fe630af00 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>