Changeset View
Changeset View
Standalone View
Standalone View
src/kkeysequencewidget.h
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Line(s) | 67 | public: | |||
---|---|---|---|---|---|
217 | * its shortcut can be configured (KActionCollection::isShortcutConfigurable() | 217 | * its shortcut can be configured (KActionCollection::isShortcutConfigurable() | ||
218 | * returns true) the user will be prompted whether to steal the shortcut | 218 | * returns true) the user will be prompted whether to steal the shortcut | ||
219 | * from this action. | 219 | * from this action. | ||
220 | * | 220 | * | ||
221 | * @since 4.1 | 221 | * @since 4.1 | ||
222 | */ | 222 | */ | ||
223 | void setCheckActionCollections(const QList<KActionCollection *> &actionCollections); | 223 | void setCheckActionCollections(const QList<KActionCollection *> &actionCollections); | ||
224 | 224 | | |||
225 | #if KXMLGUI_ENABLE_DEPRECATED_SINCE(4, 1) | ||||
225 | /** | 226 | /** | ||
226 | * @deprecated since 4.1 | 227 | * @deprecated since 4.1 | ||
227 | * use setCheckActionCollections so that KKeySequenceWidget knows | 228 | * use setCheckActionCollections so that KKeySequenceWidget knows | ||
228 | * in which action collection to call the writeSettings method after stealing | 229 | * in which action collection to call the writeSettings method after stealing | ||
229 | * a shortcut from an action. | 230 | * a shortcut from an action. | ||
230 | */ | 231 | */ | ||
231 | #ifndef KXMLGUI_NO_DEPRECATED | 232 | KXMLGUI_DEPRECATED_VERSION(4, 1, "Use KKeySequenceWidget::setCheckActionCollections(const QList<KActionCollection *> &)") | ||
232 | KXMLGUI_DEPRECATED void setCheckActionList(const QList<QAction *> &checkList); | 233 | void setCheckActionList(const QList<QAction *> &checkList); | ||
233 | #endif | 234 | #endif | ||
234 | 235 | | |||
235 | /** | 236 | /** | ||
236 | * If the component using this widget supports shortcuts contexts, it has | 237 | * If the component using this widget supports shortcuts contexts, it has | ||
237 | * to set its component name so we can check conflicts correctly. | 238 | * to set its component name so we can check conflicts correctly. | ||
238 | */ | 239 | */ | ||
239 | void setComponentName(const QString &componentName); | 240 | void setComponentName(const QString &componentName); | ||
240 | 241 | | |||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |