┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnwidget.h
diff options
context:
space:
mode:
authorJohn Tapsell <[email protected]>2007-12-03 10:32:27 +0000
committerJohn Tapsell <[email protected]>2007-12-03 10:32:27 +0000
commite80f07735774cfd8e4debef48cbef7869506e585 (patch)
treef3da24f85c408335ca17c7190aab466e766146b6 /src/dolphincolumnwidget.h
parent0f4ecd1c61631bcd8fb050f4d8af5c49e78bbeee (diff)
The first columns model and selection model should be the same as the view's model and selection model.
This means 1) We don't leak memory switching to and from column view 2) Selection is preserved when switching views 3) We don't have 2 models running for the root directory CCMAIL:[email protected] svn path=/trunk/KDE/kdebase/apps/; revision=744386
Diffstat (limited to 'src/dolphincolumnwidget.h')
-rw-r--r--src/dolphincolumnwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphincolumnwidget.h b/src/dolphincolumnwidget.h
index e8fea3bf5..14b4c8751 100644
--- a/src/dolphincolumnwidget.h
+++ b/src/dolphincolumnwidget.h
@@ -89,6 +89,7 @@ public:
* which contain the given filter string will be shown.
*/
void setNameFilter(const QString& nameFilter);
+ virtual void setModel ( QAbstractItemModel * model );
protected:
virtual QStyleOptionViewItem viewOptions() const;