• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmail

KMail::AnnotationJobs

KMail::AnnotationJobs Namespace Reference


Detailed Description

This namespace contains functions that return jobs for annotation operations.

The current implementation is tied to IMAP. If someone wants to extend this to other protocols, turn the namespace into a class and use virtual methods.


Classes

class  GetAnnotationJob
 for getAnnotation() More...
class  MultiGetAnnotationJob
 for multiGetAnnotation More...
class  MultiSetAnnotationJob
 for multiSetAnnotation More...
class  MultiUrlGetAnnotationJob
 for multiUrlGetAnnotation More...

Functions

GetAnnotationJob * getAnnotation (KIO::Slave *slave, const KUrl &url, const QString &entry, const QStringList &attributes)
MultiGetAnnotationJob * multiGetAnnotation (KIO::Slave *slave, const KUrl &url, const QStringList &entries)
MultiSetAnnotationJob * multiSetAnnotation (KIO::Slave *slave, const KUrl &url, const AnnotationList &annotations)
MultiUrlGetAnnotationJob * multiUrlGetAnnotation (KIO::Slave *slave, const KUrl &baseUrl, const QStringList &paths, const QString &annotation)
KIO::SimpleJob * setAnnotation (KIO::Slave *slave, const KUrl &url, const QString &entry, const QMap< QString, QString > &attributes)

Function Documentation

AnnotationJobs::GetAnnotationJob * KMail::AnnotationJobs::getAnnotation ( KIO::Slave *  slave,
const KUrl &  url,
const QString &  entry,
const QStringList &  attributes 
)

Get an annotation entry.

Parameters:
slave Slave object the job should be assigned to
url URL for the annotation
entry the name of the annotation entry
attributes attribute names

Definition at line 52 of file annotationjobs.cpp.

AnnotationJobs::MultiGetAnnotationJob * KMail::AnnotationJobs::multiGetAnnotation ( KIO::Slave *  slave,
const KUrl &  url,
const QStringList &  entries 
)

Get multiple annotation entries Currently we assume we want to get the "value" for each, to simplify the data structure.

Definition at line 134 of file annotationjobs.cpp.

AnnotationJobs::MultiSetAnnotationJob * KMail::AnnotationJobs::multiSetAnnotation ( KIO::Slave *  slave,
const KUrl &  url,
const AnnotationList &  annotations 
)

Set multiple annotation entries.

Definition at line 182 of file annotationjobs.cpp.

AnnotationJobs::MultiUrlGetAnnotationJob * KMail::AnnotationJobs::multiUrlGetAnnotation ( KIO::Slave *  slave,
const KUrl &  baseUrl,
const QStringList &  paths,
const QString &  annotation 
)

Get annotation entries for multiple folders.

Parameters:
paths The paths to get the annotation for
annotation The annotation to get

Definition at line 245 of file annotationjobs.cpp.

KIO::SimpleJob * KMail::AnnotationJobs::setAnnotation ( KIO::Slave *  slave,
const KUrl &  url,
const QString &  entry,
const QMap< QString, QString > &  attributes 
)

Set an annotation entry (note that it can have multiple attributes).

Parameters:
slave Slave object the job should be assigned to
url URL for the annotation
entry the name of the annotation entry
attributes attribute name+value pairs

Definition at line 39 of file annotationjobs.cpp.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal