aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/templateengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie GĂ©rard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: More forward declarations / drop unused headers [T-Z]Jarek Kobus2022-05-251-0/+1
| | | | | | | | | | | Round 1 - focus on headers. For classes with initial in range [T-Z]. Replace QT_FORWARD_DECLARE_CLASS with QT_BEGIN_NAMESPACE and QT_END_NAMESPACE and forward declare inside. Change-Id: I4ac3a8391e6167aa2db3973a9f94a45ac3c8ebd1 Reviewed-by: hjk <hjk@qt.io>
* Utils: Replace QRegExp by QRegularExpressionChristian Stenger2020-06-191-11/+15
| | | | | | | | ..inside the template engine. Task-number: QTCREATORBUG-24098 Change-Id: I9a1190eda4e57d36f8be750604796849ed672537 Reviewed-by: hjk <hjk@qt.io>
* More Qt 6 portinghjk2020-06-181-1/+1
| | | | | | Task-number: QTCREATORBUG-24098 Change-Id: I8d118e75021996127344e75dffe263cebd95a5b8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QRegExp include cleanupSamuel Gaist2017-03-131-0/+1
| | | | | | | This patch adds the missing include statements for QRegExp. Change-Id: Ibb03b929940adb84ae190b5090cb6b88653cc14c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Utils: Fix logic in TemplateEngine and adjust auto testChristian Stenger2016-09-141-1/+4
| | | | | | | Broke with 8641277121632de574e1bc76a76d8727e9b7cd03. Change-Id: I49174428bf940ef4c3fa7f6ebd3124a907a555b8 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* TemplateEngine: Do not append trailing newlineTobias Hunger2015-10-141-1/+2
| | | | | Change-Id: I99731186ae1e14c79728ebc6c74a5b842cf25069 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* TemplateEngine: Fix indentionTobias Hunger2015-10-141-1/+1
| | | | | Change-Id: I9eaaac11af938bcd3e96687dec435303448c0749 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Utils: Move template file processing from projectexplorer to utilsTobias Hunger2015-10-121-0/+316
I want to use it e.g. for snippets and the TextEditor plugin may not depend on the ProjectExplorer, so the code has to move. This adds a dependency on QtQml to Utils, but that does not really matter since that is loaded into QtCreator anyway. Change-Id: Iada9f40b2966a1fc41631ab33da09812ad67d967 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>