KDE PIM / Developers / API Docs / kmail

KMMsgPartDialog Class Reference

GUI for KMMsgPartDialog. More...

#include <kmmsgpartdlg.h>

Inherits KDialogBase.

Inherited by KMMsgPartDialogCompat.

List of all members.

Public Types

Public Member Functions

Protected Slots

Protected Attributes


Detailed Description

GUI for KMMsgPartDialog.

Author:
Marc Mutz <mutz@kde.org>


Member Enumeration Documentation

enum KMMsgPartDialog::Encoding
 

The list of supported encodings.


Member Function Documentation

QString KMMsgPartDialog::mimeType  )  const
 

Get the currently selected mimetype.

void KMMsgPartDialog::setMimeType const QString &  type,
const QString &  subtype
 

Sets the mime type to be displayed.

void KMMsgPartDialog::setMimeType const QString &  mimeType  ) 
 

This is an overloaded member function, provided for convenience.

It behaves essentially like the above function.

Sets the mime type to be displayed, but only if mimeType passes

See also:
KMimeTypeValidator's test.

void KMMsgPartDialog::setMimeTypeList const QStringList &  mimeTypes  ) 
 

Sets the initial list of mime types to be displayed in the combobox.

The items are not validated.

void KMMsgPartDialog::setSize KIO::filesize_t  size,
bool  estimated = false
 

Sets the size of the file to be attached in bytes.

This is strictly informational and thus can't be queried. If approx is true, the size is an estimation based on typical

QString KMMsgPartDialog::fileName  )  const
 

Returns the current file name of the attachment.

Note that this doesn't define which file is being attached. It only defines what the attachment's filename parameter should contain.

void KMMsgPartDialog::setFileName const QString &  fileName  ) 
 

Sets the file name of the attachment.

Note that this doesn't define which file is being attached. It only defines what the attachment's filename parameter should contain.

QString KMMsgPartDialog::description  )  const
 

Returns the content of the Content-Description header field.

This field is only informational.

void KMMsgPartDialog::setDescription const QString &  description  ) 
 

Sets the description of the attachment, ie.

the content of the Content-Description header field.

KMMsgPartDialog::Encoding KMMsgPartDialog::encoding  )  const
 

Returns the current encoding.

void KMMsgPartDialog::setEncoding Encoding  encoding  ) 
 

Sets the encoding to use.

void KMMsgPartDialog::setShownEncodings int  encodings  ) 
 

Sets the list of encodings to be shown.

encodings is the bitwise OR of

See also:
Encoding flags

bool KMMsgPartDialog::isInline  )  const
 

Returns true if the attchment has a content-disposition of "inline", false otherwise.

void KMMsgPartDialog::setInline bool  inlined  ) 
 

Sets whether this attachment has a content-disposition of "inline".

bool KMMsgPartDialog::isEncrypted  )  const
 

Returns whether or not this attachment is or shall be encrypted.

void KMMsgPartDialog::setEncrypted bool  encrypted  ) 
 

Sets whether or not this attachment is or should be encrypted.

void KMMsgPartDialog::setCanEncrypt bool  enable  ) 
 

Sets whether or not this attachment can be encrypted.

bool KMMsgPartDialog::isSigned  )  const
 

Returns whether or not this attachment is or shall be signed.

void KMMsgPartDialog::setSigned bool  sign  ) 
 

Sets whether or not this attachment is or should be signed.

void KMMsgPartDialog::setCanSign bool  enable  ) 
 

Sets whether or not this attachment can be signed.


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