[Patch] Add two new tree-based modes to KDirOperator

Ivo Anjo knuckles at gmail.com
Wed Jul 9 10:27:17 BST 2008


The following patch adds two new modes to KDirOperator: a "tree view"
mode, where you simply get a file tree, and a "detailed tree view"
mode where you get a file tree and the normal extra columns (size,
type, ...).

As KDirOperatorDetailView -- where the "detailed view" mode is
implemented -- already used a QTreeView, it's easy to turn it into a
real tree, most of the code changed is for KDirOperator to be aware of
the new modes and allowing change between them.

The new modes are by default also shown on the KDirOperator context
menu, but can easily disabled.

This work is mainly directed at easily getting a file tree into Kate
and Kdevelop.

Ivo Anjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_tree_detailtree_to_kdiroperator.patch
Type: text/x-patch
Size: 9168 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080709/e9030554/attachment.bin>

More information about the kde-core-devel mailing list