kmail

KMHandleAttachmentCommand Class Reference

#include <kmcommands.h>

Inheritance diagram for KMHandleAttachmentCommand:

List of all members.


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)

Detailed Description

Definition at line 948 of file kmcommands.h.


Member Enumeration Documentation

Supported types of attachment handling.

Enumerator:
Open 
OpenWith 
View 
Save 
Properties 
ChiasmusEncrypt 

Definition at line 954 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 2973 of file kmcommands.cpp.


Member Function Documentation

void KMHandleAttachmentCommand::showAttachment ( int  id,
const QString name 
) [signal]


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