X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/4062c4cf2d9c3a6716ced8686fa2e2324261c0ec..ec00f379dc42b00a64ab1af25bb4bb1a06bd7449:/src/dolphinmainwindow.h diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 93ab2762a..81b8f02c1 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -81,7 +81,7 @@ public: 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(); @@ -122,7 +122,7 @@ public slots: * Inform all affected dolphin components that a selection change is * requested. */ - void changeSelection(const KFileItemList& selection); + void changeSelection(const QList& selection); /** Stores all settings and quits Dolphin. */ void quit(); @@ -138,7 +138,7 @@ signals: * Is sent if the selection of the currently active view has * been changed. */ - void selectionChanged(const KFileItemList& selection); + void selectionChanged(const QList& selection); /** * Is sent if the url of the currently active view has @@ -148,9 +148,9 @@ signals: /** * 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 */ @@ -404,10 +404,10 @@ private slots: * Updates the state of the 'Edit' menu actions and emits * the signal selectionChanged(). */ - void slotSelectionChanged(const KFileItemList& selection); + void slotSelectionChanged(const QList& selection); /** Emits the signal requestItemInfo(). */ - void slotRequestItemInfo(const KUrl& url); + void slotRequestItemInfo(const KFileItem&); /** * Updates the state of the 'Back' and 'Forward' menu @@ -457,11 +457,11 @@ private: /** * 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: /**