kmail
KMComposeWin Class Reference
#include <kmcomposewin.h>
Public Slots | |
void | autoSaveMessage () |
void | slotSendNow () |
void | slotSetAlwaysSend (bool bAlwaysSend) |
void | slotWordWrapToggled (bool) |
Signals | |
void | applyChangesDone (bool) |
void | attachmentAdded (const KURL &, bool success) |
Public Member Functions | |
void | addAttach (const KMMessagePart *msgPart) |
bool | addAttach (const KURL url) |
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 | addAttachment (KURL url, QString comment) |
void | addAttachmentsAndSend (const KURL::List &urls, const QString &comment, int how) |
const MailComposerIface * | asMailComposerIFace () const |
MailComposerIface * | asMailComposerIFace () |
void | disableWordWrap () |
void | send (int how) |
void | setAutoDelete (bool f) |
void | setAutoDeleteWindow (bool f) |
void | setAutoSaveFilename (const QString &filename) |
void | setBody (QString body) |
void | setCharset (const QCString &aCharset, bool forceDefault=FALSE) |
void | setFocusToSubject () |
void | setFolder (KMFolder *aFolder) |
void | setMsg (KMMessage *newMsg, bool mayAutoSign=TRUE, bool allowDecryption=FALSE, bool isModified=FALSE) |
void | setReplyFocus (bool hasMessage=true) |
void | setSigningAndEncryptionDisabled (bool v) |
Static Public Member Functions | |
static Composer * | create (KMMessage *msg=0, uint identity=0) |
Detailed Description
Definition at line 98 of file kmcomposewin.h.
Member Function Documentation
void KMComposeWin::addAttach | ( | const KMMessagePart * | msgPart | ) | [virtual] |
bool KMComposeWin::addAttach | ( | const KURL | url | ) | [virtual] |
Implements KMail::Composer.
void KMComposeWin::addAttachment | ( | KURL | url, | |
QString | comment | |||
) | [virtual] |
void KMComposeWin::addAttachmentsAndSend | ( | const KURL::List & | urls, | |
const QString & | comment, | |||
int | how | |||
) | [virtual] |
void KMComposeWin::applyChangesDone | ( | bool | ) | [signal] |
const MailComposerIface* KMComposeWin::asMailComposerIFace | ( | ) | const [inline, virtual] |
MailComposerIface* KMComposeWin::asMailComposerIFace | ( | ) | [inline, virtual] |
void KMComposeWin::attachmentAdded | ( | const KURL & | , | |
bool | success | |||
) | [signal] |
void KMComposeWin::autoSaveMessage | ( | ) | [virtual, slot] |
KMail::Composer * KMComposeWin::create | ( | KMMessage * | msg = 0 , |
|
uint | identity = 0 | |||
) | [static] |
Definition at line 152 of file kmcomposewin.cpp.
void KMComposeWin::disableWordWrap | ( | ) | [virtual] |
Implements KMail::Composer.
void KMComposeWin::send | ( | int | how | ) | [virtual] |
From MailComposerIface.
Implements KMail::Composer.
Definition at line 501 of file kmcomposewin.cpp.
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 192 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::setAutoSaveFilename | ( | const QString & | filename | ) | [virtual] |
void KMComposeWin::setBody | ( | QString | body | ) | [virtual] |
void KMComposeWin::setCharset | ( | const QCString & | aCharset, | |
bool | forceDefault = FALSE | |||
) | [virtual] |
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::setFolder | ( | KMFolder * | aFolder | ) | [inline, virtual] |
If this folder is set, the original message is inserted back after cancelling.
Implements KMail::Composer.
Definition at line 205 of file kmcomposewin.h.
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 1798 of file kmcomposewin.cpp.
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::setSigningAndEncryptionDisabled | ( | bool | v | ) | [inline, virtual] |
Disabled signing and encryption completely for this composer window.
Implements KMail::Composer.
Definition at line 251 of file kmcomposewin.h.
void KMComposeWin::slotSendNow | ( | ) | [virtual, slot] |
Implements KMail::Composer.
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] |
The documentation for this class was generated from the following files: