kmail
KMail::Composer Class Reference
#include <composer.h>
Public Slots | |
virtual void | autoSaveMessage ()=0 |
virtual void | slotSendNow ()=0 |
virtual void | slotSetAlwaysSend (bool bAlwaysSend)=0 |
virtual void | slotWordWrapToggled (bool)=0 |
Public Member Functions | |
virtual void | addAttach (const KMMessagePart *msgPart)=0 |
virtual bool | addAttach (const KURL url)=0 |
virtual 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)=0 |
virtual void | addAttachment (KURL url, QString comment)=0 |
virtual void | addAttachmentsAndSend (const KURL::List &urls, const QString &comment, int how)=0 |
virtual MailComposerIface * | asMailComposerIFace ()=0 |
virtual const MailComposerIface * | asMailComposerIFace () const =0 |
virtual void | disableWordWrap ()=0 |
virtual void | send (int how)=0 |
virtual void | setAutoDelete (bool f)=0 |
virtual void | setAutoDeleteWindow (bool f)=0 |
virtual void | setAutoSaveFilename (const QString &filename)=0 |
virtual void | setBody (QString body)=0 |
virtual void | setCharset (const QCString &aCharset, bool forceDefault=false)=0 |
virtual void | setFocusToSubject ()=0 |
virtual void | setFolder (KMFolder *aFolder)=0 |
virtual void | setMsg (KMMessage *newMsg, bool mayAutoSign=true, bool allowDecryption=false, bool isModified=false)=0 |
virtual void | setReplyFocus (bool hasMessage=true)=0 |
virtual void | setSigningAndEncryptionDisabled (bool v)=0 |
Protected Member Functions | |
Composer (const char *name=0) |
Detailed Description
Definition at line 36 of file composer.h.
Constructor & Destructor Documentation
KMail::Composer::Composer | ( | const char * | name = 0 |
) | [inline, protected] |
Definition at line 39 of file composer.h.
Member Function Documentation
virtual void KMail::Composer::addAttach | ( | const KMMessagePart * | msgPart | ) | [pure virtual] |
virtual bool KMail::Composer::addAttach | ( | const KURL | url | ) | [pure virtual] |
Implemented in KMComposeWin.
virtual void KMail::Composer::addAttachment | ( | const QString & | name, | |
const QCString & | cte, | |||
const QByteArray & | data, | |||
const QCString & | type, | |||
const QCString & | subType, | |||
const QCString & | paramAttr, | |||
const QString & | paramValue, | |||
const QCString & | contDisp | |||
) | [pure virtual] |
Implemented in KMComposeWin.
virtual void KMail::Composer::addAttachment | ( | KURL | url, | |
QString | comment | |||
) | [pure virtual] |
Implemented in KMComposeWin.
virtual void KMail::Composer::addAttachmentsAndSend | ( | const KURL::List & | urls, | |
const QString & | comment, | |||
int | how | |||
) | [pure virtual] |
Implemented in KMComposeWin.
virtual MailComposerIface* KMail::Composer::asMailComposerIFace | ( | ) | [pure virtual] |
Implemented in KMComposeWin.
virtual const MailComposerIface* KMail::Composer::asMailComposerIFace | ( | ) | const [pure virtual] |
Implemented in KMComposeWin.
virtual void KMail::Composer::autoSaveMessage | ( | ) | [pure virtual, slot] |
Implemented in KMComposeWin.
virtual void KMail::Composer::disableWordWrap | ( | ) | [pure virtual] |
Implemented in KMComposeWin.
virtual void KMail::Composer::send | ( | int | how | ) | [pure virtual] |
virtual void KMail::Composer::setAutoDelete | ( | bool | f | ) | [pure 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
Implemented in KMComposeWin.
virtual void KMail::Composer::setAutoDeleteWindow | ( | bool | f | ) | [pure virtual] |
If this flag is set, the compose window will delete itself after the window has been closed.
Implemented in KMComposeWin.
virtual void KMail::Composer::setAutoSaveFilename | ( | const QString & | filename | ) | [pure virtual] |
virtual void KMail::Composer::setBody | ( | QString | body | ) | [pure virtual] |
Implemented in KMComposeWin.
virtual void KMail::Composer::setCharset | ( | const QCString & | aCharset, | |
bool | forceDefault = false | |||
) | [pure virtual] |
virtual void KMail::Composer::setFocusToSubject | ( | ) | [pure virtual] |
Sets the focus to the subject line edit.
For use when creating a message to a known recipient.
Implemented in KMComposeWin.
virtual void KMail::Composer::setFolder | ( | KMFolder * | aFolder | ) | [pure virtual] |
If this folder is set, the original message is inserted back after cancelling.
Implemented in KMComposeWin.
virtual void KMail::Composer::setMsg | ( | KMMessage * | newMsg, | |
bool | mayAutoSign = true , |
|||
bool | allowDecryption = false , |
|||
bool | isModified = false | |||
) | [pure virtual] |
Set the message the composer shall work with.
This discards previous messages without calling applyChanges() on them before.
Implemented in KMComposeWin.
virtual void KMail::Composer::setReplyFocus | ( | bool | hasMessage = true |
) | [pure 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().
Implemented in KMComposeWin.
virtual void KMail::Composer::setSigningAndEncryptionDisabled | ( | bool | v | ) | [pure virtual] |
virtual void KMail::Composer::slotSendNow | ( | ) | [pure virtual, slot] |
Implemented in KMComposeWin.
virtual void KMail::Composer::slotSetAlwaysSend | ( | bool | bAlwaysSend | ) | [pure 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.
Implemented in KMComposeWin.
virtual void KMail::Composer::slotWordWrapToggled | ( | bool | ) | [pure virtual, slot] |
The documentation for this class was generated from the following file: