Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Demonstration of how to dynamically populate models.
C++ Prolog
branch: master

Merge pull request #1 from atamanroman/master

Fix in FtpMode::refresh()
latest commit 4487c33637
@icefox authored


This is a ftpmodel written for Trolltech's Qt version 4.2 or later.  The model demonstrates how to populate branches in a tree on the fly.  When the user clicks to open a folder fetchMore() will then query for the list of the contents of that directory.  The model wraps QFtp.  This is just a demo!
It doesn't implement renaming, drag/drop, or any convenience for uploading/downloading files.
But those can be added without much work if you want to take this and use it.

See for more information about Qt's model/view architecture.

This code is under the BSD license.
Something went wrong with that request. Please try again.