From 1f47df5074e041cad803863e5ef04cb082faf601 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 11 May 2016 22:35:31 +0200 Subject: Remove typedef copy The typedef is copied here to avoid including the header that contains it. However, this confuses sip if binding definitions are generated from the C++ headers. Simply inline the typedef instead. --- src/core/kconfiggroup.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/kconfiggroup.h b/src/core/kconfiggroup.h index 9ddf886e..3e0052ad 100644 --- a/src/core/kconfiggroup.h +++ b/src/core/kconfiggroup.h @@ -35,7 +35,7 @@ class KConfig; class KConfigGroupPrivate; class KSharedConfig; -typedef QExplicitlySharedDataPointer KSharedConfigPtr; + /** * \class KConfigGroup kconfiggroup.h * @@ -83,9 +83,9 @@ public: KConfigGroup(const KConfigBase *master, const char *group); /** Overload for KConfigGroup(const KConfigBase*,const QString&) */ - KConfigGroup(const KSharedConfigPtr &master, const QString &group); + KConfigGroup(const QExplicitlySharedDataPointer &master, const QString &group); /** Overload for KConfigGroup(const KConfigBase*,const QString&) */ - KConfigGroup(const KSharedConfigPtr &master, const char *group); + KConfigGroup(const QExplicitlySharedDataPointer &master, const char *group); /** * Creates a copy of a group. -- cgit v1.2.1