]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Provide the "sort by" actions in dolphinpart (konqueror); share and simplify the...
[dolphin.git] / src / dolphinmainwindow.h
index b1694c323ac4869b94328ab658b85a2ef9e47001..a7204703997619f3870a1d7f3f09942a9a3ac036 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <QtCore/QList>
 
+class KAction;
 class DolphinViewActionHandler;
 class DolphinApplication;
 class DolphinViewContainer;
@@ -222,36 +223,6 @@ private slots:
      */
     void invertSelection();
 
-    /** The current active view is switched to a new view mode. */
-    void setViewMode(QAction *);
-
-    /** The sorting of the current view should be done by the name. */
-    void sortByName();
-
-    /** The sorting of the current view should be done by the size. */
-    void sortBySize();
-
-    /** The sorting of the current view should be done by the date. */
-    void sortByDate();
-
-    /** The sorting of the current view should be done by the permissions. */
-    void sortByPermissions();
-
-    /** The sorting of the current view should be done by the owner. */
-    void sortByOwner();
-
-    /** The sorting of the current view should be done by the group. */
-    void sortByGroup();
-
-    /** The sorting of the current view should be done by the type. */
-    void sortByType();
-
-    /** The sorting of the current view should be done by the rating. */
-    void sortByRating();
-
-    /** The sorting of the current view should be done by tags. */
-    void sortByTags();
-
     /**
      * Switches between one and two views:
      * If one view is visible, it will get split into two views.
@@ -271,7 +242,7 @@ private slots:
     void toggleFilterBarVisibility(bool show);
 
     /**
-     * Toggles between edit and brose mode of the navigation bar.
+     * Toggles between edit and browse mode of the navigation bar.
      */
     void toggleEditLocation();
 
@@ -314,11 +285,8 @@ private slots:
     /** Opens the settings dialog for Dolphin. */
     void editSettings();
 
-    /** Updates the state of all 'View' menu actions. */
-    void slotViewModeChanged();
-
-    /** Updates the state of the 'Sort by' actions. */
-    void slotSortingChanged(DolphinView::Sorting sorting);
+    /** Updates the state of the 'Show Full Location' action. */
+    void slotEditableStateChanged(bool editable);
 
     /**
      * Updates the state of the 'Edit' menu actions and emits