1 #ifndef _KMCONTROLIFACE 2 #define _KMCONTROLIFACE 5 #include <dcopobject.h> 8 #include <tqstringlist.h> 22 virtual void checkMail() = 0; 23 virtual TQStringList accounts() = 0; 24 virtual void checkAccount( const TQString &account) = 0; 25 virtual void openReader() = 0; 26 virtual int openComposer( const TQString &to, const TQString &cc, 27 const TQString &bcc, const TQString &subject, 28 const TQString &body, int hidden, 29 const KURL &messageFile) = 0; 30 virtual int openComposer( const TQString &to, const TQString &cc, 31 const TQString &bcc, const TQString &subject, 32 const TQString &body, int hidden, 33 const KURL &messageFile, 34 const KURL &attachURL) = 0; 35 virtual int openComposer( const TQString &to, const TQString &cc, 36 const TQString &bcc, const TQString &subject, 37 const TQString &body, int hidden, 38 const KURL &messageFile, 39 const KURL::List &attachURLs) = 0; 40 virtual int openComposer ( const TQString &to, const TQString &cc, 41 const TQString &bcc, const TQString &subject, 42 const TQString &body, int hidden, 43 const TQString &attachName, 44 const TQCString &attachCte, 45 const TQCString &attachData, 46 const TQCString &attachType, 47 const TQCString &attachSubType, 48 const TQCString &attachParamAttr, 49 const TQString &attachParamValue, 50 const TQCString &attachContDisp) = 0; 51 virtual int openComposer ( const TQString &to, const TQString &cc, 52 const TQString &bcc, const TQString &subject, 53 const TQString &body, int hidden, 54 const TQString &attachName, 55 const TQCString &attachCte, 56 const TQCString &attachData, 57 const TQCString &attachType, 58 const TQCString &attachSubType, 59 const TQCString &attachParamAttr, 60 const TQString &attachParamValue, 61 const TQCString &attachContDisp, 62 const TQCString &attachCharset) = 0; 63 virtual int openComposer ( const TQString &to, const TQString &cc, 64 const TQString &bcc, const TQString &subject, 65 const TQString &body, int hidden, 66 const TQString &attachName, 67 const TQCString &attachCte, 68 const TQCString &attachData, 69 const TQCString &attachType, 70 const TQCString &attachSubType, 71 const TQCString &attachParamAttr, 72 const TQString &attachParamValue, 73 const TQCString &attachContDisp, 74 const TQCString &attachCharset, 80 virtual DCOPRef openComposer( const TQString &to, const TQString &cc, 81 const TQString &bcc, const TQString &subject, 82 const TQString &body, bool hidden) = 0; 92 const TQByteArray& certData ) = 0; 95 virtual void compactAllFolders() = 0; 113 const TQString & messagefile, 114 const TQString & MsgStatusFlags = TQString()) = 0; 116 const KURL & messagefile, 117 const TQString & MsgStatusFlags = TQString()) = 0; 118 virtual void showImportArchiveDialog() = 0; 120 virtual TQStringList folderList() const =0; 121 virtual DCOPRef getFolder( const TQString& vpath ) =0; 122 virtual void selectFolder( TQString folder ) =0; 123 virtual bool canQueryClose() =0; 132 virtual int timeOfLastMessageCountChange() const =0; 156 void unreadCountChanged(); 158 void unreadCountChanged( const TQString& folderURL, int numUnread ); 166 virtual DCOPRef newMessage( const TQString &to, 171 const KURL &messageFile, 172 const KURL &attachURL) = 0; 179 virtual bool showMail( TQ_UINT32 serialNumber, TQString messageId ) = 0; 191 virtual bool firstStart() = 0; 196 virtual TQString getFrom( TQ_UINT32 serialNumber ) = 0; 197 virtual TQString debugScheduler() = 0; 198 virtual TQString debugSernum( TQ_UINT32 serialNumber ) = 0; 219 const TQString & messagefile, 220 const TQString & MsgStatusFlags = TQString()) = 0; 222 const KURL & messagefile, 223 const TQString & MsgStatusFlags = TQString()) = 0; 229 virtual void loadProfile( const TQString& path ) = 0; 230 virtual void saveToProfile( const TQString& path ) const = 0; virtual bool showMail(TQ_UINT32 serialNumber, TQString messageId)=0 Shows the specified message in a separate message window.
virtual void stopNetworkJobs()=0 Stop all network related jobs and enter offline mode.
virtual int sendCertificate(const TQString &to, const TQByteArray &certData)=0 Send a certificate request to the CA specified in to.
virtual int dcopAddMessage_fastImport(const TQString &foldername, const TQString &messagefile, const TQString &MsgStatusFlags=TQString())=0 Does essentially the same as dcopAddMessage except that it doesn't reject duplicate messages...
virtual void resumeBackgroundJobs()=0 Resume compaction/expiry, and allow launching new ones.
checkMail wont show reader but will check mail.
virtual void resumeNetworkJobs()=0 Resume all network related jobs and enter online mode.
virtual bool handleCommandLine(bool noArgsOpensReader)=0 DCOP-enabled for KMailUniqueAppHandler in the kontact plugin.
virtual int dcopAddMessage(const TQString &foldername, const TQString &messagefile, const TQString &MsgStatusFlags=TQString())=0
virtual void pauseBackgroundJobs()=0 Abort any running compaction/expiry, and don't launch any new ones until resumeBackgroundJobs() is ca...
virtual void dcopResetAddMessage()=0 Clears the list of added message ids which is used to filter out duplicates.
virtual TQString getFrom(TQ_UINT32 serialNumber)=0 DCOP-enabled for use in kaddressbook drop.
virtual void setDefaultTransport(const TQString &transport)=0 Set the KMail Default transport.
|