Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]what signal to capture in order to sync filename
phamtv last edited by
I have an editor with a treeview populated using the QFileSystemModel. The user is allowed to change the filename via the treeview. What signal would I have to connect to so that I can update the file (editor) tab text as well?
vsorokin last edited by
May be this signal can help you
@void QFileSystemModel::fileRenamed ( const QString & path, const QString & oldName, const QString & newName ) [signal]
bq. This signal is emitted whenever a file with the oldName is successfully renamed to newName. The file is located in in the directory path.