akonadi/kmime
22 #include "../dbusconnectionpool.h"
23 #include "imapsettings.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();
45 OrgKdeAkonadiImapSettingsInterface *createImapSettingsInterface(
const QString &ident )
48 return new OrgKdeAkonadiImapSettingsInterface( QString::fromLatin1(
"org.freedesktop.Akonadi.Resource.") + ident,
49 QString::fromLatin1(
"/Settings"),
50 Akonadi::DBusConnectionPool::threadConnection() );
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue Dec 4 2012 14:36:37 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.