acerqueiro
acerqueiro

Reputation: 29

QDir information changed

I have a Qt application that creates a qtreeview based on the information of a QDir. Is there a way that if the information on the directory changes (say i add a new file or remove an existing one), the qtreeview is updated?

Thanks! =)

Upvotes: 2

Views: 387

Answers (1)

Roman Saveljev
Roman Saveljev

Reputation: 2594

To monitor file system changes you can use QFileSystemWatcher

Upvotes: 2

Related Questions