- QString tabProperty(const QString& property, int tabIndex) const;
-
- /**
- * Sets the window caption to url.fileName() if this is non-empty,
- * "/" if the URL is "file:///", and url.protocol() otherwise.
- */
- void setUrlAsCaption(const KUrl& url);
-
- QString squeezedText(const QString& text) const;
-
- /**
- * Adds a clone of the action \a action to the action-collection with
- * the name \a actionName, so that the action \a action also can be
- * added to the toolbar by the user. This is useful if the creation of
- * \a action is e.g. done in Qt and hence cannot be added directly
- * to the action-collection.
- */
- void addActionCloneToCollection(QAction* action, const QString& actionName);
+ void createPanelAction(const QIcon &icon,
+ const QKeySequence& shortcut,
+ QAction* dockAction,
+ const QString& actionName);