[Qt-interest] QSortFilterProxyModel / lazy population - hasChildren

Florian Turck mail at florianturck.de
Mon Dec 14 19:27:12 CET 2009


I need to overwrite it because my model data is a directory tree from a
FTP server. I want to get the directory listing from the server when and
only when the files in a folder are displayed to simply to avoid
unnecessary FTP requests.

Am 14.12.09 18:18, schrieb Sean Harmer:

> 
> Why do you need to override hasChildren() at all? The standard implementation 
> should do what you need. Or am I missing something?
> 
> Sean

-- 

Florian Turck
Barnerstraße 20
22765 Hamburg

Telefon 040  228155350
Mobil   0178 2892068
Fax     040  228155359

E-Mail  mail at florianturck.de
ICQ     361002295
Skype   florian.turck
PGP-Key http://pgp.florianturck.de/pgp.asc
				
--



More information about the Qt-interest-old mailing list