| 478 | } |
| 479 | |
| 480 | void DefaultFileAccessJobHandler::slotListDirProcessNewEntries(KIO::Job*, const KIO::UDSEntryList& l) |
| 481 | { |
| 482 | //This function is called for non-local urls. Don't use QUrl::fromLocalFile here as it does not handle these. |
| 483 | for(const KIO::UDSEntry& e: l) |
| 484 | { |
| 485 | FileAccess fa; |
| 486 | |
| 487 | fa.setFromUdsEntry(e, mFileAccess); |
| 488 | |
| 489 | //must be manually filtered KDE does not supply API for ignoring these. |
| 490 | if(fa.fileName() != "." && fa.fileName() != ".." && fa.isValid()) |
| 491 | { |
| 492 | m_pDirList->push_back(std::move(fa)); |
| 493 | } |
| 494 | } |
| 495 | } |
nothing calls this directly
no test coverage detected