Akonadi
trashrestorejob.h
21 * The EntityDeletedAttribute is removed and the item is restored to the stored restore collection.
23 * If the stored restore collection is not available, the root collection of the original resource is used.
24 * If also this is not available, setTargetCollection has to be used to restore the item to a specific collection.
TrashRestoreJob(const Item &item, QObject *parent=nullptr)
All items need to be from the same resource.
Definition trashrestorejob.cpp:286
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition trashrestorejob.cpp:323
void setTargetCollection(const Collection &collection)
Sets the target collection, where the item is moved to.
Definition trashrestorejob.cpp:311
Helper integration between Akonadi and Qt.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.