kmail
KMComposeWin Class Reference
Inheritance diagram for KMComposeWin:

Detailed Description
Definition at line 98 of file kmcomposewin.h.
Public Slots | |
void | slotSendNow () |
void | slotSetAlwaysSend (bool bAlwaysSend) |
void | slotWordWrapToggled (bool) |
void | autoSaveMessage () |
Signals | |
void | applyChangesDone (bool) |
void | attachmentAdded (const KURL &, bool success) |
Public Member Functions | |
MailComposerIface * | asMailComposerIFace () |
const MailComposerIface * | asMailComposerIFace () const |
void | send (int how) |
void | addAttachmentsAndSend (const KURL::List &urls, const QString &comment, int how) |
void | addAttachment (KURL url, QString comment) |
void | addAttachment (const QString &name, const QCString &cte, const QByteArray &data, const QCString &type, const QCString &subType, const QCString ¶mAttr, const QString ¶mValue, const QCString &contDisp) |
void | setBody (QString body) |
void | setMsg (KMMessage *newMsg, bool mayAutoSign=TRUE, bool allowDecryption=FALSE, bool isModified=FALSE) |
void | disableWordWrap () |
void | disableRecipientNumberCheck () |
void | disableForgottenAttachmentsCheck () |
void | ignoreStickyFields () |
bool | isComposing () const |
void | setAutoSaveFilename (const QString &filename) |
void | setAutoDelete (bool f) |
void | setAutoDeleteWindow (bool f) |
void | setFolder (KMFolder *aFolder) |
void | setCharset (const QCString &aCharset, bool forceDefault=FALSE) |
void | setReplyFocus (bool hasMessage=true) |
void | setFocusToSubject () |
void | setSigningAndEncryptionDisabled (bool v) |
bool | addAttach (const KURL url) |
void | addAttach (const KMMessagePart *msgPart) |
Static Public Member Functions | |
static Composer * | create (KMMessage *msg=0, uint identity=0) |
Friends | |
class | ::KMEdit |
class | ::MessageComposer |
Member Function Documentation
void KMComposeWin::send | ( | int | how | ) | [virtual] |
From MailComposerIface.
Implements KMail::Composer.
Definition at line 501 of file kmcomposewin.cpp.
void KMComposeWin::setMsg | ( | KMMessage * | newMsg, | |
bool | mayAutoSign = TRUE , |
|||
bool | allowDecryption = FALSE , |
|||
bool | isModified = FALSE | |||
) | [virtual] |
Set the message the composer shall work with.
This discards previous messages without calling applyChanges() on them before.
Implements KMail::Composer.
Definition at line 1804 of file kmcomposewin.cpp.
void KMComposeWin::disableRecipientNumberCheck | ( | ) | [virtual] |
Don't check if there are too many recipients for a mail, eg.
when sending out invitations.
Implements KMail::Composer.
void KMComposeWin::disableForgottenAttachmentsCheck | ( | ) | [virtual] |
Don't check for forgotten attachments for a mail, eg.
when sending out invitations.
Implements KMail::Composer.
void KMComposeWin::ignoreStickyFields | ( | ) | [virtual] |
Ignore the "sticky" setting of the transport combo box and prefer the X-KMail-Transport header field of the message instead.
Do the same for the identity combo box, don't obey the "sticky" setting but use the X-KMail-Identity header field instead.
This is useful when sending out invitations, since you don't see the GUI and want the identity and transport to be set to the values stored in the messages.
Implements KMail::Composer.
bool KMComposeWin::isComposing | ( | ) | const [inline, virtual] |
Returns true
while the message composing is in progress.
Implements KMail::Composer.
Definition at line 187 of file kmcomposewin.h.
void KMComposeWin::setAutoSaveFilename | ( | const QString & | filename | ) | [virtual] |
void KMComposeWin::setAutoDelete | ( | bool | f | ) | [inline, virtual] |
If this flag is set the message of the composer is deleted when the composer is closed and the message was not sent.
Default: FALSE
Implements KMail::Composer.
Definition at line 218 of file kmcomposewin.h.
void KMComposeWin::setAutoDeleteWindow | ( | bool | f | ) | [virtual] |
If this flag is set, the compose window will delete itself after the window has been closed.
Implements KMail::Composer.
Definition at line 492 of file kmcomposewin.cpp.
void KMComposeWin::setFolder | ( | KMFolder * | aFolder | ) | [inline, virtual] |
If this folder is set, the original message is inserted back after cancelling.
Implements KMail::Composer.
Definition at line 231 of file kmcomposewin.h.
void KMComposeWin::setCharset | ( | const QCString & | aCharset, | |
bool | forceDefault = FALSE | |||
) | [virtual] |
void KMComposeWin::setReplyFocus | ( | bool | hasMessage = true |
) | [virtual] |
Sets the focus to the edit-widget and the cursor below the "On ... you wrote" line when hasMessage is true.
Make sure you call this _after_ setMsg().
Implements KMail::Composer.
void KMComposeWin::setFocusToSubject | ( | ) | [virtual] |
Sets the focus to the subject line edit.
For use when creating a message to a known recipient.
Implements KMail::Composer.
void KMComposeWin::setSigningAndEncryptionDisabled | ( | bool | v | ) | [inline, virtual] |
Disabled signing and encryption completely for this composer window.
Implements KMail::Composer.
Definition at line 277 of file kmcomposewin.h.
void KMComposeWin::slotSetAlwaysSend | ( | bool | bAlwaysSend | ) | [virtual, slot] |
Tell the composer to always send the message, even if the user hasn't changed the next.
This is useful if a message is autogenerated (e.g., via a DCOP call), and the user should simply be able to confirm the message and send it.
Implements KMail::Composer.
void KMComposeWin::slotWordWrapToggled | ( | bool | ) | [virtual, slot] |
void KMComposeWin::addAttach | ( | const KMMessagePart * | msgPart | ) | [virtual] |
The documentation for this class was generated from the following files: