Demonstration of how to dynamically populate models.
Fetching latest commit…
Cannot retrieve the latest commit at this time
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 http://doc.trolltech.com/model-view-programming.html for more information about Qt's model/view architecture. This code is under the BSD license.