Changeset View
Changeset View
Standalone View
Standalone View
src/core/kcoreconfigskeleton_p.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | |||||
49 | 49 | | |||
50 | class KConfigSkeletonItemPrivate | 50 | class KConfigSkeletonItemPrivate | ||
51 | { | 51 | { | ||
52 | public: | 52 | public: | ||
53 | KConfigSkeletonItemPrivate() | 53 | KConfigSkeletonItemPrivate() | ||
54 | : mIsImmutable(true) | 54 | : mIsImmutable(true) | ||
55 | , mWriteFlags(KConfigBase::Normal) | 55 | , mWriteFlags(KConfigBase::Normal) | ||
56 | {} | 56 | {} | ||
57 | virtual ~KConfigSkeletonItemPrivate(); | ||||
57 | bool mIsImmutable; ///< Indicates this item is immutable | 58 | bool mIsImmutable; ///< Indicates this item is immutable | ||
58 | 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() | ||
59 | 60 | | |||
60 | QString mLabel; ///< The label for this item | 61 | QString mLabel; ///< The label for this item | ||
61 | QString mToolTip; ///< The ToolTip text for this item | 62 | QString mToolTip; ///< The ToolTip text for this item | ||
62 | QString mWhatsThis; ///< The What's This text for this item | 63 | QString mWhatsThis; ///< The What's This text for this item | ||
63 | 64 | | |||
64 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | 65 | // HACK: Necessary to avoid introducing new virtuals in KConfigSkeletonItem | ||
65 | std::function<bool()> mIsDefaultImpl; | 66 | std::function<bool()> mIsDefaultImpl; | ||
66 | std::function<bool()> mIsSaveNeededImpl; | 67 | std::function<bool()> mIsSaveNeededImpl; | ||
67 | }; | 68 | }; | ||
68 | 69 | | |||
69 | #endif | 70 | #endif |