Changeset View
Changeset View
Standalone View
Standalone View
src/kcmodule.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
48 | 48 | | |||
49 | void authStatusChanged(int status); | 49 | void authStatusChanged(int status); | ||
50 | 50 | | |||
51 | KCModule::Buttons _buttons; | 51 | KCModule::Buttons _buttons; | ||
52 | const KAboutData *_about; | 52 | const KAboutData *_about; | ||
53 | QString _rootOnlyMessage; | 53 | QString _rootOnlyMessage; | ||
54 | QList<KConfigDialogManager *> managers; | 54 | QList<KConfigDialogManager *> managers; | ||
55 | QString _quickHelp; | 55 | QString _quickHelp; | ||
56 | #if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 0) | ||||
56 | QString m_ExportText; | 57 | QString m_ExportText; | ||
58 | #endif | ||||
57 | bool _useRootOnlyMessage : 1; | 59 | bool _useRootOnlyMessage : 1; | ||
58 | bool _firstshow : 1; | 60 | bool _firstshow : 1; | ||
59 | 61 | | |||
60 | bool _needsAuthorization : 1; | 62 | bool _needsAuthorization : 1; | ||
61 | #ifndef KCONFIGWIDGETS_NO_KAUTH | 63 | #ifndef KCONFIGWIDGETS_NO_KAUTH | ||
62 | KAuth::Action _authAction; | 64 | KAuth::Action _authAction; | ||
63 | #endif | 65 | #endif | ||
64 | 66 | | |||
▲ Show 20 Lines • Show All 197 Lines • ▼ Show 20 Line(s) | 262 | { | |||
262 | emit rootOnlyMessageChanged(d->_useRootOnlyMessage, d->_rootOnlyMessage); | 264 | emit rootOnlyMessageChanged(d->_useRootOnlyMessage, d->_rootOnlyMessage); | ||
263 | } | 265 | } | ||
264 | 266 | | |||
265 | bool KCModule::useRootOnlyMessage() const | 267 | bool KCModule::useRootOnlyMessage() const | ||
266 | { | 268 | { | ||
267 | return d->_useRootOnlyMessage; | 269 | return d->_useRootOnlyMessage; | ||
268 | } | 270 | } | ||
269 | 271 | | |||
272 | #if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 64) | ||||
270 | void KCModule::changed() | 273 | void KCModule::changed() | ||
271 | { | 274 | { | ||
272 | markAsChanged(); | 275 | markAsChanged(); | ||
273 | } | 276 | } | ||
277 | #endif | ||||
274 | 278 | | |||
275 | void KCModule::markAsChanged() | 279 | void KCModule::markAsChanged() | ||
276 | { | 280 | { | ||
277 | emit changed(true); | 281 | emit changed(true); | ||
278 | } | 282 | } | ||
279 | 283 | | |||
280 | KAboutData KCModule::componentData() const | 284 | KAboutData KCModule::componentData() const | ||
281 | { | 285 | { | ||
282 | return *d->_about; | 286 | return *d->_about; | ||
283 | } | 287 | } | ||
284 | 288 | | |||
289 | #if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 0) | ||||
285 | QString KCModule::exportText() const | 290 | QString KCModule::exportText() const | ||
286 | { | 291 | { | ||
287 | return d->m_ExportText; | 292 | return d->m_ExportText; | ||
288 | } | 293 | } | ||
294 | #endif | ||||
289 | 295 | | |||
296 | #if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 0) | ||||
290 | void KCModule::setExportText(const QString &text) | 297 | void KCModule::setExportText(const QString &text) | ||
291 | { | 298 | { | ||
292 | d->m_ExportText = text; | 299 | d->m_ExportText = text; | ||
293 | } | 300 | } | ||
301 | #endif | ||||
294 | 302 | | |||
295 | void KCModule::setQuickHelp(const QString &help) | 303 | void KCModule::setQuickHelp(const QString &help) | ||
296 | { | 304 | { | ||
297 | d->_quickHelp = help; | 305 | d->_quickHelp = help; | ||
298 | emit quickHelpChanged(); | 306 | emit quickHelpChanged(); | ||
299 | } | 307 | } | ||
300 | 308 | | |||
301 | QString KCModule::quickHelp() const | 309 | QString KCModule::quickHelp() const | ||
Show All 9 Lines |