KIO::EmptyTrashJob Class

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

Detailed Description

A KIO job for emptying the trash

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

Related Non-Members

KIO::EmptyTrashJob *emptyTrash()

Empties the trash.

Returns a pointer to the job handling the operation.