diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -92,8 +92,6 @@ MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md" LINK_QCHS Qt5Core_QCH - PREDEFINED_MACROS - DOXYGEN_PREPROC BLANK_MACROS KI18N_EXPORT KI18N_DEPRECATED_EXPORT diff --git a/src/klocalizedstring.h b/src/klocalizedstring.h --- a/src/klocalizedstring.h +++ b/src/klocalizedstring.h @@ -649,7 +649,7 @@ // Do not document every multi-argument i18n* call separately, // but provide special quasi-calls that only Doxygen sees. // Placed in front of ki18n* calls, because i18n* are more basic. -#ifdef DOXYGEN_PREPROC +#ifdef DOXYGEN_SHOULD_SKIP_THIS /** * Translate a string and substitute any arguments. @@ -850,7 +850,7 @@ const char *context, const char *singular, const char *plural, const TYPE &arg...); -#endif // DOXYGEN_PREPROC +#endif // DOXYGEN_SHOULD_SKIP_THIS /** * Create non-finalized translated string. @@ -1090,7 +1090,7 @@ } } -#ifndef DOXYGEN_PREPROC +#ifndef DOXYGEN_SHOULD_SKIP_THIS #ifndef NDEBUG #define I18N_ERR_MSG String_literal_as_second_argument_to_i18n___Perhaps_you_need_i18nc_or_i18np @@ -1956,11 +1956,11 @@ } // <<<<< End of markup-aware context-plural calls with domain -#endif // DOXYGEN_PREPROC +#endif // DOXYGEN_SHOULD_SKIP_THIS #endif // KLOCALIZEDSTRING_H -#ifndef DOXYGEN_PREPROC +#ifndef DOXYGEN_SHOULD_SKIP_THIS // Outside of include guards, to be able to map and unmap domains // by successive inclusions of this header @@ -2005,4 +2005,4 @@ #undef tr2xi18n #endif -#endif // DOXYGEN_PREPROC +#endif // DOXYGEN_SHOULD_SKIP_THIS