akonadi
20 #ifndef AKONADI_TRASHJOB_H
21 #define AKONADI_TRASHJOB_H
23 #include "akonadi_export.h"
25 #include <akonadi/item.h>
26 #include <akonadi/collection.h>
27 #include <akonadi/job.h>
80 explicit TrashJob(
const Item &item, QObject *parent = 0 );
92 explicit TrashJob(
const Item::List &items, QObject *parent = 0 );
110 void keepTrashInCollection(
bool enable );
115 void setTrashCollection(
const Collection &trashcollection );
120 void deleteIfInTrash(
bool enable );
122 Item::List items()
const;
125 virtual void doStart();
129 class TrashJobPrivate;
131 Q_PRIVATE_SLOT( d_func(),
void selectResult( KJob* ) )
133 Q_PRIVATE_SLOT( d_func(),
void setAttribute(
const Akonadi::Item::List & ) )
134 Q_PRIVATE_SLOT( d_func(),
void setAttribute( KJob* ) )
136 Q_PRIVATE_SLOT( d_func(),
void itemsReceived(
const Akonadi::Item::List & ) )
Represents a collection of PIM items.
Base class for all actions in the Akonadi storage.
Job that moves items/collection to trash.
QList< Collection > List
Describes a list of collections.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.