Logo Search packages:      
Sourcecode: d3lphin version File versions  Download package

void Dolphin::setActiveView ( DolphinView view  ) 

Activates the given view, which means that all menu actions are applied to this view. When having a split view setup the nonactive view is usually shown in darker colors.

Definition at line 85 of file dolphin.cpp.

References activeViewChanged(), and DolphinView::url().

Referenced by DolphinView::mouseReleaseEvent(), and toggleSplitView().

{
    assert((view == m_view[PrimaryIdx]) || (view == m_view[SecondaryIdx]));
    if (m_activeView == view) {
        return;
    }

    m_activeView = view;

    updateHistory();
    updateEditActions();
    updateViewActions();
    updateGoActions();

    setCaption(m_activeView->url().fileName());

    emit activeViewChanged();
}


Generated by  Doxygen 1.6.0   Back to index