PDA

View Full Version : QString or QDir?



tuli
24th July 2014, 14:53
I am handling simple, absolute paths in my application and pass them around. Should i use QString to do so or QDir?

wysota
24th July 2014, 14:57
It depends whether you will want to use them with QDir api or not. If not and you are going to use them with QString API then pass by QString, otherwise use QFileInfo or similar.