kmail

KMail::Callback Class Reference

This class is used for callback hooks needed by bodypart formatter plugins. More...

#include <callback.h>

List of all members.


Public Member Functions

bool askForComment (KCal::Attendee::PartStat status) const
 Callback (KMMessage *msg, KMReaderWin *readerWin)
void closeIfSecondaryWindow () const
bool deleteInvitationAfterReply () const
KMMessagegetMsg () const
bool mailICal (const QString &to, const QString &iCal, const QString &subject, const QString &status, bool delMessage=true) const
QString receiver () const
QString sender () const

Detailed Description

This class is used for callback hooks needed by bodypart formatter plugins.

It also holds a pointer to the message we are working on. Feel free to put whatever you want in here. It's not supposed to be a nicely formatted class, but simply include everything necessary for the plugins.

Definition at line 55 of file callback.h.


Constructor & Destructor Documentation

Callback::Callback ( KMMessage msg,
KMReaderWin readerWin 
)

Definition at line 54 of file callback.cpp.


Member Function Documentation

bool Callback::askForComment ( KCal::Attendee::PartStat  status  )  const

Definition at line 200 of file callback.cpp.

void Callback::closeIfSecondaryWindow (  )  const

Close the main window showing this message, if it's a secondary window.

Definition at line 193 of file callback.cpp.

bool Callback::deleteInvitationAfterReply (  )  const

Definition at line 211 of file callback.cpp.

KMMessage* KMail::Callback::getMsg (  )  const [inline]

Get the full message.

Definition at line 60 of file callback.h.

bool Callback::mailICal ( const QString to,
const QString iCal,
const QString subject,
const QString status,
bool  delMessage = true 
) const

Mail a message @ param status can be accepted/cancel/tentative/delegated.

Definition at line 59 of file callback.cpp.

QString Callback::receiver (  )  const

Get the receiver of the mail.

Definition at line 139 of file callback.cpp.

QString Callback::sender (  )  const

Returns the sender of the mail.

Definition at line 216 of file callback.cpp.


The documentation for this class was generated from the following files: