Changeset View
Changeset View
Standalone View
Standalone View
src/kshortcutwidget.cpp
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
73 | QList<QKeySequence> KShortcutWidget::shortcut() const | 73 | QList<QKeySequence> KShortcutWidget::shortcut() const | ||
74 | { | 74 | { | ||
75 | QList<QKeySequence> ret; | 75 | QList<QKeySequence> ret; | ||
76 | ret << d->ui.priEditor->keySequence() | 76 | ret << d->ui.priEditor->keySequence() | ||
77 | << d->ui.altEditor->keySequence(); | 77 | << d->ui.altEditor->keySequence(); | ||
78 | return ret; | 78 | return ret; | ||
79 | } | 79 | } | ||
80 | 80 | | |||
81 | #ifndef KXMLGUI_NO_DEPRECATED | 81 | #if KXMLGUI_BUILD_DEPRECATED_SINCE(4, 1) | ||
82 | void KShortcutWidget::setCheckActionList(const QList<QAction *> &checkList) | 82 | void KShortcutWidget::setCheckActionList(const QList<QAction *> &checkList) | ||
83 | { | 83 | { | ||
84 | d->ui.priEditor->setCheckActionList(checkList); | 84 | d->ui.priEditor->setCheckActionList(checkList); | ||
85 | d->ui.altEditor->setCheckActionList(checkList); | 85 | d->ui.altEditor->setCheckActionList(checkList); | ||
86 | } | 86 | } | ||
87 | #endif | 87 | #endif | ||
88 | 88 | | |||
89 | void KShortcutWidget::setCheckActionCollections(const QList<KActionCollection *> &actionCollections) | 89 | void KShortcutWidget::setCheckActionCollections(const QList<KActionCollection *> &actionCollections) | ||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |