Changeset View
Changeset View
Standalone View
Standalone View
src/core/kauthorized.cpp
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | 220 | { | |||
---|---|---|---|---|---|
224 | } | 224 | } | ||
225 | if (!d->actionRestrictions || action.isEmpty()) { | 225 | if (!d->actionRestrictions || action.isEmpty()) { | ||
226 | return true; | 226 | return true; | ||
227 | } | 227 | } | ||
228 | 228 | | |||
229 | return authorize(QLatin1String("action/") + action); | 229 | return authorize(QLatin1String("action/") + action); | ||
230 | } | 230 | } | ||
231 | 231 | | |||
232 | #ifndef KDE_NO_DEPRECATED | 232 | #if KCONFIGCORE_BUILD_DEPRECATED_SINCE(5, 24) | ||
233 | bool KAuthorized::authorizeKAction(const QString &action) | 233 | bool KAuthorized::authorizeKAction(const QString &action) | ||
234 | { | 234 | { | ||
235 | return authorizeAction(action); | 235 | return authorizeAction(action); | ||
236 | } | 236 | } | ||
237 | #endif | 237 | #endif | ||
238 | 238 | | |||
239 | bool KAuthorized::authorizeControlModule(const QString &menuId) | 239 | bool KAuthorized::authorizeControlModule(const QString &menuId) | ||
240 | { | 240 | { | ||
▲ Show 20 Lines • Show All 165 Lines • Show Last 20 Lines |