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

libkdepim

  • KPIM
  • MailListMimeData
Public Member Functions | Protected Member Functions | List of all members
KPIM::MailListMimeData Class Reference
Mail drag and drop

#include <maillistdrag.h>

Inheritance diagram for KPIM::MailListMimeData:
Inheritance graph
[legend]

Public Member Functions

 MailListMimeData (MailTextSource *src=0)
 
 ~MailListMimeData ()
 

Protected Member Functions

virtual QStringList formats () const
 
virtual bool hasFormat (const QString &mimeType) const
 
virtual QVariant retrieveData (const QString &mimeType, QVariant::Type type) const
 

Detailed Description

This special QMimeData has the ability to be associated with a MailTextSource.

This automatically adds another mimetype, "message/rfc822", which has the text of all mails as data. The class is needed because the new mimetype is only read on-demand when dropped, so no unnecessary mail copying is done when doing drag & drop inside of KMail.

For this to work, MailList::populateMimeData() needs to be called for the drag object so the mimedata for the MailSummarys is available, which is needed to read the serial numbers of the mails.

You only need to use this class when starting a drag with mails.

Definition at line 142 of file maillistdrag.h.


The documentation for this class was generated from the following files:
  • maillistdrag.h
  • maillistdrag.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal