generated from general-packages/pika-pkg-template
a8e7e301c1
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 12s
35 lines
794 B
C++
35 lines
794 B
C++
/*
|
|
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()
|
|
{
|
|
}
|