akondi-mime5/akonadi-mime5/autotests/benchmarker/maildir/maildir.cpp

35 lines
794 B
C++
Raw Normal View History

2024-08-05 16:19:50 +02:00
/*
SPDX-FileCopyrightText: 2009 Igor Trindade Oliveira <igor_trindade@yahoo.com.br>
based on kdepimlibs/akonadi/tests/benchmarker.cpp wrote by Robert Zwerus <arzie@dds.nl>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "maildir.h"
#include <Akonadi/CollectionDeleteJob>
#include <Akonadi/CollectionFetchJob>
#include <Akonadi/ItemDeleteJob>
#include <Akonadi/ItemFetchJob>
#include <Akonadi/ItemFetchScope>
#include <Akonadi/ItemModifyJob>
#include "akonadi/messageparts.h"
#include <KMime/KMimeMessage>
#define WAIT_TIME 100
using namespace Akonadi;
MailDir::MailDir(const QString &dir)
: MakeTest()
{
createAgent(QStringLiteral("akonadi_maildir_resource"));
configureDBusIface(QStringLiteral("Maildir"), dir);
}
MailDir::MailDir()
: MakeTest()
{
}