kmail
KMailIface Class Reference
#include <kmailIface.h>
Inheritance diagram for KMailIface:

Detailed Description
checkMail wont show reader but will check mail.use openReader to show if you give a filename to openReader it will show mbox or message if it is valid rfc-822 message or mbox file. You can pass hidden=1 to openComposer and it wont be visible that way you can write messages and add attachments from other apps and send it via kmail. Should I add showAddressBook? hmm... The openComposer functions always return 1. sven <radej@kde.org>
Definition at line 17 of file kmailIface.h.
DCOP Member Functions | |
virtual void | checkMail ()=0 |
virtual QStringList | accounts ()=0 |
virtual void | checkAccount (const QString &account)=0 |
virtual void | openReader ()=0 |
virtual int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, int hidden, const KURL &messageFile)=0 |
virtual int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, int hidden, const KURL &messageFile, const KURL &attachURL)=0 |
virtual int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, int hidden, const KURL &messageFile, const KURL::List &attachURLs)=0 |
virtual int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, int hidden, const QString &attachName, const QCString &attachCte, const QCString &attachData, const QCString &attachType, const QCString &attachSubType, const QCString &attachParamAttr, const QString &attachParamValue, const QCString &attachContDisp)=0 |
virtual int | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, int hidden, const QString &attachName, const QCString &attachCte, const QCString &attachData, const QCString &attachType, const QCString &attachSubType, const QCString &attachParamAttr, const QString &attachParamValue, const QCString &attachContDisp, const QCString &attachCharset)=0 |
virtual DCOPRef | openComposer (const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, bool hidden)=0 |
virtual int | sendCertificate (const QString &to, const QByteArray &certData)=0 |
virtual void | compactAllFolders ()=0 |
virtual int | dcopAddMessage (const QString &foldername, const QString &messagefile, const QString &MsgStatusFlags=QString())=0 |
virtual int | dcopAddMessage (const QString &foldername, const KURL &messagefile, const QString &MsgStatusFlags=QString())=0 |
virtual QStringList | folderList () const =0 |
virtual DCOPRef | getFolder (const QString &vpath)=0 |
virtual void | selectFolder (QString folder)=0 |
virtual bool | canQueryClose ()=0 |
virtual void | setDefaultTransport (const QString &transport)=0 |
virtual int | timeOfLastMessageCountChange () const =0 |
virtual void | pauseBackgroundJobs ()=0 |
virtual void | resumeBackgroundJobs ()=0 |
virtual void | stopNetworkJobs ()=0 |
virtual void | resumeNetworkJobs ()=0 |
void | unreadCountChanged (const QString &folderURL, int numUnread) |
virtual bool | showMail (Q_UINT32 serialNumber, QString messageId)=0 |
virtual bool | handleCommandLine (bool noArgsOpensReader)=0 |
virtual bool | firstStart ()=0 |
virtual QString | getFrom (Q_UINT32 serialNumber)=0 |
virtual QString | debugScheduler ()=0 |
virtual QString | debugSernum (Q_UINT32 serialNumber)=0 |
virtual int | dcopAddMessage_fastImport (const QString &foldername, const QString &messagefile, const QString &MsgStatusFlags=QString())=0 |
virtual int | dcopAddMessage_fastImport (const QString &foldername, const KURL &messagefile, const QString &MsgStatusFlags=QString())=0 |
virtual void | dcopResetAddMessage ()=0 |
Public Attributes | |
k_dcop_signals | __pad0__: void unreadCountChanged() |
k_dcop_hidden | __pad1__: virtual DCOPRef newMessage(const QString &to |
k_dcop_hidden const QString & | cc |
k_dcop_hidden const QString const QString & | bcc |
k_dcop_hidden const QString const QString bool | hidden |
k_dcop_hidden const QString const QString bool bool | useFolderId |
k_dcop_hidden const QString const QString bool bool const KURL & | messageFile |
k_dcop_hidden const QString const QString bool bool const KURL const KURL & | attachURL = 0 |
Member Function Documentation
|
Implemented in KMKernel. |
|
Does essentially the same as dcopAddMessage except that it doesn't reject duplicate messages.
Implemented in KMKernel. |
|
Clears the list of added message ids which is used to filter out duplicates.
Implemented in KMKernel. |
|
DCOP-enabled for use in kaddressbook drop.
Implemented in KMKernel. |
|
DCOP-enabled for KMailUniqueAppHandler in the kontact plugin.
Implemented in KMKernel. |
|
Open composer and return reference to DCOP interface of composer window. If hidden is true, the window will not be shown. If you use that option, it's your responsibility to call the send() function of the composer in order to actually send the mail. Implemented in KMKernel. |
|
Abort any running compaction/expiry, and don't launch any new ones until resumeBackgroundJobs() is called.
Implemented in KMKernel. |
|
Resume compaction/expiry, and allow launching new ones.
Implemented in KMKernel. |
|
Resume all network related jobs and enter online mode.
Implemented in KMKernel. |
|
Send a certificate request to the CA specified in to. The certificate is stored in the byte array certData. It needs to stored according to BER and PKCS#10. This method will set content type encoding, mime types, etc. as per the MailTT specification. Implemented in KMKernel. |
|
Set the KMail Default transport.
Implemented in KMKernel. |
|
Shows the specified message in a separate message window.
Implemented in KMKernel. |
|
Stop all network related jobs and enter offline mode.
Implemented in KMKernel. |
The documentation for this class was generated from the following files: