Changeset View
Changeset View
Standalone View
Standalone View
src/core/kcoreconfigskeleton_p.h
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
57 | virtual ~KConfigSkeletonItemPrivate(); | 57 | virtual ~KConfigSkeletonItemPrivate(); | ||
58 | bool mIsImmutable; ///< Indicates this item is immutable | 58 | bool mIsImmutable; ///< Indicates this item is immutable | ||
59 | KConfigBase::WriteConfigFlags mWriteFlags; ///< The flags to pass to calls of writeEntry() and revertToDefault() | 59 | KConfigBase::WriteConfigFlags mWriteFlags; ///< The flags to pass to calls of writeEntry() and revertToDefault() | ||
60 | 60 | | |||
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 | QHash<QString, QString> mValues; /// The values used for ItemEnum's choices, name -> value (if set) | ||||
65 | 66 | | |||
66 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | 67 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | ||
67 | std::function<bool()> mIsDefaultImpl; | 68 | std::function<bool()> mIsDefaultImpl; | ||
68 | std::function<bool()> mIsSaveNeededImpl; | 69 | std::function<bool()> mIsSaveNeededImpl; | ||
69 | }; | 70 | }; | ||
70 | 71 | | |||
71 | class KPropertySkeletonItemPrivate : public KConfigSkeletonItemPrivate | 72 | class KPropertySkeletonItemPrivate : public KConfigSkeletonItemPrivate | ||
72 | { | 73 | { | ||
Show All 22 Lines |