kmmsgpartdlg.h
The attachment dialog with convenience backward compatible methods.
Definition: kmmsgpartdlg.h:141
KMMessagePart * msgPart(void) const
Returns the (possibly modified) message part.
Definition: kmmsgpartdlg.h:152
void applyChanges(void)
Applies changes from the dialog to the message part.
Definition: kmmsgpartdlg.cpp:377
void setMsgPart(KMMessagePart *msgPart)
Display information about this message part.
Definition: kmmsgpartdlg.cpp:353
TQString fileName() const
Returns the current file name of the attachment.
Definition: kmmsgpartdlg.cpp:228
void setShownEncodings(int encodings)
Sets the list of encodings to be shown.
Definition: kmmsgpartdlg.cpp:270
bool isSigned() const
Returns whether or not this attachment is or shall be signed.
Definition: kmmsgpartdlg.cpp:297
void setCanSign(bool enable)
Sets whether or not this attachment can be signed.
Definition: kmmsgpartdlg.cpp:305
void setMimeType(const TQString &type, const TQString &subtype)
Sets the mime type to be displayed.
Definition: kmmsgpartdlg.cpp:211
bool isInline() const
Returns true if the attchment has a content-disposition of "inline", false otherwise.
Definition: kmmsgpartdlg.cpp:277
void setDescription(const TQString &description)
Sets the description of the attachment, ie.
Definition: kmmsgpartdlg.cpp:240
void setFileName(const TQString &fileName)
Sets the file name of the attachment.
Definition: kmmsgpartdlg.cpp:232
void setCanEncrypt(bool enable)
Sets whether or not this attachment can be encrypted.
Definition: kmmsgpartdlg.cpp:293
void setEncrypted(bool encrypted)
Sets whether or not this attachment is or should be encrypted.
Definition: kmmsgpartdlg.cpp:289
void setInline(bool inlined)
Sets whether this attachment has a content-disposition of "inline".
Definition: kmmsgpartdlg.cpp:281
TQString description() const
Returns the content of the Content-Description header field.
Definition: kmmsgpartdlg.cpp:236
void setSigned(bool sign)
Sets whether or not this attachment is or should be signed.
Definition: kmmsgpartdlg.cpp:301
void setMimeTypeList(const TQStringList &mimeTypes)
Sets the initial list of mime types to be displayed in the combobox.
Definition: kmmsgpartdlg.cpp:216
bool isEncrypted() const
Returns whether or not this attachment is or shall be encrypted.
Definition: kmmsgpartdlg.cpp:285
void setSize(TDEIO::filesize_t size, bool estimated=false)
Sets the size of the file to be attached in bytes.
Definition: kmmsgpartdlg.cpp:220