|
|
|
|
@ -2130,6 +2130,12 @@ void KMMainWidget::slotUndo() |
|
|
|
|
updateFolderMenu(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
void KMMainWidget::slotFocusFilterFolder() |
|
|
|
|
{ |
|
|
|
|
mFolderTreeWidget->filterFolderLineEdit()->setFocus(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
void KMMainWidget::slotJumpToFolder() |
|
|
|
|
{ |
|
|
|
|
@ -3364,6 +3370,13 @@ void KMMainWidget::setupActions() |
|
|
|
|
this, &KMMainWidget::slotJumpToFolder); |
|
|
|
|
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::Key_J)); |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
QAction *action = new QAction(i18n("Filter Folder list..."), this); |
|
|
|
|
actionCollection()->addAction(QStringLiteral("filter_folder"), action); |
|
|
|
|
connect(action, &QAction::triggered, |
|
|
|
|
this, &KMMainWidget::slotFocusFilterFolder); |
|
|
|
|
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL + Qt::Key_J)); |
|
|
|
|
} |
|
|
|
|
{ |
|
|
|
|
QAction *action = new QAction(i18n("Abort Current Operation"), this); |
|
|
|
|
actionCollection()->addAction(QStringLiteral("cancel"), action); |
|
|
|
|
|