KIO::MkdirJob Class

class KIO::MkdirJob
Header: #include <KIO/MkdirJob>
CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore)
Inherits: KIO::SimpleJob

Signals

void permanentRedirection(KIO::Job *job, const QUrl &fromUrl, const QUrl &toUrl)
void redirection(KIO::Job *job, const QUrl &url)
KIO::MkdirJob *mkdir(const QUrl &url, int permissions = -1)

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

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.