]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinviewactionhandler.h
Fix style-issues in items when not using Oxygen
[dolphin.git] / src / views / dolphinviewactionhandler.h
index 05339ce3740cc928c822a9579d8e67178c1ab035..647c6390c93d4d98498a9f8bb8f610748443c500 100644 (file)
 #define DOLPHINVIEWACTIONHANDLER_H
 
 #include "libdolphin_export.h"
-#include <kactionmenu.h>
-#include <kselectaction.h>
+#include <KActionMenu>
+#include <KSelectAction>
 #include "views/dolphinview.h"
-#include <QtCore/QObject>
+#include <QObject>
 
 class KToggleAction;
 class QAction;
@@ -124,7 +124,7 @@ private Q_SLOTS:
     void togglePreview(bool);
 
     /** Updates the state of the 'Show preview' menu action. */
-    void slotShowPreviewChanged();
+    void slotPreviewsShownChanged(bool shown);
 
     /** Increases the size of the current set view mode. */
     void zoomIn();
@@ -156,7 +156,7 @@ private Q_SLOTS:
     /**
      * Updates the state of the 'Zoom In' and 'Zoom Out' actions.
      */
-    void slotZoomLevelChanged(int level);
+    void slotZoomLevelChanged(int current, int previous);
 
     /**
      * Switches on or off the displaying of additional information
@@ -172,17 +172,18 @@ private Q_SLOTS:
     /**
      * Updates the state of the 'Additional Information' actions.
      */
-    void slotAdditionalInfoChanged();
+    void slotAdditionalInfoListChanged(const QList<DolphinView::AdditionalInfo>& current,
+                                       const QList<DolphinView::AdditionalInfo>& previous);
 
     /**
-     * Switches between sorting by categories or not.
+     * Switches between sorting by groups or not.
      */
-    void toggleSortCategorization(bool);
+    void toggleGroupedSorting(bool);
 
     /**
      * Updates the state of the 'Categorized sorting' menu action.
      */
-    void slotCategorizedSortingChanged();
+    void slotGroupedSortingChanged(bool sortCategorized);
 
     /**
      * Switches between showing and hiding of hidden marked files
@@ -192,7 +193,7 @@ private Q_SLOTS:
     /**
      * Updates the state of the 'Show hidden files' menu action.
      */
-    void slotShowHiddenFilesChanged();
+    void slotHiddenFilesShownChanged(bool shown);
 
     /**
      * Opens the view properties dialog, which allows to modify the properties
@@ -234,16 +235,16 @@ private:
     KToggleAction* iconsModeAction();
 
     /**
-     * Returns the "switch to details mode" action.
+     * Returns the "switch to compact mode" action.
      * Helper method for createActions();
      */
-    KToggleAction* detailsModeAction();
+    KToggleAction* compactModeAction();
 
     /**
-     * Returns the "switch to columns mode" action.
+     * Returns the "switch to details mode" action.
      * Helper method for createActions();
      */
-    KToggleAction* columnsModeAction();
+    KToggleAction* detailsModeAction();
 
     KActionCollection* m_actionCollection;
     DolphinView* m_currentView;