Changeset View
Changeset View
Standalone View
Standalone View
src/core/kcoreconfigskeleton_p.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
61 | QString mLabel; ///< The label for this item | 61 | QString mLabel; ///< The label for this item | ||
62 | QString mToolTip; ///< The ToolTip text for this item | 62 | QString mToolTip; ///< The ToolTip text for this item | ||
63 | QString mWhatsThis; ///< The What's This text for this item | 63 | QString mWhatsThis; ///< The What's This text for this item | ||
64 | KConfigGroup mConfigGroup; ///< KConfigGroup, allow to read/write item in nested groups | 64 | KConfigGroup mConfigGroup; ///< KConfigGroup, allow to read/write item in nested groups | ||
65 | 65 | | |||
66 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | 66 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | ||
67 | std::function<bool()> mIsDefaultImpl; | 67 | std::function<bool()> mIsDefaultImpl; | ||
68 | std::function<bool()> mIsSaveNeededImpl; | 68 | std::function<bool()> mIsSaveNeededImpl; | ||
69 | std::function<QVariant()> mLoadedValueImpl; | ||||
69 | }; | 70 | }; | ||
70 | 71 | | |||
71 | class KPropertySkeletonItemPrivate : public KConfigSkeletonItemPrivate | 72 | class KPropertySkeletonItemPrivate : public KConfigSkeletonItemPrivate | ||
72 | { | 73 | { | ||
73 | public: | 74 | public: | ||
74 | KPropertySkeletonItemPrivate(QObject *object, const QByteArray &propertyName, const QVariant &defaultValue) | 75 | KPropertySkeletonItemPrivate(QObject *object, const QByteArray &propertyName, const QVariant &defaultValue) | ||
75 | : KConfigSkeletonItemPrivate() | 76 | : KConfigSkeletonItemPrivate() | ||
76 | , mObject(object) | 77 | , mObject(object) | ||
Show All 18 Lines |