File indexing completed on 2024-12-22 04:52:51

0001 /*
0002     SPDX-FileCopyrightText: 2009 Igor Trindade Oliveira <igor_trindade@yahoo.com.br>
0003     based on kdepimlibs/akonadi/tests/benchmarker.cpp wrote by Robert Zwerus <arzie@dds.nl>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "maildir.h"
0009 
0010 #include <Akonadi/CollectionDeleteJob>
0011 #include <Akonadi/CollectionFetchJob>
0012 #include <Akonadi/ItemDeleteJob>
0013 #include <Akonadi/ItemFetchJob>
0014 #include <Akonadi/ItemFetchScope>
0015 #include <Akonadi/ItemModifyJob>
0016 
0017 #include "akonadi/messageparts.h"
0018 #include <KMime/KMimeMessage>
0019 
0020 #define WAIT_TIME 100
0021 
0022 using namespace Akonadi;
0023 
0024 MailDir::MailDir(const QString &dir)
0025     : MakeTest()
0026 {
0027     createAgent(QStringLiteral("akonadi_maildir_resource"));
0028     configureDBusIface(QStringLiteral("Maildir"), dir);
0029 }
0030 
0031 MailDir::MailDir()
0032     : MakeTest()
0033 {
0034 }
0035 
0036 #include "moc_maildir.cpp"