What means "Don`t resolve symlinks" (QFileDialog::DontResolveSymlinks)?
-
When using the function
@QString QFileDialog::getExistingDirectory ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), Options options = ShowDirsOnly )@
I can use the option parameter @QFileDialog::DontResolveSymlinks@ like
@QString dir = QFileDialog::getExistingDirectory(this, tr("Open Directory"),
"/home",
QFileDialog::ShowDirsOnly
| QFileDialog::DontResolveSymlinks);@What does @QFileDialog::DontResolveSymlinks@ mean? I am german and I could not find a good translation for this :)).
-
If this is checked, symlinks won't be resolved. So if you have:
dir1 -> ../
dir2 -> dir3
dir4 -> dir5If this would be resolved, it will give you ../dir3/dir5
But if this is set to true, these symlinks won't be resolved.What are symlinks (symbolic links)? You can find more about them here: "Symbolic Links Wiki":http://en.wikipedia.org/wiki/Symbolic_link
I don't really know if I'm right with this though.
-
Ok, as far as I understand now a symlink (symbolic link) is a kind of connection that when clicked "activates/opens" another file/directory etc. . In the above described case of yours opening dir2 opens dir3, dir4 opens dir5. When setting @QFileDialog::DontResolveSymlinks@ those connections won`t work. Right? greetings