akonadi/kmime
20 #ifndef EMPTYTRASHCOMMAND_P_H 21 #define EMPTYTRASHCOMMAND_P_H 23 #include <commandbase_p.h> 25 #include "akonadi/agentinstance.h" 26 #include "akonadi/collection.h" 28 class QAbstractItemModel;
31 class EmptyTrashCommand :
public CommandBase
36 EmptyTrashCommand(
const QAbstractItemModel *model, QObject *parent);
37 EmptyTrashCommand(
const Akonadi::Collection &folder, QObject *parent);
41 void slotExpungeJob(KJob *job);
42 void slotDeleteJob(KJob *job);
45 void emitResult(Result result);
48 void expunge(
const Akonadi::Collection &col);
49 Akonadi::AgentInstance::List agentInstances();
50 Akonadi::Collection trashCollectionFolder();
51 Akonadi::Collection collectionFromId(
const Akonadi::Collection::Id &
id)
const;
52 bool folderIsTrash(
const Akonadi::Collection &col);
54 const QAbstractItemModel *mModel;
55 Akonadi::Collection::Id the_trashCollectionFolder;
56 Akonadi::Collection mFolder;
57 int mNumberOfTrashToEmpty;
60 #endif // EMPTYTRASHCOMMAND_P_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:51:26 by
doxygen 1.8.14 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.