tests/auto/linguist/lupdate/testdata/good/using_namespaces/file.h
raw| 1 | // Copyright (C) 2025 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #pragma once |
| 5 | #include <QCoreAppplication> |
| 6 | namespace NS1 { |
| 7 | struct Tr |
| 8 | { |
| 9 | Q_DECLARE_TR_FUNCTIONS(NS) |
| 10 | }; |
| 11 | |
| 12 | namespace NS2 { // defining NS1::NS2 outside of file.cpp |
| 13 | } // namespace NS2 |
| 14 | } // namespace NS1 |