KMMsgPartDialog Class Reference
GUI for KMMsgPartDialog. More...
#include <kmmsgpartdlg.h>
Inheritance diagram for KMMsgPartDialog:

Public Types | |
enum | Encoding { None = 0x00, SevenBit = 0x01, EightBit = 0x02, QuotedPrintable = 0x04, Base64 = 0x08 } |
Public Methods | |
KMMsgPartDialog (const QString &caption=QString::null, QWidget *parent=0, const char *name=0) | |
virtual | ~KMMsgPartDialog () |
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 | |
void | slotMimeTypeChanged (const QString &mimeType) |
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>
Definition at line 23 of file kmmsgpartdlg.h.
Member Enumeration Documentation
|
The list of supported encodings.
Definition at line 68 of file kmmsgpartdlg.h. Referenced by encoding(). |
Member Function Documentation
|
Get the currently selected mimetype.
Definition at line 193 of file kmmsgpartdlg.cpp. Referenced by KMMsgPartDialogCompat::applyChanges(). |
|
Sets the mime type to be displayed.
Definition at line 211 of file kmmsgpartdlg.cpp. References QString::fromLatin1(). Referenced by KMMsgPartDialogCompat::setMsgPart(). |
|
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 Definition at line 197 of file kmmsgpartdlg.cpp. |
|
Sets the initial list of mime types to be displayed in the combobox. The items are not validated. Definition at line 216 of file kmmsgpartdlg.cpp. |
|
Sets the size of the file to be attached in bytes.
This is strictly informational and thus can't be queried. If Definition at line 220 of file kmmsgpartdlg.cpp. References QString::arg(), and QLabel::setText(). Referenced by KMMsgPartDialogCompat::setMsgPart(). |
|
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. Definition at line 228 of file kmmsgpartdlg.cpp. References QLineEdit::text(). Referenced by KMMsgPartDialogCompat::applyChanges(). |
|
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. Definition at line 232 of file kmmsgpartdlg.cpp. References QLineEdit::setText(). Referenced by KMMsgPartDialogCompat::setMsgPart(). |
|
Returns the content of the Content-Description header field. This field is only informational. Definition at line 236 of file kmmsgpartdlg.cpp. References QLineEdit::text(). Referenced by KMMsgPartDialogCompat::applyChanges(). |
|
Sets the description of the attachment, ie. the content of the Content-Description header field. Definition at line 240 of file kmmsgpartdlg.cpp. References QLineEdit::setText(). Referenced by KMMsgPartDialogCompat::setMsgPart(). |
|
Returns the current encoding.
Definition at line 244 of file kmmsgpartdlg.cpp. References QComboBox::currentText(), and Encoding. Referenced by KMMsgPartDialogCompat::applyChanges(), and setEncoding(). |
|
Sets the encoding to use.
Definition at line 254 of file kmmsgpartdlg.cpp. References QComboBox::count(), encoding(), QComboBox::insertItem(), QComboBox::setCurrentItem(), and QComboBox::text(). Referenced by KMMsgPartDialogCompat::setMsgPart(). |
|
Sets the list of encodings to be shown.
Definition at line 270 of file kmmsgpartdlg.cpp. References QComboBox::clear(), and QComboBox::insertItem(). |
|
Returns true if the attchment has a content-disposition of "inline", false otherwise.
Definition at line 277 of file kmmsgpartdlg.cpp. References QCheckBox::isChecked(). Referenced by KMMsgPartDialogCompat::applyChanges(). |
|
Sets whether this attachment has a content-disposition of "inline".
Definition at line 281 of file kmmsgpartdlg.cpp. References QCheckBox::setChecked(). Referenced by KMMsgPartDialogCompat::setMsgPart(). |
|
Returns whether or not this attachment is or shall be encrypted.
Definition at line 285 of file kmmsgpartdlg.cpp. References QCheckBox::isChecked(). |
|
Sets whether or not this attachment is or should be encrypted.
Definition at line 289 of file kmmsgpartdlg.cpp. References QCheckBox::setChecked(). |
|
Sets whether or not this attachment can be encrypted.
Definition at line 293 of file kmmsgpartdlg.cpp. |
|
Returns whether or not this attachment is or shall be signed.
Definition at line 297 of file kmmsgpartdlg.cpp. References QCheckBox::isChecked(). |
|
Sets whether or not this attachment is or should be signed.
Definition at line 301 of file kmmsgpartdlg.cpp. References QCheckBox::setChecked(). |
|
Sets whether or not this attachment can be signed.
Definition at line 305 of file kmmsgpartdlg.cpp. |
The documentation for this class was generated from the following files: