-void DolphinMainWindow::rename(const KUrl& oldUrl, const KUrl& newUrl)
-{
- clearStatusBar();
- KonqOperations::rename(this, oldUrl, newUrl);
- m_undoCommandTypes.append(KonqUndoManager::RENAME);
-}
-
-void DolphinMainWindow::refreshViews()
-{
- Q_ASSERT(m_viewContainer[PrimaryIdx] != 0);
-
- // remember the current active view, as because of
- // the refreshing the active view might change to
- // the secondary view
- DolphinViewContainer* activeViewContainer = m_activeViewContainer;
-
- m_viewContainer[PrimaryIdx]->view()->refresh();
- if (m_viewContainer[SecondaryIdx] != 0) {
- m_viewContainer[SecondaryIdx]->view()->refresh();
- }
-
- setActiveView(activeViewContainer);
-}
-