kmail Library API Documentation

KMail::Callback Class Reference

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

#include <callback.h>

Collaboration diagram for KMail::Callback:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Callback (KMMessage *msg, KMReaderWin *readerWin)
KMMessage * getMsg () const
bool mailICal (const QString &to, const QString iCal, const QString &subject) const
QString receiver () const
void closeIfSecondaryWindow () 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 49 of file callback.h.


Member Function Documentation

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

Get the full message.

Definition at line 54 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.

References receiver().

QString Callback::receiver  )  const
 

Get the receiver of the mail.

Definition at line 113 of file callback.cpp.

Referenced by mailICal().

void Callback::closeIfSecondaryWindow  )  const
 

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

Definition at line 178 of file callback.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 25 11:20:35 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003