summaryrefslogtreecommitdiffstats
path: root/kalarm/kamail.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/kamail.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/kamail.h')
-rw-r--r--kalarm/kamail.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kalarm/kamail.h b/kalarm/kamail.h
index 86c0482a5..3ef561506 100644
--- a/kalarm/kamail.h
+++ b/kalarm/kamail.h
@@ -21,8 +21,8 @@
#ifndef KAMAIL_H
#define KAMAIL_H
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
class KURL;
class KAEvent;
class EmailAddressList;
@@ -35,31 +35,31 @@ struct KAMailData;
class KAMail
{
public:
- static bool send(const KAEvent&, QStringList& errmsgs, bool allowNotify = true);
- static int checkAddress(QString& address);
- static int checkAttachment(QString& attachment, KURL* = 0);
+ static bool send(const KAEvent&, TQStringList& errmsgs, bool allowNotify = true);
+ static int checkAddress(TQString& address);
+ static int checkAttachment(TQString& attachment, KURL* = 0);
static bool checkAttachment(const KURL&);
- static QString convertAddresses(const QString& addresses, EmailAddressList&);
- static QString convertAttachments(const QString& attachments, QStringList& list);
+ static TQString convertAddresses(const TQString& addresses, EmailAddressList&);
+ static TQString convertAttachments(const TQString& attachments, TQStringList& list);
static KPIM::IdentityManager* identityManager();
static bool identitiesExist();
- static uint identityUoid(const QString& identityUoidOrName);
- static QString controlCentreAddress();
- static QString getMailBody(Q_UINT32 serialNumber);
- static QString i18n_NeedFromEmailAddress();
- static QString i18n_sent_mail();
+ static uint identityUoid(const TQString& identityUoidOrName);
+ static TQString controlCentreAddress();
+ static TQString getMailBody(Q_UINT32 serialNumber);
+ static TQString i18n_NeedFromEmailAddress();
+ static TQString i18n_sent_mail();
private:
static KPIM::IdentityManager* mIdentityManager; // KMail identity manager
- static QString sendKMail(const KAMailData&);
- static QString initHeaders(const KAMailData&, bool dateId);
- static QString appendBodyAttachments(QString& message, const KAEvent&);
- static QString addToKMailFolder(const KAMailData&, const char* folder, bool checkKmailRunning);
- static bool callKMail(const QByteArray& callData, const QCString& iface, const QCString& function, const QCString& funcType);
- static QString convertAddress(KMime::Types::Address, EmailAddressList&);
+ static TQString sendKMail(const KAMailData&);
+ static TQString initHeaders(const KAMailData&, bool dateId);
+ static TQString appendBodyAttachments(TQString& message, const KAEvent&);
+ static TQString addToKMailFolder(const KAMailData&, const char* folder, bool checkKmailRunning);
+ static bool callKMail(const TQByteArray& callData, const TQCString& iface, const TQCString& function, const TQCString& funcType);
+ static TQString convertAddress(KMime::Types::Address, EmailAddressList&);
static void notifyQueued(const KAEvent&);
- static char* base64Encode(const char* in, QIODevice::Offset size, QIODevice::Offset& outSize);
- static QStringList errors(const QString& error = QString::null, bool sendfail = true);
+ static char* base64Encode(const char* in, TQIODevice::Offset size, TQIODevice::Offset& outSize);
+ static TQStringList errors(const TQString& error = TQString::null, bool sendfail = true);
};
#endif // KAMAIL_H