diff options
| author | Jaroslaw Staniek <staniek@kde.org> | 2016-11-28 01:30:06 (GMT) |
|---|---|---|
| committer | Jaroslaw Staniek <staniek@kde.org> | 2016-11-29 14:31:23 (GMT) |
| commit | 4a27e3a9b852032a9e82adb6f224b32841f55646 (patch) | |
| tree | 773bac06f333bd5e5e087b3c79008a10171b6f34 /src/KProperty.h | |
| parent | f1ac05ef8d60d73f627d066fb2f48f505746ef22 (diff) | |
Reduce protected API of KProperty, make d-pointers private, not protected
Diffstat (limited to 'src/KProperty.h')
| -rw-r--r-- | src/KProperty.h | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/src/KProperty.h b/src/KProperty.h index e48726d..de46985 100644 --- a/src/KProperty.h +++ b/src/KProperty.h @@ -49,6 +49,7 @@ class KComposedPropertyInterface; class KPropertySet; +class KPropertySetPrivate; /*! Data container for properties of list type. */ class KPROPERTYCORE_EXPORT KPropertyListData @@ -471,43 +472,13 @@ public: int sortingKey() const; #endif -protected: - /*! Adds \a prop as a child of this property. - The children will be owned by this property. */ - void addChild(KProperty *prop); - - /*! Adds \a set to this property. */ - void addSet(KPropertySet *set); - -#if 0 - /*! Sets a key used for sorting. */ - void setSortingKey(int key); -#endif - - /*! \return a list of related properties for this property. */ - const QList<KProperty*>* related() const; - - /*! Adds related property for this property. */ - void addRelatedProperty(KProperty *property); - - /*! This method emits the \a KPropertySet::propertyChanged() signal. - KProperty::setValue() calls this method if the value has been changed. */ - void emitPropertyChanged(); - - /*! Outputs debug string for this property to the standard debug output. */ - void debug() const; - - /*! Used by debug operator <<. */ - QMap<QByteArray, QVariant> options() const; - - //! @internal +private: class Private; - friend class Private; Private * const d; friend class KPropertySet; + friend class KPropertySetPrivate; friend class KPropertyBuffer; - friend class KComposedPropertyInterface; friend KPROPERTYCORE_EXPORT QDebug operator<<(QDebug dbg, const KProperty &p); }; |
