Changeset View
Changeset View
Standalone View
Standalone View
src/core/kcoreconfigskeleton_p.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 53 | KConfigSkeletonItemPrivate() | |||
---|---|---|---|---|---|
55 | , mWriteFlags(KConfigBase::Normal) | 55 | , mWriteFlags(KConfigBase::Normal) | ||
56 | {} | 56 | {} | ||
57 | bool mIsImmutable; ///< Indicates this item is immutable | 57 | bool mIsImmutable; ///< Indicates this item is immutable | ||
58 | KConfigBase::WriteConfigFlags mWriteFlags; ///< The flags to pass to calls of writeEntry() and revertToDefault() | 58 | KConfigBase::WriteConfigFlags mWriteFlags; ///< The flags to pass to calls of writeEntry() and revertToDefault() | ||
59 | 59 | | |||
60 | QString mLabel; ///< The label for this item | 60 | QString mLabel; ///< The label for this item | ||
61 | QString mToolTip; ///< The ToolTip text for this item | 61 | QString mToolTip; ///< The ToolTip text for this item | ||
62 | QString mWhatsThis; ///< The What's This text for this item | 62 | QString mWhatsThis; ///< The What's This text for this item | ||
63 | | ||||
64 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | ||||
65 | std::function<bool()> mIsDefaultImpl; | ||||
66 | std::function<bool()> mIsSaveNeededImpl; | ||||
63 | }; | 67 | }; | ||
64 | 68 | | |||
65 | #endif | 69 | #endif |