kmail

KMail::Callback Class Reference

#include <callback.h>

List of all members.


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 51 of file callback.h.


Public Member Functions

 Callback (KMMessage *msg, KMReaderWin *readerWin)
KMMessagegetMsg () const
bool mailICal (const QString &to, const QString iCal, const QString &subject) const
QString receiver () const
void closeIfSecondaryWindow () const

Member Function Documentation

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

Get the full message.

Definition at line 56 of file callback.h.

bool Callback::mailICal ( const QString &  to,
const QString  iCal,
const QString &  subject 
) const

Mail a message.

Definition at line 58 of file callback.cpp.

QString Callback::receiver (  )  const

Get the receiver of the mail.

Definition at line 106 of file callback.cpp.

void Callback::closeIfSecondaryWindow (  )  const

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

Definition at line 159 of file callback.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys