From d70eadb977d26a02e62eb49a5c6e5d94e277aed0 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Tue, 22 Oct 2019 19:41:15 +0200 Subject: [PATCH] API dox: adapt kapidox & ecm_add_qch settings to new deprecation macros GIT_SILENT --- docs/Doxyfile.local | 7 +++++++ src/plasma/CMakeLists.txt | 1 + 2 files changed, 8 insertions(+) create mode 100644 docs/Doxyfile.local diff --git a/docs/Doxyfile.local b/docs/Doxyfile.local new file mode 100644 index 000000000..efe76d5c9 --- /dev/null +++ b/docs/Doxyfile.local @@ -0,0 +1,7 @@ +### KApiDox Project-specific Overrides File + +# define so that deprecated API is not skipped +PREDEFINED += \ + "PLASMA_ENABLE_DEPRECATED_SINCE(x, y)=1" \ + "PLASMA_BUILD_DEPRECATED_SINCE(x, y)=1" \ + "PLASMA_DEPRECATED_VERSION(x, y, t)=" diff --git a/src/plasma/CMakeLists.txt b/src/plasma/CMakeLists.txt index 62eb64119..41edf273f 100644 --- a/src/plasma/CMakeLists.txt +++ b/src/plasma/CMakeLists.txt @@ -235,6 +235,7 @@ if(BUILD_QCH) PLASMA_EXPORT PLASMA_DEPRECATED PLASMA_DEPRECATED_EXPORT + "PLASMA_DEPRECATED_VERSION(x, y, t)" TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} COMPONENT Devel