KMMsgPartDialog Class Reference
GUI for KMMsgPartDialog. More...
#include <kmmsgpartdlg.h>
Inherits KDialogBase.
Inherited by KMMsgPartDialogCompat.
Public Types
- enum Encoding {
None = 0x00, SevenBit = 0x01, EightBit = 0x02, QuotedPrintable = 0x04,
Base64 = 0x08
}
Public Member Functions
- KMMsgPartDialog (const QString &caption=QString::null, QWidget *parent=0, const char *name=0)
- QString mimeType () const
- void setMimeType (const QString &type, const QString &subtype)
- void setMimeType (const QString &mimeType)
- void setMimeTypeList (const QStringList &mimeTypes)
- void setSize (KIO::filesize_t size, bool estimated=false)
- QString fileName () const
- void setFileName (const QString &fileName)
- QString description () const
- void setDescription (const QString &description)
- Encoding encoding () const
- void setEncoding (Encoding encoding)
- void setShownEncodings (int encodings)
- bool isInline () const
- void setInline (bool inlined)
- bool isEncrypted () const
- void setEncrypted (bool encrypted)
- void setCanEncrypt (bool enable)
- bool isSigned () const
- void setSigned (bool sign)
- void setCanSign (bool enable)
Protected Slots
Protected Attributes
- KComboBox * mMimeType
- QLabel * mIcon
- QLabel * mSize
- QLineEdit * mFileName
- QLineEdit * mDescription
- QComboBox * mEncoding
- QCheckBox * mInline
- QCheckBox * mEncrypted
- QCheckBox * mSigned
- QStringList mI18nizedEncodings
- bool mReadOnly
Detailed Description
GUI for KMMsgPartDialog.
- Author:
- Marc Mutz <mutz@kde.org>
Member Enumeration Documentation
|
The list of supported encodings.
|
Member Function Documentation
|
Get the currently selected mimetype.
|
|
Sets the mime type to be displayed.
|
|
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
|
|
Sets the initial list of mime types to be displayed in the combobox. The items are not validated. |
|
Sets the size of the file to be attached in bytes.
This is strictly informational and thus can't be queried. If |
|
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. |
|
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. |
|
Returns the content of the Content-Description header field. This field is only informational. |
|
Sets the description of the attachment, ie. the content of the Content-Description header field. |
|
Returns the current encoding.
|
|
Sets the encoding to use.
|
|
Sets the list of encodings to be shown.
|
|
Returns true if the attchment has a content-disposition of "inline", false otherwise.
|
|
Sets whether this attachment has a content-disposition of "inline".
|
|
Returns whether or not this attachment is or shall be encrypted.
|
|
Sets whether or not this attachment is or should be encrypted.
|
|
Sets whether or not this attachment can be encrypted.
|
|
Returns whether or not this attachment is or shall be signed.
|
|
Sets whether or not this attachment is or should be signed.
|
|
Sets whether or not this attachment can be signed.
|
The documentation for this class was generated from the following files:
- kmmsgpartdlg.h
- kmmsgpartdlg.cpp