diff options
author | Nicolas Fella <nicolas.fella@gmx.de> | 2022-08-21 00:13:25 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2022-08-23 10:24:32 +0000 |
commit | 80139fc6efbcfb2d66aedf24afe7e18ccb1ec91e (patch) | |
tree | 97d8b3e137c4cfdccba496a31539b73fdf53e621 | |
parent | 73de2d51c0cd9e35c86584a18d9bcb3c08672f5f (diff) | |
download | kconfig-80139fc6efbcfb2d66aedf24afe7e18ccb1ec91e.tar.gz kconfig-80139fc6efbcfb2d66aedf24afe7e18ccb1ec91e.tar.bz2 |
Add KServiceAction as a friend of KConfigGroup
KServicePrivate is already a friend to be able to access convertToQVariant
KServiceAction needs to do the same
-rw-r--r-- | src/core/kconfiggroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h index 222a0145..7a4eaf4c 100644 --- a/src/core/kconfiggroup.h +++ b/src/core/kconfiggroup.h @@ -730,6 +730,7 @@ private: */ static QVariant convertToQVariant(const char *pKey, const QByteArray &value, const QVariant &aDefault); friend class KServicePrivate; // XXX yeah, ugly^5 + friend class KServiceAction; }; #define KCONFIGGROUP_ENUMERATOR_ERROR(ENUM) "The Qt MetaObject system does not seem to know about \"" ENUM "\" please use Q_ENUM or Q_FLAG to register it." |