KIO::MkpathJob Class
A KIO job that creates a directory, after creating all parent directories necessary for this. More...
- Header:
#include <KIO/MkpathJob> - CMake:
find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore) - Inherits: KIO::Job
List of all members, including inherited members
Signals
Detailed Description
See also KIO::mkpath(), KIO::mkdir()
Member Function Documentation
[signal] void MkpathJob::directoryCreated(const QUrl &url)
Signals that a directory was created.
Related Non-Members
KIO::MkpathJob *mkpath(const QUrl &url, const QUrl &baseUrl = QUrl(), KIO::JobFlags flags = DefaultFlags)
Creates a directory, creating parent directories as needed. Unlike KIO::mkdir(), the job will succeed if the directory exists already.
url The URL of the directory to create.
baseUrl Optionally, the URL to start from, which is known to exist (e.g. the directory currently listed).
flags mkpath() supports HideProgressInfo.
If baseUrl is not an ancestor of url, baseUrl will be ignored.
Returns a pointer to the job handling the operation.