From kde-core-devel Thu Jul 10 12:20:58 2008 From: Andreas Pakulat Date: Thu, 10 Jul 2008 12:20:58 +0000 To: kde-core-devel Subject: Re: [Patch] Add two new tree-based modes to KDirOperator Message-Id: <20080710122056.GA11034 () morpheus ! apaku ! dnsalias ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=121569250315784 On 09.07.08 10:27:17, Ivo Anjo wrote: > Hello. > > 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. Having tested this a bit, it works fine and I can't see any problems with the code itself. Peter, Rafael what do you think? Andreas -- Your fly might be open (but don't check it just now).