diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-05-11 22:35:31 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-05-11 22:35:31 +0200 |
commit | 1f47df5074e041cad803863e5ef04cb082faf601 (patch) | |
tree | 6d4d6a75a5d27b3122db89ab9919875eb3b76ddd | |
parent | eddf0ce3f072ef25a8917e9f059e84b678786db7 (diff) | |
download | kconfig-1f47df5074e041cad803863e5ef04cb082faf601.tar.gz kconfig-1f47df5074e041cad803863e5ef04cb082faf601.tar.bz2 |
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.
-rw-r--r-- | src/core/kconfiggroup.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<KSharedConfig> KSharedConfigPtr; + /** * \class KConfigGroup kconfiggroup.h <KConfigGroup> * @@ -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<KSharedConfig> &master, const QString &group); /** Overload for KConfigGroup(const KConfigBase*,const QString&) */ - KConfigGroup(const KSharedConfigPtr &master, const char *group); + KConfigGroup(const QExplicitlySharedDataPointer<KSharedConfig> &master, const char *group); /** * Creates a copy of a group. |