kmail

KMHandleAttachmentCommand Class Reference

Inheritance diagram for KMHandleAttachmentCommand:

KMCommand List of all members.

Detailed Description

Definition at line 936 of file kmcommands.h.


Public Types

enum  AttachmentAction {
  Open = 1, OpenWith = 2, View = 3, Save = 4,
  Properties = 5, ChiasmusEncrypt = 6
}

Signals

void showAttachment (int id, const QString &name)

Public Member Functions

 KMHandleAttachmentCommand (partNode *node, KMMessage *msg, int atmId, const QString &atmName, AttachmentAction action, KService::Ptr offer, QWidget *parent)

Member Enumeration Documentation

Supported types of attachment handling.

Definition at line 942 of file kmcommands.h.


Constructor & Destructor Documentation

KMHandleAttachmentCommand::KMHandleAttachmentCommand ( partNode node,
KMMessage msg,
int  atmId,
const QString &  atmName,
AttachmentAction  action,
KService::Ptr  offer,
QWidget *  parent 
)

Construct a new command.

Parameters:
node the partNode
msg the KMMessage
atmId the ID of the attachment, the partNode must know this
atmName the name of the attachment
action what to do with the attachment
offer specify a KService that should handle the "open" action, 0 otherwise

Definition at line 2883 of file kmcommands.cpp.


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