25 #include <tqstringlist.h>
28 class EmailAddressList;
29 namespace KPIM { class IdentityManager; }
30 namespace KMime { namespace Types { struct Address; } }
38 static bool send( const KAEvent&, TQStringList& errmsgs, bool allowNotify = true);
39 static int checkAddress(TQString& address);
40 static int checkAttachment(TQString& attachment, KURL* = 0);
41 static bool checkAttachment( const KURL&);
42 static TQString convertAddresses( const TQString& addresses, EmailAddressList&);
43 static TQString convertAttachments( const TQString& attachments, TQStringList& list);
44 static KPIM::IdentityManager* identityManager();
45 static bool identitiesExist();
46 static uint identityUoid( const TQString& identityUoidOrName);
47 static TQString controlCentreAddress();
48 static TQString getMailBody(TQ_UINT32 serialNumber);
49 static TQString i18n_NeedFromEmailAddress();
50 static TQString i18n_sent_mail();
53 static KPIM::IdentityManager* mIdentityManager;
54 static TQString sendKMail( const KAMailData&);
55 static TQString initHeaders( const KAMailData&, bool dateId);
56 static TQString appendBodyAttachments(TQString& message, const KAEvent&);
57 static TQString addToKMailFolder( const KAMailData&, const char* folder, bool checkKmailRunning);
58 static bool callKMail( const TQByteArray& callData, const TQCString& iface, const TQCString& function, const TQCString& funcType);
59 static TQString convertAddress(KMime::Types::Address, EmailAddressList&);
60 static void notifyQueued( const KAEvent&);
61 static char* base64Encode( const char* in, TQIODevice::Offset size, TQIODevice::Offset& outSize);
62 static TQStringList errors( const TQString& error = TQString(), bool sendfail = true);
KAEvent corresponds to a KCal::Event instance.
|