diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-05-07 03:43:32 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2021-05-07 03:43:32 +0200 |
commit | 728c44c81c23401056484b7ab39a33821aa7e2f5 (patch) | |
tree | 821526ff846c4eca339bec170974bcedb3a524a6 /src/gui/kconfiggui.h | |
parent | f5f12926b1ead2f36b2f7e8fc34ff864b5b6d60e (diff) | |
download | kconfig-728c44c81c23401056484b7ab39a33821aa7e2f5.tar.gz kconfig-728c44c81c23401056484b7ab39a33821aa7e2f5.tar.bz2 |
Order macro for attribute for symbol export before that for deprecated
The symbol export/visibility attribute is not standardized so far and
needs to be set by language extension attribute declaration at least
with clang & MSVC, who both support that when it appears before the
standard attribute declaration.
NO_CHANGELOG
Diffstat (limited to 'src/gui/kconfiggui.h')
-rw-r--r-- | src/gui/kconfiggui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kconfiggui.h b/src/gui/kconfiggui.h index c32e108f..8f4b739a 100644 --- a/src/gui/kconfiggui.h +++ b/src/gui/kconfiggui.h @@ -53,8 +53,9 @@ KCONFIGGUI_EXPORT bool hasSessionConfig(); * @return the application session name * @deprecated since 5.11, use sessionConfig()->name() */ +KCONFIGGUI_EXPORT KCONFIGGUI_DEPRECATED_VERSION(5, 11, "Use KConfigGui::sessionConfig()->name()") -KCONFIGGUI_EXPORT QString sessionConfigName(); +QString sessionConfigName(); #endif } |