#include <kurlnavigator.h>
-#include <QDropEvent>
-#include <QLinkedList>
-#include <QListView>
-#include <QMouseEvent>
-#include <QVBoxLayout>
-#include <QWidget>
+#include <QtGui/QKeyEvent>
+#include <QtCore/QLinkedList>
+#include <QtGui/QListView>
+#include <QtGui/QBoxLayout>
+#include <QtGui/QWidget>
class DolphinController;
class FilterBar;
/** Reloads the current directory. */
void reload();
+ /**
+ * Refreshs the view to get synchronized with the (updated) Dolphin settings.
+ * This method only needs to get invoked if the view settings for the Icons View,
+ * Details View or Columns View have been changed.
+ */
+ void refresh();
+
public slots:
/**
* Popups the filter bar above the status bar if \a show is true.
void requestActivation();
/**
- * Request of a selection change. The view will do its best to accomodate
+ * Request of a selection change. The view will do its best to accommodate
* the request, but it is not guaranteed that all items in \a selection
* will actually get selected. The view will e.g. not select items which
* are not in the currently displayed folder.
* Replaces the icon of the item \a item by the preview pixmap
* \a pixmap.
*/
- void showPreview(const KFileItem* item, const QPixmap& pixmap);
+ void showPreview(const KFileItem& item, const QPixmap& pixmap);
/**
* Restores the x- and y-position of the contents if the
bool m_showProgress;
bool m_blockContentsMovedSignal;
+ bool m_initializeColumnView;
Mode m_mode;
int m_iconSize;