KIO::EmptyTrashJob Class

class KIO::EmptyTrashJob
Header: #include <KIO/EmptyTrashJob>
CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore)
Since: 5.2
Inherits: KIO::SimpleJob
(since 5.2) KIO::EmptyTrashJob *emptyTrash()

Detailed Description

A KIO job for emptying the trash

See also KIO::trash() and KIO::restoreFromTrash().

Related Non-Members

[since 5.2] KIO::EmptyTrashJob *emptyTrash()

Empties the trash.

Returns a pointer to the job handling the operation.

This function was introduced in 5.2.