KIO::RestoreJob Class

Header: #include <RestoreJob>
CMake: find_package(KF6 REQUIRED COMPONENTS KIO)
target_link_libraries(mytarget PRIVATE KF6::KIOCore)
Inherits: KIO::Job

Public Functions

QList<QUrl> trashUrls() const

Detailed Description

@class KIO::RestoreJob restorejob.h <KIO/RestoreJob>

RestoreJob is used to restore files from the trash. Don't create the job directly, but use KIO::restoreFromTrash().

@see KIO::trash() @see KIO::copy() @since 5.2

Member Function Documentation

QList<QUrl> RestoreJob::trashUrls() const

Returns the list of trash URLs to restore.