#include <kitemviews/kfileitemlistview.h>
#include <kitemviews/kitemlistcontainer.h>
+#include <settings/viewmodes/viewmodesettings.h>
#include <libdolphin_export.h>
-class KDirLister;
class KFileItemListView;
/**
Q_OBJECT
public:
- explicit DolphinItemListContainer(KDirLister* dirLister,
- QWidget* parent = 0);
+ explicit DolphinItemListContainer(QWidget* parent = 0);
virtual ~DolphinItemListContainer();
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;