akonadi/kmime
21 #ifndef EMPTYTRASHCOMMAND_P_H
22 #define EMPTYTRASHCOMMAND_P_H
24 #include <commandbase_p.h>
26 #include "akonadi/agentinstance.h"
27 #include "akonadi/collection.h"
29 class QAbstractItemModel;
32 class EmptyTrashCommand :
public CommandBase
37 EmptyTrashCommand(
const QAbstractItemModel* model, QObject* parent);
38 EmptyTrashCommand(
const Akonadi::Collection& folder, QObject* parent);
42 void slotExpungeJob( KJob *job );
43 void slotDeleteJob( KJob *job );
46 void emitResult( Result result );
49 void expunge(
const Akonadi::Collection& );
50 Akonadi::AgentInstance::List agentInstances();
51 Akonadi::Collection trashCollectionFolder();
52 Akonadi::Collection collectionFromId(
const Akonadi::Collection::Id&
id)
const;
53 bool folderIsTrash(
const Akonadi::Collection & col );
55 const QAbstractItemModel* mModel;
56 Akonadi::Collection::Id the_trashCollectionFolder;
57 Akonadi::Collection mFolder;
58 int mNumberOfTrashToEmpty;
61 #endif // EMPTYTRASHCOMMAND_P_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:54 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.