diff options
| author | Peter Penz <[email protected]> | 2006-12-14 23:49:30 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2006-12-14 23:49:30 +0000 |
| commit | 1547891be25c90446034f24d0487426e174c7849 (patch) | |
| tree | bdbdfbbbf6ba48114ffa9f2608d11c5ccbb9c5dc /src/dolphinview.h | |
| parent | 418cfc1d7420eec3b8624b03e1e8250ba31dc08b (diff) | |
Use QSortFilterProxyModel for sorting KFileItems (thanks to Fredrik for this hint!). TODO: the implementation does not work yet, as QSortFilerProxyModel::lessThan() is not invoked; I'm too tired currently for finding the root of this ;-)
svn path=/trunk/playground/utils/dolphin/; revision=613747
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 6aa5967f6..42e54f802 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -50,6 +50,7 @@ class DolphinDirLister; class DolphinStatusBar; class DolphinIconsView; class DolphinDetailsView; +class DolphinSortFilterProxyModel; class ViewProperties; class KProgress; class FilterBar; @@ -452,19 +453,20 @@ private: bool m_showProgress; Mode m_mode; + int m_iconSize; + int m_folderCount; + int m_fileCount; + DolphinMainWindow* m_mainWindow; QVBoxLayout* m_topLayout; UrlNavigator* m_urlNavigator; DolphinIconsView* m_iconsView; + FilterBar *m_filterBar; DolphinStatusBar* m_statusBar; - int m_iconSize; - int m_folderCount; - int m_fileCount; - DolphinDirLister* m_dirLister; + DolphinSortFilterProxyModel* m_proxyModel; - FilterBar *m_filterBar; }; #endif // _DOLPHINVIEW_H_ |
