[Kde-pim] Ldap model

Tobias Koenig tokoe at kde.org
Fri Jan 5 13:15:20 GMT 2007


On Thu, Jan 04, 2007 at 10:37:55PM +0000, Sean Harmer wrote:
> On Thursday 04 January 2007 22:14, Tobias Koenig wrote:
Hi Sean,

> > What's about a tree model?
> 
> I suppose we could use a single tree model, and apply filtering as to whether 
> to show only child objects (like dir's), only the attributes of the current 
> object (like files in a dir), or both. I guess this would need the ability to 
> set filters like QDirModel to get this to work. I'll take a look at it.
Yes, very good idea.

> > > The second model is derived from QAbstractTableModel and represents a
> > > single LDAP object.
> >
> > Is it possible to make the model support lazy loading?
> I'm already working on it. I just need to get my head around the behaviour of 
> canFetchMore() and fetchMore(). I think there is a bug fix coming in Qt 4.2.2 
> that will make this work as advertised.
The current qt-copy in trunk/ is already version 4.2.2, so you can test
it.

Ciao,
Tobias
-- 
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070105/4e7a56bf/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


More information about the kde-pim mailing list