[PATCH] ported kurlcompletion.cpp!DirectoryListThread::run() to use Qt APIs

David Faure faure at kde.org
Tue Apr 29 14:15:24 BST 2008


On Thursday 24 April 2008, Michael O'Shea wrote:
> The patch replaces all directory and file information function calls
> (readdir_r,  KDE_stat, etc) with Qt functions in method void
> DirectoryListThread::run() in kdelibs\kio\kio\kurlcompletion.cpp

The main concert is going to be performance, did you profile it before and after?

currentDir.entryInfoList() seems costly for large directories, maybe QDirIterator is better?

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list