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 212 Lines • ▼ Show 20 Line(s) | 278 | { | |||
277 | emit changed(true); | 279 | emit changed(true); | ||
278 | } | 280 | } | ||
279 | 281 | | |||
280 | KAboutData KCModule::componentData() const | 282 | KAboutData KCModule::componentData() const | ||
281 | { | 283 | { | ||
282 | return *d->_about; | 284 | return *d->_about; | ||
283 | } | 285 | } | ||
284 | 286 | | |||
287 | #if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 0) | ||||
285 | QString KCModule::exportText() const | 288 | QString KCModule::exportText() const | ||
286 | { | 289 | { | ||
287 | return d->m_ExportText; | 290 | return d->m_ExportText; | ||
288 | } | 291 | } | ||
292 | #endif | ||||
289 | 293 | | |||
294 | #if KCONFIGWIDGETS_BUILD_DEPRECATED_SINCE(5, 0) | ||||
290 | void KCModule::setExportText(const QString &text) | 295 | void KCModule::setExportText(const QString &text) | ||
291 | { | 296 | { | ||
292 | d->m_ExportText = text; | 297 | d->m_ExportText = text; | ||
293 | } | 298 | } | ||
299 | #endif | ||||
294 | 300 | | |||
295 | void KCModule::setQuickHelp(const QString &help) | 301 | void KCModule::setQuickHelp(const QString &help) | ||
296 | { | 302 | { | ||
297 | d->_quickHelp = help; | 303 | d->_quickHelp = help; | ||
298 | emit quickHelpChanged(); | 304 | emit quickHelpChanged(); | ||
299 | } | 305 | } | ||
300 | 306 | | |||
301 | QString KCModule::quickHelp() const | 307 | QString KCModule::quickHelp() const | ||
Show All 9 Lines |