tests/auto/linguist/lupdate/testdata/good/parse_escaped_chars/main.cpp
raw| 1 | // Copyright (C) 2024 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include <QtWidgets/QDialog> |
| 5 | |
| 6 | class Dialog2 : public QDialog |
| 7 | { |
| 8 | Q_OBJECT |
| 9 | void func(); |
| 10 | }; |
| 11 | |
| 12 | void Dialog2::func() |
| 13 | { |
| 14 | tr("prefix\u00A0\u00A0postfix"); |
| 15 | tr("before\U000000A0middle\U000000A0after"); |
| 16 | tr("before\u00A0\U000000A0middle\x1F\U000000A0\u00A0after"); |
| 17 | } |