kmail
KMComposeWin Class Reference
Inheritance diagram for KMComposeWin:

Detailed Description
Definition at line 94 of file kmcomposewin.h.
Public Slots | |
void | slotSendNow () |
void | slotSetAlwaysSend (bool bAlwaysSend) |
void | slotWordWrapToggled (bool) |
void | autoSaveMessage () |
Signals | |
void | applyChangesDone (bool) |
Public Member Functions | |
MailComposerIface * | asMailComposerIFace () |
const MailComposerIface * | asMailComposerIFace () const |
void | send (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 | 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) |
void | 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 445 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 1694 of file kmcomposewin.cpp.
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 185 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 436 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 198 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 243 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: