-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_view[PrimaryIdx] != 0);
-
- // remember the current active view, as because of
- // the refreshing the active view might change to
- // the secondary view
- DolphinView* activeView = m_activeView;
-
- m_view[PrimaryIdx]->refresh();
- if (m_view[SecondaryIdx] != 0) {
- m_view[SecondaryIdx]->refresh();
- }
-
- setActiveView(activeView);
-}
-