]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinitemlistcontainer.h
Fixed the signal connection that emits completed in Dolphin's KPart
[dolphin.git] / src / views / dolphinitemlistcontainer.h
index 9cf4bff3fe96fe2be8f98b799dc8030e06e06f1b..f3505b663687e5fc21e148054c1fa596a669da44 100644 (file)
 
 #include <kitemviews/kfileitemlistview.h>
 #include <kitemviews/kitemlistcontainer.h>
+#include <settings/viewmodes/viewmodesettings.h>
 
 #include <libdolphin_export.h>
 
-class KDirLister;
 class KFileItemListView;
 
 /**
@@ -43,8 +43,7 @@ class LIBDOLPHINPRIVATE_EXPORT DolphinItemListContainer : public KItemListContai
     Q_OBJECT
 
 public:
-    explicit DolphinItemListContainer(KDirLister* dirLister,
-                                      QWidget* parent = 0);
+    explicit DolphinItemListContainer(QWidget* parent = 0);
 
     virtual ~DolphinItemListContainer();
 
@@ -63,8 +62,20 @@ public:
     void beginTransaction();
     void endTransaction();
 
+    void readSettings();
+    void writeSettings();
+
 private:
     void updateGridSize();
+    void updateFont();
+
+    /**
+     * Updates the auto activation delay of the itemlist controller
+     * dependent on the 'autoExpand' setting from the general settings.
+     */
+    void updateAutoActivationDelay();
+
+    ViewModeSettings::ViewMode viewMode() const;
 
 private:
     int m_zoomLevel;