Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/settings.h
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Line(s) | 48 | { | |||
---|---|---|---|---|---|
222 | * Whether the settings have changed and need to be saved | 222 | * Whether the settings have changed and need to be saved | ||
223 | * | 223 | * | ||
224 | * @sa save() | 224 | * @sa save() | ||
225 | */ | 225 | */ | ||
226 | Q_PROPERTY(bool dirty READ dirty NOTIFY dirtyChanged) | 226 | Q_PROPERTY(bool dirty READ dirty NOTIFY dirtyChanged) | ||
227 | 227 | | |||
228 | public: | 228 | public: | ||
229 | explicit Settings(QObject *parent = nullptr); | 229 | explicit Settings(QObject *parent = nullptr); | ||
230 | /** | ||||
231 | * @deprecated | ||||
232 | */ | ||||
230 | Settings(const KSharedConfig::Ptr &config, QObject *parent = nullptr); | 233 | Settings(const KSharedConfig::Ptr &config, QObject *parent = nullptr); | ||
231 | ~Settings() override; | 234 | ~Settings() override; | ||
232 | 235 | | |||
233 | enum PopupPosition { | 236 | enum PopupPosition { | ||
234 | CloseToWidget = 0, | 237 | CloseToWidget = 0, | ||
235 | TopLeft, | 238 | TopLeft, | ||
236 | TopCenter, | 239 | TopCenter, | ||
237 | TopRight, | 240 | TopRight, | ||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |