void rename(const KUrl& oldUrl, const KUrl& newUrl);
/**
- * Refreshs the views of the main window by recreating them dependent from
+ * Refreshes the views of the main window by recreating them dependent from
* the given Dolphin settings.
*/
void refreshViews();
* Inform all affected dolphin components that a selection change is
* requested.
*/
- void changeSelection(const KFileItemList& selection);
+ void changeSelection(const QList<KFileItem>& selection);
/** Stores all settings and quits Dolphin. */
void quit();
* Is sent if the selection of the currently active view has
* been changed.
*/
- void selectionChanged(const KFileItemList& selection);
+ void selectionChanged(const QList<KFileItem>& selection);
/**
* Is sent if the url of the currently active view has
/**
* Is emitted if information of an item is requested to be shown e. g. in the sidebar.
- * It the URL is empty, no item information request is pending.
+ * If item is null, no item information request is pending.
*/
- void requestItemInfo(const KUrl& url);
+ void requestItemInfo(const KFileItem& item);
protected:
/** @see QMainWindow::closeEvent */
* Updates the state of the 'Edit' menu actions and emits
* the signal selectionChanged().
*/
- void slotSelectionChanged(const KFileItemList& selection);
+ void slotSelectionChanged(const QList<KFileItem>& selection);
/** Emits the signal requestItemInfo(). */
- void slotRequestItemInfo(const KUrl& url);
+ void slotRequestItemInfo(const KFileItem&);
/**
* Updates the state of the 'Back' and 'Forward' menu
/**
* Updates the text of the split action:
- * If \a isSplit is true, the text is set to "Split",
+ * If two views are shown, the text is set to "Split",
* otherwise the text is set to "Join". The icon
- * is updated to match with the text.
+ * is updated to match with the text and the currently active view.
*/
- void updateSplitAction(bool isSplit);
+ void updateSplitAction();
private:
/**