From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmmsgpart.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmail/kmmsgpart.h') diff --git a/kmail/kmmsgpart.h b/kmail/kmmsgpart.h index 85906af5f..8ab55358d 100644 --- a/kmail/kmmsgpart.h +++ b/kmail/kmmsgpart.h @@ -63,12 +63,12 @@ public: TQString bodyToUnicode(const TQTextCodec* codec=0) const; /** Returns body as decoded string. Assumes that content-transfer-encoding - tqcontains the correct encoding. This routine is meant for binary data. + contains the correct encoding. This routine is meant for binary data. No trailing 0 is appended. */ TQByteArray bodyDecodedBinary(void) const; /** Returns body as decoded string. Assumes that content-transfer-encoding - tqcontains the correct encoding. This routine is meant for text strings! */ + contains the correct encoding. This routine is meant for text strings! */ TQCString bodyDecoded(void) const; /** Sets body, encoded in the best fitting @@ -100,8 +100,8 @@ public: This one is for text strings, the trailing 0 is not used. For speed reasons, prefer setBodyEncodedBinary. - When possible (the TQCString isn't used afterwards), change setBodyEncoded(myQCString) into: - setBodyEncodedBinary(byteArrayFromQCStringNoDetach(myQCString)); + When possible (the TQCString isn't used afterwards), change setBodyEncoded(myTQCString) into: + setBodyEncodedBinary(byteArrayFromTQCStringNoDetach(myTQCString)); */ void setBodyEncoded(const TQCString& aStr); @@ -209,13 +209,13 @@ public: /** Sets the part number */ void setPartSpecifier( const TQString & part ) { mPartSpecifier = part; } - /** If this part is complete (tqcontains a body) */ + /** If this part is complete (contains a body) */ bool isComplete() { return (!mBody.isNull()); } - /** Returns the parent part */ - KMMessagePart* parent() { return mParent; } + /** Returns the tqparent part */ + KMMessagePart* tqparent() { return mParent; } - /** Set the parent of this part */ + /** Set the tqparent of this part */ void setParent( KMMessagePart* part ) { mParent = part; } /** Returns true if the headers should be loaded */ -- cgit v1.2.1