How can I list/take only directories from a directory?
E.g.
directory.setFolderMode(); //example ! :P
directory.setCurrent("/home/alex/");
for (int i =0; i > directory.count(); i++){
directory.at(i) //mpla mpla...
}
QDir directory = new QDir;
directory.setFolderMode(); //example ! :P
directory.setCurrent("/home/alex/");
for (int i =0; i > directory.count(); i++){
directory.at(i) //mpla mpla...
}
To copy to clipboard, switch view to plain text mode
Very sample code, it's just to understand what i want to achieve...
Well, that's what i want to do... Take the subfolder names from a specific dir and perform some actions with each one separately...
Is there any way to do this?
Bookmarks