summaryrefslogtreecommitdiffstats
path: root/kmail/interfaces/bodypart.h
diff options
context:
space:
mode:
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