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& );
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:55 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.