akonadi/kmime
21#include "../dbusconnectionpool.h"
22#include "imapsettings.h"
23#include "akonadi/servermanager.h"
26#include <kio/jobclasses.h>
28#include <KIO/JobUiDelegate>
33void showJobError(KJob *job)
38 KIO::Job *kiojob =
dynamic_cast<KIO::Job *
>(job);
39 if (kiojob && kiojob->ui()) {
40 kiojob->ui()->showErrorMessage();
42 kWarning() <<
"There is no GUI delegate set for a kjob, and it failed with error:" << job->errorString();
46OrgKdeAkonadiImapSettingsInterface *createImapSettingsInterface(
const QString &ident)
49 return new OrgKdeAkonadiImapSettingsInterface(Akonadi::ServerManager::agentServiceName(Akonadi::ServerManager::Resource, ident),
50 QString::fromLatin1(
"/Settings"),
51 Akonadi::DBusConnectionPool::threadConnection());
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.