mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
forward requestItemInfo signal
This commit is contained in:
parent
7a7e8ee819
commit
297a67aad8
|
@ -263,11 +263,6 @@ void DolphinMainWindow::slotSelectionChanged(const KFileItemList& selection)
|
||||||
emit selectionChanged(selection);
|
emit selectionChanged(selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DolphinMainWindow::slotRequestItemInfo(const KFileItem& item)
|
|
||||||
{
|
|
||||||
emit requestItemInfo(item);
|
|
||||||
}
|
|
||||||
|
|
||||||
void DolphinMainWindow::updateHistory()
|
void DolphinMainWindow::updateHistory()
|
||||||
{
|
{
|
||||||
const KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
|
const KUrlNavigator* urlNavigator = m_activeViewContainer->urlNavigator();
|
||||||
|
@ -1423,7 +1418,7 @@ void DolphinMainWindow::connectViewSignals(DolphinViewContainer* container)
|
||||||
connect(view, &DolphinView::selectionChanged,
|
connect(view, &DolphinView::selectionChanged,
|
||||||
this, &DolphinMainWindow::slotSelectionChanged);
|
this, &DolphinMainWindow::slotSelectionChanged);
|
||||||
connect(view, &DolphinView::requestItemInfo,
|
connect(view, &DolphinView::requestItemInfo,
|
||||||
this, &DolphinMainWindow::slotRequestItemInfo);
|
this, &DolphinMainWindow::requestItemInfo);
|
||||||
connect(view, &DolphinView::tabRequested,
|
connect(view, &DolphinView::tabRequested,
|
||||||
this, &DolphinMainWindow::openNewTab);
|
this, &DolphinMainWindow::openNewTab);
|
||||||
connect(view, &DolphinView::requestContextMenu,
|
connect(view, &DolphinView::requestContextMenu,
|
||||||
|
|
|
@ -312,9 +312,6 @@ private slots:
|
||||||
*/
|
*/
|
||||||
void slotSelectionChanged(const KFileItemList& selection);
|
void slotSelectionChanged(const KFileItemList& selection);
|
||||||
|
|
||||||
/** Emits the signal requestItemInfo(). */
|
|
||||||
void slotRequestItemInfo(const KFileItem&);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the state of the 'Back' and 'Forward' menu
|
* Updates the state of the 'Back' and 'Forward' menu
|
||||||
* actions corresponding to the current history.
|
* actions corresponding to the current history.
|
||||||
|
|
Loading…
Reference in a new issue