summaryrefslogtreecommitdiffstats
path: root/kmail/interfaces/bodypart.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 /kmail/interfaces/bodypart.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 'kmail/interfaces/bodypart.h')
-rw-r--r--kmail/interfaces/bodypart.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/interfaces/bodypart.h b/kmail/interfaces/bodypart.h
index 0a69dd0c5..e38296a56 100644
--- a/kmail/interfaces/bodypart.h
+++ b/kmail/interfaces/bodypart.h
@@ -35,7 +35,7 @@
#define __KMAIL_INTERFACES_BODYPART_H__
template <typename T> class QMemArray;
-typedef QMemArray<char> QByteArray;
+typedef TQMemArray<char> QByteArray;
class QString;
namespace KMail {
@@ -79,24 +79,24 @@ namespace KMail {
@return a string respresentation of an URL that can be used
to invoke a BodyPartURLHandler for this body part.
*/
- virtual QString makeLink( const QString & path ) const = 0;
+ virtual TQString makeLink( const TQString & path ) const = 0;
/**
@return the decoded (CTE, canonicalisation, and charset
encoding undone) text contained in the body part, or
- QString::null, it the body part is not of type "text".
+ TQString::null, it the body part is not of type "text".
*/
- virtual QString asText() const = 0;
+ virtual TQString asText() const = 0;
/**
@return the decoded (CTE undone) content of the body part, or
a null array if this body part instance is of type text.
*/
- virtual QByteArray asBinary() const = 0;
+ virtual TQByteArray asBinary() const = 0;
/**
@return the value of the content-type header field parameter
- with name \a parameter, or QString::null, if that that
+ with name \a parameter, or TQString::null, if that that
parameter is not present in the body's content-type header
field. RFC 2231 encoding is removed first.
@@ -110,26 +110,26 @@ namespace KMail {
parameter), you need to make sure you do the casemap yourself
before comparing to a reference value.
*/
- virtual QString contentTypeParameter( const char * parameter ) const = 0;
+ virtual TQString contentTypeParameter( const char * parameter ) const = 0;
/**
@return the content of the content-description header field,
- or QString::null if that header is not present in this body
+ or TQString::null if that header is not present in this body
part. RFC 2047 encoding is decoded first.
*/
- virtual QString contentDescription() const = 0;
+ virtual TQString contentDescription() const = 0;
//virtual int contentDisposition() const = 0;
/**
@return the value of the content-disposition header field
- parameter with name \a parameter, or QString::null if that
+ parameter with name \a parameter, or TQString::null if that
parameter is not present in the body's content-disposition
header field. RFC 2231 encoding is removed first.
The notes made for contentTypeParameter() above apply here as
well.
*/
- virtual QString contentDispositionParameter( const char * parameter ) const = 0;
+ virtual TQString contentDispositionParameter( const char * parameter ) const = 0;
/**
@return whether this part already has it's complete body