summaryrefslogtreecommitdiffstats
path: root/tools/qscxmlc/generator.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update commercial license headers"v5.15.3-lts-lgplTarja Sundqvist2021-03-231-10/+10
| | | | | | | | | | | This reverts commit 167f01e4be56440cb58e97510bc408f3476eb307. Revert of commercial license headers is required for Qt 5.15.3 opensource release. Task-number: QTBUG-91108 Change-Id: I5da8856fa2cee8270c25ff550d1538a939e4837b Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Update commercial license headersTarja Sundqvist2021-01-271-10/+10
| | | | | | | | | | | | | | | | Updated header.COMM to the files in tqtc-qtscxml. Examples, tests or documentation files are not updated. The commercial license header may contain some additional lines so that its line count equals with the earlier license header. Reason for this is that some autotests use hard coded line numbers and a change in the line count causes failures in tests. Task-number: QTQAINFRA-4220 Change-Id: I5705f5a36a3549b6db8aebe88149c2c4063dd2b4 Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* Fix coding style issuesJarek Kobus2018-05-021-1/+1
| | | | | Change-Id: Ica7d960babffbf2ef1e6e43c032c236de4a3472e Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Optionally generate accessor and signal methods for statesUlf Hermann2016-12-131-0/+3
| | | | | | | | | | | | We can easily do this and provide a much nicer API. These methods are not available for dynamically loaded state machines. By default we provide the same API for compiled and loaded state machines. The new methods are only generated if you pass the "--statemethods" parameter to qscxmlc. A new qmake variable called "QSCXMLC_ARGUMENTS" is added for any extra arguments to qscxmlc such as this one. Change-Id: Ie7a4eb4890c9d42f89093f3cf3ea917ef2793518 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Clean up includesUlf Hermann2016-09-221-3/+3
| | | | | | | | This will hopefully enable us to build qscxmlc with force_bootstrap on macOS. Change-Id: Ib5d9494fae86b9bb12625aadb9ae3fac0a234520 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Use a plain QIODevice for dumping the C++Ulf Hermann2016-04-051-3/+5
| | | | | | | All the strings are converted to byte arrays already before. Change-Id: Ibdd565e0560fe97ff9347f8153a03cd60c21a508 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
* Change staticMetaObject generation.Erik Verbruggen2016-02-051-0/+78
The full meta-object generation is replaced with the moc generator. This gives a fully functional meta-object without any overhead during object instantiation. Change-Id: Ibf62a6f1bfc0873cd00dd2e4bbad38c8d165005a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>