+ void updateSplitAction();
+
+ /**
+ * Sets the window sides the toolbar may be moved to based on toolbar contents.
+ */
+ void updateAllowedToolbarAreas();
+
+ bool isKompareInstalled() const;
+
+ /**
+ * Creates an action for showing/hiding a panel, that is accessible
+ * in "Configure toolbars..." and "Configure shortcuts...". This is necessary
+ * as the action for toggling the dock visibility is done by Qt which
+ * is no KAction instance.
+ */
+ void createPanelAction(const QIcon &icon,
+ const QKeySequence& shortcut,
+ QAction* dockAction,
+ const QString& actionName);
+
+ /** Adds "What's This?" texts to many widgets and StandardActions. */
+ void setupWhatsThis();
+
+ /** Returns preferred search tool as configured in "More Search Tools" menu. */
+ QPointer<QAction> preferredSearchTool();
+
+ /**
+ * Adds this action to the mainWindow's toolbar and saves the change
+ * in the users ui configuration file.
+ * This method is only needed for migration and should be removed once we can expect
+ * that pretty much all users have been migrated. Remove in 2026 because that's when
+ * even the most risk-averse distros will already have been forced to upgrade.
+ * @return true if successful. Otherwise false.
+ */
+ bool addHamburgerMenuToToolbar();