Changeset View
Changeset View
Standalone View
Standalone View
src/kshortcutwidget.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
58 | * Global shortcuts are automatically checked for conflicts | 58 | * Global shortcuts are automatically checked for conflicts | ||
59 | * | 59 | * | ||
60 | * Don't forget to call applyStealShortcut to actually steal the shortcut. | 60 | * Don't forget to call applyStealShortcut to actually steal the shortcut. | ||
61 | * | 61 | * | ||
62 | * @since 4.1 | 62 | * @since 4.1 | ||
63 | */ | 63 | */ | ||
64 | void setCheckActionCollections(const QList<KActionCollection *> &actionCollections); | 64 | void setCheckActionCollections(const QList<KActionCollection *> &actionCollections); | ||
65 | 65 | | |||
66 | #if KXMLGUI_ENABLE_DEPRECATED_SINCE(4, 1) | ||||
66 | /** | 67 | /** | ||
67 | * @deprecated since 4.1 | 68 | * @deprecated since 4.1 | ||
68 | * Use setCheckActionCollections so that KShortcutWidget knows | 69 | * Use setCheckActionCollections so that KShortcutWidget knows | ||
69 | * in which action collection to call the writeSettings method after stealing | 70 | * in which action collection to call the writeSettings method after stealing | ||
70 | * a shortcut from an action. | 71 | * a shortcut from an action. | ||
71 | */ | 72 | */ | ||
72 | #ifndef KXMLGUI_NO_DEPRECATED | 73 | KXMLGUI_DEPRECATED_VERSION(4, 1, "Use KShortcutWidget::setCheckActionCollections(const QList<KActionCollection *> &)") | ||
73 | KXMLGUI_DEPRECATED void setCheckActionList(const QList<QAction *> &checkList); | 74 | void setCheckActionList(const QList<QAction *> &checkList); | ||
74 | #endif | 75 | #endif | ||
75 | 76 | | |||
76 | Q_SIGNALS: | 77 | Q_SIGNALS: | ||
77 | void shortcutChanged(const QList<QKeySequence> &cut); | 78 | void shortcutChanged(const QList<QKeySequence> &cut); | ||
78 | 79 | | |||
79 | public Q_SLOTS: | 80 | public Q_SLOTS: | ||
80 | void setShortcut(const QList<QKeySequence> &cut); | 81 | void setShortcut(const QList<QKeySequence> &cut); | ||
81 | void clearShortcut(); | 82 | void clearShortcut(); | ||
Show All 20 Lines |