Changeset View
Changeset View
Standalone View
Standalone View
src/kshortcutwidget.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
46 | 46 | | |||
47 | void setClearButtonsShown(bool show); | 47 | void setClearButtonsShown(bool show); | ||
48 | 48 | | |||
49 | QList<QKeySequence> shortcut() const; | 49 | QList<QKeySequence> shortcut() const; | ||
50 | 50 | | |||
51 | /** | 51 | /** | ||
52 | * Set a list of action collections to check against for conflictuous shortcut. | 52 | * Set a list of action collections to check against for conflictuous shortcut. | ||
53 | * | 53 | * | ||
54 | * If there is a conflictuous shortcut with a KAction, and that his shortcut can be configured | 54 | * If there is a conflictuous shortcut with a QAction, and that his shortcut can be configured | ||
55 | * (KAction::isShortcutConfigurable() returns true) the user will be prompted for eventually steal | 55 | * (KActionCollection::isShortcutConfigurable() returns true) the user will be prompted for eventually steal | ||
56 | * the shortcut from this action | 56 | * the shortcut from this action | ||
57 | * | 57 | * | ||
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 | */ | ||
Show All 38 Lines |