Changeset View
Changeset View
Standalone View
Standalone View
src/gui/kconfiggui.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | |||||
55 | /** | 55 | /** | ||
56 | * Indicates if a session config has been created for that application | 56 | * Indicates if a session config has been created for that application | ||
57 | * (ie. if sessionConfig() got called at least once) | 57 | * (ie. if sessionConfig() got called at least once) | ||
58 | * | 58 | * | ||
59 | * @return true if a sessionConfig object was created, false otherwise | 59 | * @return true if a sessionConfig object was created, false otherwise | ||
60 | */ | 60 | */ | ||
61 | KCONFIGGUI_EXPORT bool hasSessionConfig(); | 61 | KCONFIGGUI_EXPORT bool hasSessionConfig(); | ||
62 | 62 | | |||
63 | #if KCONFIGGUI_ENABLE_DEPRECATED_SINCE(5, 11) | ||||
63 | /** | 64 | /** | ||
64 | * Returns the name of the application session | 65 | * Returns the name of the application session | ||
65 | * | 66 | * | ||
66 | * @return the application session name | 67 | * @return the application session name | ||
67 | * @deprecated since 5.11, use sessionConfig()->name() | 68 | * @deprecated since 5.11, use sessionConfig()->name() | ||
68 | */ | 69 | */ | ||
69 | #ifndef KDE_NO_DEPRECATED | 70 | KCONFIGGUI_DEPRECATED_VERSION(5, 11, "Use KConfigGui::sessionConfig()->name()") | ||
70 | KCONFIGGUI_DEPRECATED_EXPORT QString sessionConfigName(); | 71 | KCONFIGGUI_EXPORT QString sessionConfigName(); | ||
71 | #endif | 72 | #endif | ||
72 | } | 73 | } | ||
73 | 74 | | |||
74 | #endif // KCONFIGGUI_H | 75 | #endif // KCONFIGGUI_H |