akonadi/kmime
21 #include "../dbusconnectionpool.h"
22 #include "imapsettings.h"
23 #include "akonadi/servermanager.h"
26 #include <kio/jobclasses.h>
28 #include <KIO/JobUiDelegate>
33 void 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();
46 OrgKdeAkonadiImapSettingsInterface *createImapSettingsInterface(
const QString &ident)
49 return new OrgKdeAkonadiImapSettingsInterface(Akonadi::ServerManager::agentServiceName(Akonadi::ServerManager::Resource, ident),
51 Akonadi::DBusConnectionPool::threadConnection());
QString fromLatin1(const char *str, int size)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:24 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.