summaryrefslogtreecommitdiffstats
path: root/kioslaves/imap4/mailheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/imap4/mailheader.h')
-rw-r--r--kioslaves/imap4/mailheader.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kioslaves/imap4/mailheader.h b/kioslaves/imap4/mailheader.h
index 0586b3a0c..633d61b78 100644
--- a/kioslaves/imap4/mailheader.h
+++ b/kioslaves/imap4/mailheader.h
@@ -66,29 +66,29 @@ public:
replytoAdr = _adr;
}
- const QCString& getMessageId ()
+ const TQCString& getMessageId ()
{
return messageID;
}
- void setMessageId (const QCString & _str)
+ void setMessageId (const TQCString & _str)
{
messageID = _str;
}
- const QCString& getInReplyTo ()
+ const TQCString& getInReplyTo ()
{
return inReplyTo;
}
- void setInReplyTo (const QCString & _str)
+ void setInReplyTo (const TQCString & _str)
{
inReplyTo = _str;
}
- const QCString& getReferences ()
+ const TQCString& getReferences ()
{
return references;
}
- void setReferences (const QCString & _str)
+ void setReferences (const TQCString & _str)
{
references = _str;
}
@@ -96,14 +96,14 @@ public:
/**
* set a unicode subject
*/
- void setSubject (const QString & _str)
+ void setSubject (const TQString & _str)
{
_subject = rfcDecoder::encodeRFC2047String(_str).latin1();
}
/**
* set a encoded subject
*/
- void setSubjectEncoded (const QCString & _str)
+ void setSubjectEncoded (const TQCString & _str)
{
_subject = _str.simplifyWhiteSpace();
}
@@ -111,14 +111,14 @@ public:
/**
* get the unicode subject
*/
- const QString getSubject ()
+ const TQString getSubject ()
{
return rfcDecoder::decodeRFC2047String(_subject);
}
/**
* get the encoded subject
*/
- const QCString& getSubjectEncoded ()
+ const TQCString& getSubjectEncoded ()
{
return _subject;
}
@@ -126,7 +126,7 @@ public:
/**
* set the date
*/
- void setDate (const QCString & _str)
+ void setDate (const TQCString & _str)
{
mDate = _str;
}
@@ -134,27 +134,27 @@ public:
/**
* get the date
*/
- const QCString& date ()
+ const TQCString& date ()
{
return mDate;
}
- static int parseAddressList (const char *, QPtrList < mailAddress > *);
- static QCString getAddressStr (QPtrList < mailAddress > *);
- QPtrList < mailAddress > &to ()
+ static int parseAddressList (const char *, TQPtrList < mailAddress > *);
+ static TQCString getAddressStr (TQPtrList < mailAddress > *);
+ TQPtrList < mailAddress > &to ()
{
return toAdr;
}
- QPtrList < mailAddress > &cc ()
+ TQPtrList < mailAddress > &cc ()
{
return ccAdr;
}
- QPtrList < mailAddress > &bcc ()
+ TQPtrList < mailAddress > &bcc ()
{
return bccAdr;
}
#ifdef KMAIL_COMPATIBLE
- QString subject ()
+ TQString subject ()
{
return getSubject ();
}
@@ -172,19 +172,19 @@ public:
#endif
private:
- QPtrList < mailAddress > toAdr;
- QPtrList < mailAddress > ccAdr;
- QPtrList < mailAddress > bccAdr;
+ TQPtrList < mailAddress > toAdr;
+ TQPtrList < mailAddress > ccAdr;
+ TQPtrList < mailAddress > bccAdr;
mailAddress fromAdr;
mailAddress senderAdr;
mailAddress returnpathAdr;
mailAddress replytoAdr;
- QCString _subject;
- QCString mDate;
+ TQCString _subject;
+ TQCString mDate;
int gmt_offset;
- QCString messageID;
- QCString inReplyTo;
- QCString references;
+ TQCString messageID;
+ TQCString inReplyTo;
+ TQCString references;
};
#endif