KIO::MkdirJob Class
Network transparent access to files and data. More...
- Header:
#include <KIO/MkdirJob> - CMake:
find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore) - Inherits: KIO::SimpleJob
List of all members, including inherited members
Public Functions
- void setOwnership(int uid, int gid) (since 6.28)
Signals
- void permanentRedirection(KIO::Job *job, const QUrl &fromUrl, const QUrl &toUrl)
- void redirection(KIO::Job *job, const QUrl &url)
Detailed Description
A KIO job that creates a directory
See also KIO::mkdir()
Member Function Documentation
[signal] void MkdirJob::permanentRedirection(KIO::Job *job, const QUrl &fromUrl, const QUrl &toUrl)
Signals a permanent redirection. The redirection itself is handled internally.
job the job that is redirected
fromUrl the original URL
toUrl the new URL
[signal] void MkdirJob::redirection(KIO::Job *job, const QUrl &url)
Signals a redirection. Use to update the URL shown to the user. The redirection itself is handled internally.
job the job that is redirected
url the new url
[since 6.28] void MkdirJob::setOwnership(int uid, int gid)
uid and gid to use for the new directory
Only supported on unix filesystem.
This function was introduced in Qt 6.28.
Related Non-Members
KIO::MkdirJob *mkdir(const QUrl &url, int permissions = -1)
Creates a single directory.
url The URL of the directory to create.
permissions The permissions to set after creating the directory (unix-style), -1 for default permissions. Returns a pointer to the job handling the operation.