]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
use "Sort by" instead of "Sort By"
[dolphin.git] / src / dolphinmainwindow.h
index 93ab2762a0810790b9d81232f4345dda4eb4cabb..81b8f02c1da586af27cb2879857a4b7423e67aed 100644 (file)
@@ -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<KFileItem>& 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<KFileItem>& 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<KFileItem>& 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:
     /**