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.nosp@m.i_1@.nosp@m.fastm.nosp@m.ail..nosp@m.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 Sep 22 2023 03:51:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.