[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kio
From:       David Faure <faure () kde ! org>
Date:       2007-05-03 19:59:39
Message-ID: 1178222379.118096.24520.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 660804 by dfaure:

Replaced the two Q3Dict< QList<KDirLister *> > with a (imho) better data structure:
 one per-directory-url hash, where the value is a struct with the two lists of \
dirlisters (listers and holders). This reduces the number of lookups greatly, we get \
the dirData for the url and then we can mess with the lists. Also replaced the \
Q3Dict<QTimer> with a single timer, and finally implemented processPendingUpdates(). \
Simplified slotFileDirty to only do file-related code for files and directory-related \
code for dirs, instead of both. Added unit tests for newItems, refreshItems, and \
deleteItems.

CCMAIL: brade@kde.org


 M  +757 -896  kio/kdirlister.cpp  
 M  +1 -0      kio/kdirlister.h  
 M  +64 -56    kio/kdirlister_p.h  
 M  +130 -19   tests/kdirlistertest.cpp  
 M  +6 -3      tests/kdirlistertest.h  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic