+ /**
+ * 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);