akonadi
specialmailcollectionsrequestjob.cpp
55 displayNameMap.insert( "sent-mail", /*i18nc( "local mail folder",*/QLatin1String( "sent-mail" ) );
58 displayNameMap.insert( "templates", /*i18nc( "local mail folder", */QLatin1String("templates" ) );
72 options.insert( QLatin1String( "Path" ), QString(KGlobal::dirs()->localxdgdatadir() + QLatin1String( "local-mail" )) );
86 void SpecialMailCollectionsRequestJob::requestDefaultCollection( SpecialMailCollections::Type type )
91 void SpecialMailCollectionsRequestJob::requestCollection( SpecialMailCollections::Type type, const AgentInstance &instance )
void requestDefaultCollection(SpecialMailCollections::Type type)
Requests a special mail collection of the given type in the default resource.
Definition: specialmailcollectionsrequestjob.cpp:86
The templates collection.
Definition: specialmailcollections.h:87
~SpecialMailCollectionsRequestJob()
Destroys the special mail collections request job.
Definition: specialmailcollectionsrequestjob.cpp:82
void setIconForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to icon names.
Definition: specialcollectionsrequestjob.cpp:332
void requestCollection(SpecialMailCollections::Type type, const AgentInstance &instance)
Requests a special mail collection of the given type in the given resource instance.
Definition: specialmailcollectionsrequestjob.cpp:91
The root collection containing the local folders.
Definition: specialmailcollections.h:81
The outbox collection.
Definition: specialmailcollections.h:83
The sent-mail collection.
Definition: specialmailcollections.h:84
Interface to special mail collections such as inbox, outbox etc.
Definition: specialmailcollections.h:67
Type
Describes the possible types of special mail collections.
Definition: specialmailcollections.h:78
void requestCollection(const QByteArray &type, const AgentInstance &instance)
Requests a special collection of the given type in the given resource instance.
Definition: specialcollectionsrequestjob.cpp:297
void setTypes(const QList< QByteArray > &types)
Sets the list of well known special collection types.
Definition: specialcollectionsrequestjob.cpp:322
void requestDefaultCollection(const QByteArray &type)
Requests a special collection of the given type in the default resource.
Definition: specialcollectionsrequestjob.cpp:290
void setDefaultResourceType(const QString &type)
Sets the type of the resource that shall be created if the requested special collection does not exis...
Definition: specialcollectionsrequestjob.cpp:312
The drafts collection.
Definition: specialmailcollections.h:86
SpecialMailCollectionsRequestJob(QObject *parent=0)
Creates a new special mail collections request job.
Definition: specialmailcollectionsrequestjob.cpp:47
void setNameForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to display names.
Definition: specialcollectionsrequestjob.cpp:327
void setDefaultResourceOptions(const QVariantMap &options)
Sets the configuration options that shall be applied to the new resource that is created if the reque...
Definition: specialcollectionsrequestjob.cpp:317
A job to request SpecialCollections.
Definition: specialcollectionsrequestjob.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.