Akonadi::TrashSettings Namespace Reference


AKONADICORE_EXPORT Collection getTrashCollection (const QString &resource)
AKONADICORE_EXPORT void setTrashCollection (const QString &resource, const Collection &collection)

Detailed Description

Global Trash-related Settings.

All settings concerning the trashhandling should go here.

Christian Mollekopf chrig[email protected][email protected][email protected]fastm[email protected]ail.[email protected]fm

Function Documentation

◆ getTrashCollection()

Akonadi::Collection Akonadi::TrashSettings::getTrashCollection ( const QString resource)

Get the trash collection for the given resource.

Definition at line 18 of file trashsettings.cpp.

◆ setTrashCollection()

void Akonadi::TrashSettings::setTrashCollection ( const QString resource,
const Collection collection 

Set the trash collection for the given resource which is then used by the TrashJob.

Definition at line 27 of file trashsettings.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Jan 27 2023 07:39:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.