tests/auto/linguist/lupdate/testdata/good/using_namespaces/file.cpp
raw| 1 | // Copyright (C) 2025 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include "file.h" |
| 5 | |
| 6 | using namespace NS1::NS2; |
| 7 | |
| 8 | namespace NS1 { |
| 9 | namespace NS2 { |
| 10 | class cl |
| 11 | { |
| 12 | void func(); |
| 13 | }; |
| 14 | } // namespace NS2 |
| 15 | |
| 16 | void cl::func() |
| 17 | { |
| 18 | Tr::tr("translate in context NS"); |
| 19 | } |
| 20 | } // namespace NS1 |