Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Dean Sinaean
Added: Jul 7, 2021 6:49 AM
Views: 32
Tags: no tags
  1.     QDirIterator iter("/home/zhangfuwen", QDir::Hidden | QDir::AllEntries, QDirIterator::Subdirectories);
  2.     while(iter.hasNext()) {
  3.         //std::cout << iter.path().toStdString() << std::endl;
  4.         std::cout << iter.filePath().toStdString() << std::endl;
  5.         //std::cout << iter.fileName().toStdString() << std::endl;
  6.         iter.next();
  7.     }