[Qt-interest] QDir - How to get the latest Open Directory

Lucas Pereira Caixeta lpcnew at gmail.com
Tue Apr 6 13:58:32 CEST 2010


Guys,

I opened a file, now I need to take the path of this file. How do I do that?
I could just get the QDir:: HOMEPATH ();. What I needed was a "QDir::
lastPath" where I'd get the last accessed path.
For when I open a file and want to open another already appear the directory
where the files are.

I'm using Linux.

Thank you for your help now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100406/61ad0cb9/attachment.html 


More information about the Qt-interest-old mailing list