*/
void setViewsToHomeIfMountPathOpen(const QString& mountPath);
+ /**
+ * Sets any of the window's view containers which are currently displaying
+ * invalid locations to the home path
+ */
+ void setViewsWithInvalidPathsToHome();
+
+ bool isFoldersPanelEnabled() const;
+ bool isInformationPanelEnabled() const;
+
public slots:
/**
* Opens each directory in \p dirs in a separate tab. If \a splitView is set,
/** Handles QWhatsThisClickedEvent and passes all others on. */
bool eventFilter(QObject*, QEvent*) override;
+protected slots:
+ /**
+ * Calls the base method KXmlGuiWindow::saveNewToolbarConfig().
+ * Is also used to set toolbar constraints and UrlNavigator position
+ * based on the newly changed toolbar configuration.
+ */
+ void saveNewToolbarConfig() override;
+
private slots:
/**
* Refreshes the views of the main window by recreating them according to
*/
void updateSplitAction();
+ /**
+ * Sets the window sides the toolbar may be moved to based on toolbar contents.
+ */
+ void updateAllowedToolbarAreas();
+
bool isKompareInstalled() const;
/**
KToolBarPopupAction* m_backAction;
KToolBarPopupAction* m_forwardAction;
+ /** Makes sure that only one object is ever connected to the history. */
+ QMetaObject::Connection m_updateHistoryConnection;
+
QMenu m_searchTools;
};