Changeset View
Changeset View
Standalone View
Standalone View
src/kshortcutsdialog.cpp
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Line(s) | 69 | public: | |||
---|---|---|---|---|---|
146 | KShortcutSchemesEditor *m_schemeEditor; | 146 | KShortcutSchemesEditor *m_schemeEditor; | ||
147 | QPushButton *m_detailsButton; | 147 | QPushButton *m_detailsButton; | ||
148 | bool m_saveSettings; | 148 | bool m_saveSettings; | ||
149 | }; | 149 | }; | ||
150 | 150 | | |||
151 | KShortcutsDialog::KShortcutsDialog(KShortcutsEditor::ActionTypes types, KShortcutsEditor::LetterShortcuts allowLetterShortcuts, QWidget *parent) | 151 | KShortcutsDialog::KShortcutsDialog(KShortcutsEditor::ActionTypes types, KShortcutsEditor::LetterShortcuts allowLetterShortcuts, QWidget *parent) | ||
152 | : QDialog(parent), d(new KShortcutsDialogPrivate(this)) | 152 | : QDialog(parent), d(new KShortcutsDialogPrivate(this)) | ||
153 | { | 153 | { | ||
154 | setWindowTitle(i18n("Configure Keyboard Shortcuts")); | 154 | setWindowTitle(i18nc("@title:window", "Configure Keyboard Shortcuts")); | ||
155 | setModal(true); | 155 | setModal(true); | ||
156 | 156 | | |||
157 | QVBoxLayout *layout = new QVBoxLayout; | 157 | QVBoxLayout *layout = new QVBoxLayout; | ||
158 | setLayout(layout); | 158 | setLayout(layout); | ||
159 | 159 | | |||
160 | d->m_keyChooser = new KShortcutsEditor(this, types, allowLetterShortcuts); | 160 | d->m_keyChooser = new KShortcutsEditor(this, types, allowLetterShortcuts); | ||
161 | layout->addWidget(d->m_keyChooser); | 161 | layout->addWidget(d->m_keyChooser); | ||
162 | 162 | | |||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |