}
}
-void DolphinMainWindow::toggleViews()
-{
- if (m_viewTab[m_tabIndex].secondaryView == 0) {
- return;
- }
-
- // move secondary view from the last position of the splitter
- // to the first position
- m_viewTab[m_tabIndex].splitter->insertWidget(0, m_viewTab[m_tabIndex].secondaryView);
-
- DolphinViewContainer* container = m_viewTab[m_tabIndex].primaryView;
- m_viewTab[m_tabIndex].primaryView = m_viewTab[m_tabIndex].secondaryView;
- m_viewTab[m_tabIndex].secondaryView = container;
-}
-
void DolphinMainWindow::showCommand(CommandType command)
{
DolphinStatusBar* statusBar = m_activeViewContainer->statusBar();
*/
bool isSplit() const;
- /**
- * If the main window contains two instances of a view container
- * (DolphinMainWindow::isSplit() returns true), then the
- * two views get toggled (the right view is on the left, the left
- * view on the right).
- */
- void toggleViews();
-
/** Renames the item represented by \a oldUrl to \a newUrl. */
void rename(const KUrl& oldUrl, const KUrl& newUrl);