Akonadi::TrashSettings

Akonadi::TrashSettings Namespace Reference

Functions

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.

Author
Christian Mollekopf chrig.nosp@m.i_1@.nosp@m.fastm.nosp@m.ail..nosp@m.fm
Since
4.8

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-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:51:46 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.