plugins: use #pragma once
... to mark the plugin headers as non-installed / non-installable.
They are not ready for outside consumption (generic header guards like
PLUGIN_H, inline dtors of polymorphic classes and who knows what
else), so use #pragme once to statically assert that they're not
installed (syncqt.cpp rejects to create forwarding headers for headers
without include guards).
Also fix vertical whitespace, drop "We mean it." comments, and the _p
suffixes.
The hunspell plugin is also used by the thai one, so that needs
special handling (not included in this patch).
Picking all the way to avoid merge conflicts going forward (gerrit is
remarkably bad in tracking content across renames (→ QTQAINFRA-5010)).
Pick-to: 6.11 6.8
Task-number: QTBUG-146575
Change-Id: I765efe942a24336bf634a3ba5a88a3db424d2e66
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
| commit | b8ac186dcec2b76ef3cb22cebaf13bf99ed88df2 |
| parent | 61bb8c93b1cd87cd6dc267f7f48f78cb8162fbdb |
| author | Marc Mutz <marc.mutz@qt.io> |
| committer | Marc Mutz <marc.mutz@qt.io> |
| commit time | Fri, 8 May 2026 12:42:43 +0000 |
- M src/plugin/plugin.h
- M src/plugins/hangul/CMakeLists.txt
- M src/plugins/hangul/hangul.cpp
- R095 src/plugins/hangul/hangul_p.h
- M src/plugins/hangul/hangulinputmethod.cpp
- R075 src/plugins/hangul/hangulinputmethod_p.h
- M src/plugins/openwnn/CMakeLists.txt
- M src/plugins/openwnn/openwnninputmethod.cpp
- R083 src/plugins/openwnn/openwnninputmethod_p.h
- M src/plugins/pinyin/CMakeLists.txt
- M src/plugins/pinyin/pinyindecoderservice.cpp
- R079 src/plugins/pinyin/pinyindecoderservice_p.h
- M src/plugins/pinyin/pinyininputmethod.cpp
- R082 src/plugins/pinyin/pinyininputmethod_p.h
- M src/plugins/tcime/CMakeLists.txt
- M src/plugins/tcime/tcinputmethod.cpp
- R085 src/plugins/tcime/tcinputmethod_p.h
- M src/plugins/thai/CMakeLists.txt
- M src/plugins/thai/thaiinputmethod.cpp
- R095 src/plugins/thai/thaiinputmethod_p.h