KMail::Callback Class Reference

#include <callback.h>

Public Member Functions

 Callback (KMMessage *msg, KMReaderWin *readerWin)
 
KMMessagegetMsg () const
 
bool mailICal (const TQString &to, const TQString &iCal, const TQString &subject, const TQString &status, bool delMessage=true) const
 
TQString receiver () const
 
TQString sender () const
 
void closeIfSecondaryWindow () const
 
bool askForComment (KCal::Attendee::PartStat status) const
 
bool deleteInvitationAfterReply () const
 
bool exchangeCompatibleInvitations () const
 
bool outlookCompatibleInvitationReplyComments () 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.

Member Function Documentation

◆ closeIfSecondaryWindow()

void Callback::closeIfSecondaryWindow ( ) const

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

Definition at line 243 of file callback.cpp.

◆ getMsg()

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

Get the full message.

Definition at line 60 of file callback.h.

◆ mailICal()

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

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

Definition at line 86 of file callback.cpp.

◆ receiver()

TQString Callback::receiver ( ) const

Get the receiver of the mail.

Definition at line 185 of file callback.cpp.

◆ sender()

TQString Callback::sender ( ) const

Returns the sender of the mail.

Definition at line 276 of file callback.cpp.


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